POST API/Login/UpdateLocation

Request Information

URI Parameters

None.

Body Parameters

UpdateLocationRequest
NameDescriptionTypeAdditional information
DeviceID

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

ValidationMessage

string

None.

ErrorCode

ErrorCodes

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceID": "sample string 1",
  "Latitude": 2.1,
  "Longitude": 3.1,
  "ValidationMessage": "sample string 4",
  "ErrorCode": 101
}

application/xml, text/xml

Sample:
<UpdateLocationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Budget_WebAPI.Models">
  <DeviceID>sample string 1</DeviceID>
  <Latitude>2.1</Latitude>
  <Longitude>3.1</Longitude>
</UpdateLocationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorCode

ErrorCodes

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorCode": 101,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Budget_WebAPI.Models">
  <ErrorCode>InvalidToken</ErrorCode>
  <Message>sample string 2</Message>
  <Success>true</Success>
</BaseResponse>