POST api/MultiSchedule/UpdateJobSchedule
Request Information
URI Parameters
None.
Body Parameters
UpdateJobScheduleModel| Name | Description | Type | Additional information |
|---|---|---|---|
| jobno | string |
None. |
|
| schedule_id | integer |
None. |
|
| completed_date | date |
None. |
|
| checkindate | date |
None. |
|
| checkoutdate | date |
None. |
|
| checkinlat | decimal number |
None. |
|
| checkinlng | decimal number |
None. |
|
| checkoutlat | decimal number |
None. |
|
| checkoutlng | decimal number |
None. |
|
| signimgData | string |
None. |
|
| jobimgData | string |
None. |
|
| mileimgData | string |
None. |
|
| tag_tail | string |
None. |
|
| mileage | decimal number |
None. |
|
| HHID_Name | string |
None. |
|
| HHID_License | string |
None. |
|
| HHID_DriverID | string |
None. |
|
| HHID_DriverName | string |
None. |
|
| HHID_VehicleType | string |
None. |
|
| expense_cost_list | Collection of ExpenseCostSaveList |
None. |
Request Formats
application/json, text/json
Sample:
{
"jobno": "sample string 1",
"schedule_id": 2,
"completed_date": "2025-10-27T17:34:56.5878909+07:00",
"checkindate": "2025-10-27T17:34:56.5878909+07:00",
"checkoutdate": "2025-10-27T17:34:56.5878909+07:00",
"checkinlat": 1.0,
"checkinlng": 1.0,
"checkoutlat": 1.0,
"checkoutlng": 1.0,
"signimgData": "sample string 3",
"jobimgData": "sample string 4",
"mileimgData": "sample string 5",
"tag_tail": "sample string 6",
"mileage": 1.1,
"HHID_Name": "sample string 7",
"HHID_License": "sample string 8",
"HHID_DriverID": "sample string 9",
"HHID_DriverName": "sample string 10",
"HHID_VehicleType": "sample string 11",
"expense_cost_list": [
{
"code": 1,
"expense_key": 1,
"description_th": "sample string 2",
"actual": 1.1,
"actualdate": "2025-10-27T17:34:56.5878909+07:00",
"expense_type": "sample string 3",
"photo": "sample string 4"
},
{
"code": 1,
"expense_key": 1,
"description_th": "sample string 2",
"actual": 1.1,
"actualdate": "2025-10-27T17:34:56.5878909+07:00",
"expense_type": "sample string 3",
"photo": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<UpdateJobScheduleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Android_API.Controllers">
<HHID_DriverID>sample string 9</HHID_DriverID>
<HHID_DriverName>sample string 10</HHID_DriverName>
<HHID_License>sample string 8</HHID_License>
<HHID_Name>sample string 7</HHID_Name>
<HHID_VehicleType>sample string 11</HHID_VehicleType>
<checkindate>2025-10-27T17:34:56.5878909+07:00</checkindate>
<checkinlat>1</checkinlat>
<checkinlng>1</checkinlng>
<checkoutdate>2025-10-27T17:34:56.5878909+07:00</checkoutdate>
<checkoutlat>1</checkoutlat>
<checkoutlng>1</checkoutlng>
<completed_date>2025-10-27T17:34:56.5878909+07:00</completed_date>
<expense_cost_list>
<ExpenseCostSaveList>
<actual>1.1</actual>
<actualdate>2025-10-27T17:34:56.5878909+07:00</actualdate>
<code>1</code>
<description_th>sample string 2</description_th>
<expense_key>1</expense_key>
<expense_type>sample string 3</expense_type>
<photo>sample string 4</photo>
</ExpenseCostSaveList>
<ExpenseCostSaveList>
<actual>1.1</actual>
<actualdate>2025-10-27T17:34:56.5878909+07:00</actualdate>
<code>1</code>
<description_th>sample string 2</description_th>
<expense_key>1</expense_key>
<expense_type>sample string 3</expense_type>
<photo>sample string 4</photo>
</ExpenseCostSaveList>
</expense_cost_list>
<jobimgData>sample string 4</jobimgData>
<jobno>sample string 1</jobno>
<mileage>1.1</mileage>
<mileimgData>sample string 5</mileimgData>
<schedule_id>2</schedule_id>
<signimgData>sample string 3</signimgData>
<tag_tail>sample string 6</tag_tail>
</UpdateJobScheduleModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultWithModel| Name | 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>