POST api/IMS/AddTransporterWithDriver
Request Information
URI Parameters
None.
Body Parameters
TransporterDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| warehouseId | integer |
None. |
|
| nextChallaneNo | integer |
None. |
|
| challanNumber | string |
None. |
|
| challanDate | date |
None. |
|
| challanType | integer |
None. |
|
| challanTypeId | integer |
None. |
|
| transporter | string |
None. |
|
| driverName | string |
None. |
|
| driverPhone | string |
None. |
|
| vehicleNumber | string |
None. |
|
| shipToPartyId | integer |
None. |
|
| transporterRemarks | string |
None. |
|
| challanAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"warehouseId": 1,
"nextChallaneNo": 2,
"challanNumber": "sample string 3",
"challanDate": "2025-12-28T05:14:45.412193+00:00",
"challanType": 5,
"challanTypeId": 6,
"transporter": "sample string 7",
"driverName": "sample string 8",
"driverPhone": "sample string 9",
"vehicleNumber": "sample string 10",
"shipToPartyId": 11,
"transporterRemarks": "sample string 12",
"challanAmount": 13.0
}
text/html
Sample:
{"warehouseId":1,"nextChallaneNo":2,"challanNumber":"sample string 3","challanDate":"2025-12-28T05:14:45.412193+00:00","challanType":5,"challanTypeId":6,"transporter":"sample string 7","driverName":"sample string 8","driverPhone":"sample string 9","vehicleNumber":"sample string 10","shipToPartyId":11,"transporterRemarks":"sample string 12","challanAmount":13.0}
application/xml, text/xml
Sample:
<TransporterDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models.IMS"> <challanAmount>13</challanAmount> <challanDate>2025-12-28T05:14:45.412193+00:00</challanDate> <challanNumber>sample string 3</challanNumber> <challanType>5</challanType> <challanTypeId>6</challanTypeId> <driverName>sample string 8</driverName> <driverPhone>sample string 9</driverPhone> <nextChallaneNo>2</nextChallaneNo> <shipToPartyId>11</shipToPartyId> <transporter>sample string 7</transporter> <transporterRemarks>sample string 12</transporterRemarks> <vehicleNumber>sample string 10</vehicleNumber> <warehouseId>1</warehouseId> </TransporterDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2025/12/28 05:14:45",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
text/html
Sample:
{"Version":"1.0.0","dateTime":"2025/12/28 05:14:45","StatusCode":1,"ErrorMessage":"sample string 2","Result":{}}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>