POST api/Courier/PausedJob

Request Information

URI Parameters

None.

Body Parameters

PausedJobModel
Name Description Type Additional information
SourceId

string

None.

DeviceId

string

None.

IsPaused

boolean

None.

Latitude

string

None.

Longitude

string

None.

TimeStamp

integer

None.

ServiceProviderId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SourceId": "sample string 1",
  "DeviceId": "sample string 2",
  "IsPaused": true,
  "Latitude": "sample string 4",
  "Longitude": "sample string 5",
  "TimeStamp": 6,
  "ServiceProviderId": 7
}

text/html

Sample:
{"SourceId":"sample string 1","DeviceId":"sample string 2","IsPaused":true,"Latitude":"sample string 4","Longitude":"sample string 5","TimeStamp":6,"ServiceProviderId":7}

application/xml, text/xml

Sample:
<PausedJobModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.Job">
  <DeviceId>sample string 2</DeviceId>
  <IsPaused>true</IsPaused>
  <Latitude>sample string 4</Latitude>
  <Longitude>sample string 5</Longitude>
  <ServiceProviderId>7</ServiceProviderId>
  <SourceId>sample string 1</SourceId>
  <TimeStamp>6</TimeStamp>
</PausedJobModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.