POST api/SimulatedChallenges/CreateSimulatedChallengeData

Request Information

URI Parameters

None.

Body Parameters

SimulatedChallengeDataModel
NameDescriptionTypeAdditional information
Id

integer

None.

ChallengeId

integer

None.

ChallengeName

string

None.

UserId

integer

None.

StatusId

integer

None.

StatusName

string

None.

Distance

decimal number

None.

Elevation

decimal number

None.

CompletionPercent

decimal number

None.

Rank

integer

None.

CurrentLegId

integer

None.

CurrentLocation

string

None.

CurrentLocLat

decimal number

None.

CurrentLocLng

decimal number

None.

GoalReached

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ChallengeId": 2,
  "ChallengeName": "sample string 3",
  "UserId": 4,
  "StatusId": 5,
  "StatusName": "sample string 6",
  "Distance": 7.1,
  "Elevation": 8.1,
  "CompletionPercent": 1.0,
  "Rank": 1,
  "CurrentLegId": 1,
  "CurrentLocation": "sample string 9",
  "CurrentLocLat": 1.0,
  "CurrentLocLng": 1.0,
  "GoalReached": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.