POST api/insertVehicle

Request Information

URI Parameters

None.

Body Parameters

VehicleMasterRequest
NameDescriptionTypeAdditional information
VehicleNo

string

None.

DriverName

string

None.

DriverNo

integer

None.

DepotCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "VehicleNo": "sample string 1",
  "DriverName": "sample string 2",
  "DriverNo": 3,
  "DepotCode": 4
}

application/xml, text/xml

Sample:
<DepotManagementController.VehicleMasterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DepotManagement.Controllers">
  <DepotCode>4</DepotCode>
  <DriverName>sample string 2</DriverName>
  <DriverNo>3</DriverNo>
  <VehicleNo>sample string 1</VehicleNo>
</DepotManagementController.VehicleMasterRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.