POST api/MultiSchedule/UpdateJobScheduleFuel
Request Information
URI Parameters
None.
Body Parameters
UpdateJobScheduleFuelModelName | Description | Type | Additional information |
---|---|---|---|
jobno | string |
None. |
|
schedule_id | integer |
None. |
|
mileage | decimal number |
None. |
|
jobtypefuel_id | integer |
None. |
|
vehicletype | string |
None. |
|
fuel_amount | decimal number |
None. |
|
fuel_price | decimal number |
None. |
|
fuel_remark | string |
None. |
|
image1data | string |
None. |
|
image2data | string |
None. |
|
fuel_date | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "jobno": "sample string 1", "schedule_id": 1, "mileage": 1.1, "jobtypefuel_id": 1, "vehicletype": "sample string 2", "fuel_amount": 1.1, "fuel_price": 1.1, "fuel_remark": "sample string 3", "image1data": "sample string 4", "image2data": "sample string 5", "fuel_date": "2025-05-19T19:07:46.6681511+07:00" }
application/xml, text/xml
Sample:
<UpdateJobScheduleFuelModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Android_API.Controllers"> <fuel_amount>1.1</fuel_amount> <fuel_date>2025-05-19T19:07:46.6681511+07:00</fuel_date> <fuel_price>1.1</fuel_price> <fuel_remark>sample string 3</fuel_remark> <image1data>sample string 4</image1data> <image2data>sample string 5</image2data> <jobno>sample string 1</jobno> <jobtypefuel_id>1</jobtypefuel_id> <mileage>1.1</mileage> <schedule_id>1</schedule_id> <vehicletype>sample string 2</vehicletype> </UpdateJobScheduleFuelModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultWithModelName | Description | Type | Additional information |
---|---|---|---|
success | boolean |
None. |
|
message | string |
None. |
|
refcode | string |
None. |
|
total | integer |
None. |
|
datas | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "message": "sample string 2", "refcode": "sample string 3", "total": 4, "datas": {} }
application/xml, text/xml
Sample:
<ResultWithModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Android_API.Models"> <datas /> <message>sample string 2</message> <refcode>sample string 3</refcode> <success>true</success> <total>4</total> </ResultWithModel>