POST Agent/PostAgentLocation

Request Information

URI Parameters

None.

Body Parameters

AgentTracking
NameDescriptionTypeAdditional information
id

integer

None.

agentid

integer

None.

coordinates

Collection of byte

None.

timing

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "agentid": 1,
  "coordinates": "QEA=",
  "timing": "2025-11-21T16:49:59.1201063-08:00"
}

application/xml, text/xml

Sample:
<AgentTracking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/projectalminha.Models">
  <agentid>1</agentid>
  <coordinates>QEA=</coordinates>
  <id>1</id>
  <timing>2025-11-21T16:49:59.1201063-08:00</timing>
</AgentTracking>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AgentTracking'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.