POST GetOrder/CreateBooking
Request Information
URI Parameters
None.
Body Parameters
OrderBookingCreateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Date | string |
None. |
|
| Time | string |
None. |
|
| FromStationID | decimal number |
None. |
|
| ToStationID | decimal number |
None. |
|
| VehicleTypeId | decimal number |
None. |
|
| Requirement | string |
None. |
|
| ShipmentType | string |
None. |
|
| VehicleReqstType | string |
None. |
|
| SpotContractRate | string |
None. |
|
| SpotContractFile | Collection of byte |
None. |
|
| SpotContractFileContentType | string |
None. |
|
| ConsignorId | decimal number |
None. |
|
| ConsignorPhone | string |
None. |
|
| ConsignorAddress | string |
None. |
|
| ConsignorContactPerson | string |
None. |
|
| Notes | string |
None. |
|
| ConsigneeId | decimal number |
None. |
|
| ConsigneePhone | string |
None. |
|
| ConsigneeAddress | string |
None. |
|
| ConsigneeContactPerson | string |
None. |
|
| RequestForDate | date |
None. |
|
| eComTripHours | decimal number |
None. |
|
| eComBookingID | string |
None. |
|
| TransporterId | integer |
None. |
|
| TwoWay | integer |
None. |
|
| TwoWayType | integer |
None. |
|
| ConsignorIdR | string |
None. |
|
| ConsignorNameR | string |
None. |
|
| ConsigneeIdR | string |
None. |
|
| ConsigneeNameR | string |
None. |
|
| BookingIdR | string |
None. |
|
| eComTripHoursR | decimal number |
None. |
|
| ContractRateR | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Date": "sample string 1",
"Time": "sample string 2",
"FromStationID": 3.0,
"ToStationID": 4.0,
"VehicleTypeId": 5.0,
"Requirement": "sample string 6",
"ShipmentType": "sample string 7",
"VehicleReqstType": "sample string 8",
"SpotContractRate": "sample string 9",
"SpotContractFile": "QEA=",
"SpotContractFileContentType": "sample string 10",
"ConsignorId": 11.0,
"ConsignorPhone": "sample string 12",
"ConsignorAddress": "sample string 13",
"ConsignorContactPerson": "sample string 14",
"Notes": "sample string 15",
"ConsigneeId": 16.0,
"ConsigneePhone": "sample string 17",
"ConsigneeAddress": "sample string 18",
"ConsigneeContactPerson": "sample string 19",
"RequestForDate": "2026-02-24T01:10:09.7439598+05:30",
"eComTripHours": 21.0,
"eComBookingID": "sample string 22",
"TransporterId": 1,
"TwoWay": 1,
"TwoWayType": 1,
"ConsignorIdR": "sample string 23",
"ConsignorNameR": "sample string 24",
"ConsigneeIdR": "sample string 25",
"ConsigneeNameR": "sample string 26",
"BookingIdR": "sample string 27",
"eComTripHoursR": 1.0,
"ContractRateR": 1.0
}
application/xml, text/xml
Sample:
<OrderBookingCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppAPISambhav.Models"> <BookingIdR>sample string 27</BookingIdR> <ConsigneeAddress>sample string 18</ConsigneeAddress> <ConsigneeContactPerson>sample string 19</ConsigneeContactPerson> <ConsigneeId>16</ConsigneeId> <ConsigneeIdR>sample string 25</ConsigneeIdR> <ConsigneeNameR>sample string 26</ConsigneeNameR> <ConsigneePhone>sample string 17</ConsigneePhone> <ConsignorAddress>sample string 13</ConsignorAddress> <ConsignorContactPerson>sample string 14</ConsignorContactPerson> <ConsignorId>11</ConsignorId> <ConsignorIdR>sample string 23</ConsignorIdR> <ConsignorNameR>sample string 24</ConsignorNameR> <ConsignorPhone>sample string 12</ConsignorPhone> <ContractRateR>1</ContractRateR> <Date>sample string 1</Date> <FromStationID>3</FromStationID> <Notes>sample string 15</Notes> <RequestForDate>2026-02-24T01:10:09.7439598+05:30</RequestForDate> <Requirement>sample string 6</Requirement> <ShipmentType>sample string 7</ShipmentType> <SpotContractFile>QEA=</SpotContractFile> <SpotContractFileContentType>sample string 10</SpotContractFileContentType> <SpotContractRate>sample string 9</SpotContractRate> <Time>sample string 2</Time> <ToStationID>4</ToStationID> <TransporterId>1</TransporterId> <TwoWay>1</TwoWay> <TwoWayType>1</TwoWayType> <VehicleReqstType>sample string 8</VehicleReqstType> <VehicleTypeId>5</VehicleTypeId> <eComBookingID>sample string 22</eComBookingID> <eComTripHours>21</eComTripHours> <eComTripHoursR>1</eComTripHoursR> </OrderBookingCreateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |