POST api/Agent/InsertAgentUpdatedLocation

Request Information

URI Parameters

None.

Body Parameters

UpdateAgentLocationModel
NameDescriptionTypeAdditional information
UserID

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

lastInsertedTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Latitude": 2.1,
  "Longitude": 3.1,
  "lastInsertedTime": "2019-12-10T05:47:24.3337601-05:00"
}

text/html

Sample:
{"UserID":1,"Latitude":2.1,"Longitude":3.1,"lastInsertedTime":"2019-12-10T05:47:24.3337601-05:00"}

application/xml, text/xml

Sample:
<UpdateAgentLocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BHL.Models">
  <Latitude>2.1</Latitude>
  <Longitude>3.1</Longitude>
  <UserID>1</UserID>
  <lastInsertedTime>2019-12-10T05:47:24.3337601-05:00</lastInsertedTime>
</UpdateAgentLocationModel>

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.