POST api/SpeedingStopping/SaveAgentStopDetails

Request Information

URI Parameters

None.

Body Parameters

AgentStoppingModel
NameDescriptionTypeAdditional information
JobID

integer

None.

AgentId

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "JobID": 1,
  "AgentId": 2,
  "Latitude": 1.0,
  "Longitude": 1.0
}

text/html

Sample:
{"JobID":1,"AgentId":2,"Latitude":1.0,"Longitude":1.0}

application/xml, text/xml

Sample:
<AgentStoppingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BHL.Models">
  <AgentId>2</AgentId>
  <JobID>1</JobID>
  <Latitude>1</Latitude>
  <Longitude>1</Longitude>
</AgentStoppingModel>

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.