POST api/tbl_TruckType

Request Information

URI Parameters

None.

Body Parameters

tbl_TruckType
NameDescriptionTypeAdditional information
ID

integer

None.

vehicleTypeName

string

None.

vehicleTypeCode

integer

None.

maxWeight

integer

None.

minWeight

integer

None.

FareGroup

integer

None.

LoaderLinkType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "vehicleTypeName": "sample string 2",
  "vehicleTypeCode": 1,
  "maxWeight": 1,
  "minWeight": 1,
  "FareGroup": 1,
  "LoaderLinkType": "sample string 3"
}

text/html

Sample:
{"ID":1,"vehicleTypeName":"sample string 2","vehicleTypeCode":1,"maxWeight":1,"minWeight":1,"FareGroup":1,"LoaderLinkType":"sample string 3"}

application/xml, text/xml

Sample:
<tbl_TruckType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnjomanServices.Models">
  <FareGroup>1</FareGroup>
  <ID>1</ID>
  <LoaderLinkType>sample string 3</LoaderLinkType>
  <maxWeight>1</maxWeight>
  <minWeight>1</minWeight>
  <vehicleTypeCode>1</vehicleTypeCode>
  <vehicleTypeName>sample string 2</vehicleTypeName>
</tbl_TruckType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

tbl_TruckType
NameDescriptionTypeAdditional information
ID

integer

None.

vehicleTypeName

string

None.

vehicleTypeCode

integer

None.

maxWeight

integer

None.

minWeight

integer

None.

FareGroup

integer

None.

LoaderLinkType

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "vehicleTypeName": "sample string 2",
  "vehicleTypeCode": 1,
  "maxWeight": 1,
  "minWeight": 1,
  "FareGroup": 1,
  "LoaderLinkType": "sample string 3"
}

text/html

Sample:
{"ID":1,"vehicleTypeName":"sample string 2","vehicleTypeCode":1,"maxWeight":1,"minWeight":1,"FareGroup":1,"LoaderLinkType":"sample string 3"}

application/xml, text/xml

Sample:
<tbl_TruckType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnjomanServices.Models">
  <FareGroup>1</FareGroup>
  <ID>1</ID>
  <LoaderLinkType>sample string 3</LoaderLinkType>
  <maxWeight>1</maxWeight>
  <minWeight>1</minWeight>
  <vehicleTypeCode>1</vehicleTypeCode>
  <vehicleTypeName>sample string 2</vehicleTypeName>
</tbl_TruckType>