POST api/Driver/InsertOrUpdateTravelLogBunkDetails
Request Information
URI Parameters
None.
Body Parameters
Bunklog| Name | Description | Type | Additional information |
|---|---|---|---|
| TravelId | string |
None. |
|
| BunkName | string |
None. |
|
| Location | string |
None. |
|
| Totalliters | decimal number |
None. |
|
| Amount | decimal number |
None. |
|
| BunkName_2 | string |
None. |
|
| Location_2 | string |
None. |
|
| Totalliters_2 | decimal number |
None. |
|
| Amount_2 | decimal number |
None. |
|
| BunkName_3 | string |
None. |
|
| Location_3 | string |
None. |
|
| Totalliters_3 | decimal number |
None. |
|
| Amount_3 | decimal number |
None. |
|
| BillImage | string |
None. |
|
| Createduser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TravelId": "sample string 1",
"BunkName": "sample string 2",
"Location": "sample string 3",
"Totalliters": 4.0,
"Amount": 5.0,
"BunkName_2": "sample string 6",
"Location_2": "sample string 7",
"Totalliters_2": 1.0,
"Amount_2": 1.0,
"BunkName_3": "sample string 8",
"Location_3": "sample string 9",
"Totalliters_3": 1.0,
"Amount_3": 1.0,
"BillImage": "sample string 10",
"Createduser": "sample string 11"
}
application/xml, text/xml
Sample:
<Bunklog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusApi.Models"> <Amount>5</Amount> <Amount_2>1</Amount_2> <Amount_3>1</Amount_3> <BillImage>sample string 10</BillImage> <BunkName>sample string 2</BunkName> <BunkName_2>sample string 6</BunkName_2> <BunkName_3>sample string 8</BunkName_3> <Createduser>sample string 11</Createduser> <Location>sample string 3</Location> <Location_2>sample string 7</Location_2> <Location_3>sample string 9</Location_3> <Totalliters>4</Totalliters> <Totalliters_2>1</Totalliters_2> <Totalliters_3>1</Totalliters_3> <TravelId>sample string 1</TravelId> </Bunklog>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.