POST api/Inventory

Request Information

URI Parameters

None.

Body Parameters

DriverInventoryPost
NameDescriptionTypeAdditional information
APIKey

string

None.

TabletID

string

None.

DriverID

integer

None.

DriverNumber

string

None.

DriverName

string

None.

VehicleID

integer

None.

VehicleNumber

string

None.

InventoryID

string

None.

InventoryItemType

integer

None.

AddRemove

string

None.

LinkID

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",
  "InventoryID": "sample string 8",
  "InventoryItemType": 9,
  "AddRemove": "sample string 10",
  "LinkID": "sample string 11"
}

application/xml, text/xml

Sample:
<InventoryModel.DriverInventoryPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models">
  <APIKey>sample string 1</APIKey>
  <AddRemove>sample string 10</AddRemove>
  <DriverID>3</DriverID>
  <DriverName>sample string 5</DriverName>
  <DriverNumber>sample string 4</DriverNumber>
  <InventoryID>sample string 8</InventoryID>
  <InventoryItemType>9</InventoryItemType>
  <LinkID>sample string 11</LinkID>
  <TabletID>sample string 2</TabletID>
  <VehicleID>6</VehicleID>
  <VehicleNumber>sample string 7</VehicleNumber>
</InventoryModel.DriverInventoryPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DriverInventoryReturn
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

InventoryReturn

integer

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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