POST api/LPG_SAP_TRIP_Old
Request Information
URI Parameters
None.
Body Parameters
RequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Consigner | string |
None. |
|
| Consignee | string |
None. |
|
| VehicleNumber | string |
None. |
|
| RouteId | string |
None. |
|
| Origin | string |
None. |
|
| Destination | string |
None. |
|
| VehicleDispatchDateTime | string |
None. |
|
| MaterialCode | string |
None. |
|
| Material | string |
None. |
|
| InvoiceNo | string |
None. |
|
| Quantity | string |
None. |
|
| Rtkm | decimal number |
None. |
|
| VehicleType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Consigner": "sample string 1",
"Consignee": "sample string 2",
"VehicleNumber": "sample string 3",
"RouteId": "sample string 4",
"Origin": "sample string 5",
"Destination": "sample string 6",
"VehicleDispatchDateTime": "sample string 7",
"MaterialCode": "sample string 8",
"Material": "sample string 9",
"InvoiceNo": "sample string 10",
"Quantity": "sample string 11",
"Rtkm": 12.1,
"VehicleType": "sample string 13"
}
application/xml, text/xml
Sample:
<RequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BPCL_LPG_SAP_TRIP_API.Models"> <Consignee>sample string 2</Consignee> <Consigner>sample string 1</Consigner> <Destination>sample string 6</Destination> <InvoiceNo>sample string 10</InvoiceNo> <Material>sample string 9</Material> <MaterialCode>sample string 8</MaterialCode> <Origin>sample string 5</Origin> <Quantity>sample string 11</Quantity> <RouteId>sample string 4</RouteId> <Rtkm>12.1</Rtkm> <VehicleDispatchDateTime>sample string 7</VehicleDispatchDateTime> <VehicleNumber>sample string 3</VehicleNumber> <VehicleType>sample string 13</VehicleType> </RequestModel>
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. |