POST api/Status/PostRequest

Request Information

URI Parameters

None.

Body Parameters

PostRequest
NameDescriptionTypeAdditional information
APIKey

string

None.

TabletID

string

None.

DriverID

integer

None.

DriverNumber

string

None.

DriverName

string

None.

VehicleID

integer

None.

VehicleNumber

string

None.

TabletVersion

string

None.

WhatRequest

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

ScheduleID

integer

None.

LinkID

string

None.

RequestType

string

None.

RequestComment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "APIKey": "sample string 1",
  "TabletID": "sample string 2",
  "DriverID": 3,
  "DriverNumber": "sample string 4",
  "DriverName": "sample string 5",
  "VehicleID": 6,
  "VehicleNumber": "sample string 7",
  "TabletVersion": "sample string 8",
  "WhatRequest": 9,
  "Latitude": 10.1,
  "Longitude": 11.1,
  "ScheduleID": 12,
  "LinkID": "sample string 13",
  "RequestType": "sample string 14",
  "RequestComment": "sample string 15"
}

application/xml, text/xml

Sample:
<StatusModel.PostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models">
  <APIKey>sample string 1</APIKey>
  <DriverID>3</DriverID>
  <DriverName>sample string 5</DriverName>
  <DriverNumber>sample string 4</DriverNumber>
  <Latitude>10.1</Latitude>
  <LinkID>sample string 13</LinkID>
  <Longitude>11.1</Longitude>
  <RequestComment>sample string 15</RequestComment>
  <RequestType>sample string 14</RequestType>
  <ScheduleID>12</ScheduleID>
  <TabletID>sample string 2</TabletID>
  <TabletVersion>sample string 8</TabletVersion>
  <VehicleID>6</VehicleID>
  <VehicleNumber>sample string 7</VehicleNumber>
  <WhatRequest>9</WhatRequest>
</StatusModel.PostRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PostRequestReturn
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

StatusChange

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "StatusChange": 3
}

application/xml, text/xml

Sample:
<StatusModel.PostRequestReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models">
  <StatusChange>3</StatusChange>
  <message>sample string 2</message>
  <status>true</status>
</StatusModel.PostRequestReturn>