POST staff/services/edit
Request Information
URI Parameters
None.
Body Parameters
Request_Services_CU| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| receipt_date | date |
Required |
|
| services_type_id | integer |
Required |
|
| services_type_name | string |
Required |
|
| id_vehicle | integer |
Required |
|
| services_times | integer |
Required |
|
| wage_money | decimal number |
Required |
|
| num_km | integer |
Required |
|
| num_minute | integer |
Required |
|
| contact_name | string |
Required |
|
| contact_phone | string |
Required |
|
| current_status | string |
Required |
|
| customer_request | string |
Required |
|
| repair_content | string |
Required |
|
| license_plate | string |
Required |
|
| processing_date | date |
Required |
|
| finished_date | date |
Required |
|
| wage_dis | decimal number |
Required |
|
| wage_money_dis | decimal number |
Required |
|
| total_wage | decimal number |
Required |
|
| is_heavy_fixed | boolean |
Required |
|
| id_staff_repair | integer |
Required |
|
| staff_code_repair | string |
Required |
|
| staff_name_repair | string |
Required |
|
| id_staff_leader | integer |
Required |
|
| staff_code_leader | string |
Required |
|
| staff_name_leader | string |
Required |
|
| id_staff_checked | integer |
Required |
|
| staff_code_checked | string |
Required |
|
| staff_name_checked | string |
Required |
|
| is_recept | boolean |
Required |
|
| token | string |
Required |
|
| secret_key | string |
Required |
|
| id_staff_action | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"receipt_date": "2026-01-22T12:23:57.8870777+07:00",
"services_type_id": 2,
"services_type_name": "sample string 3",
"id_vehicle": 4,
"services_times": 5,
"wage_money": 6.0,
"num_km": 7,
"num_minute": 8,
"contact_name": "sample string 9",
"contact_phone": "sample string 10",
"current_status": "sample string 11",
"customer_request": "sample string 12",
"repair_content": "sample string 13",
"license_plate": "sample string 14",
"processing_date": "2026-01-22T12:23:57.8870777+07:00",
"finished_date": "2026-01-22T12:23:57.8870777+07:00",
"wage_dis": 15.0,
"wage_money_dis": 16.0,
"total_wage": 17.0,
"is_heavy_fixed": true,
"id_staff_repair": 19,
"staff_code_repair": "sample string 20",
"staff_name_repair": "sample string 21",
"id_staff_leader": 22,
"staff_code_leader": "sample string 23",
"staff_name_leader": "sample string 24",
"id_staff_checked": 25,
"staff_code_checked": "sample string 26",
"staff_name_checked": "sample string 27",
"is_recept": true,
"token": "sample string 29",
"secret_key": "sample string 30",
"id_staff_action": 31
}
application/xml, text/xml
Sample:
<Request_Services_CU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code.Directory.Models.Services.Request"> <id_staff_action xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">31</id_staff_action> <secret_key xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">sample string 30</secret_key> <token xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">sample string 29</token> <contact_name>sample string 9</contact_name> <contact_phone>sample string 10</contact_phone> <current_status>sample string 11</current_status> <customer_request>sample string 12</customer_request> <finished_date>2026-01-22T12:23:57.8870777+07:00</finished_date> <id>1</id> <id_staff_checked>25</id_staff_checked> <id_staff_leader>22</id_staff_leader> <id_staff_repair>19</id_staff_repair> <id_vehicle>4</id_vehicle> <is_heavy_fixed>true</is_heavy_fixed> <is_recept>true</is_recept> <license_plate>sample string 14</license_plate> <num_km>7</num_km> <num_minute>8</num_minute> <processing_date>2026-01-22T12:23:57.8870777+07:00</processing_date> <receipt_date>2026-01-22T12:23:57.8870777+07:00</receipt_date> <repair_content>sample string 13</repair_content> <services_times>5</services_times> <services_type_id>2</services_type_id> <services_type_name>sample string 3</services_type_name> <staff_code_checked>sample string 26</staff_code_checked> <staff_code_leader>sample string 23</staff_code_leader> <staff_code_repair>sample string 20</staff_code_repair> <staff_name_checked>sample string 27</staff_name_checked> <staff_name_leader>sample string 24</staff_name_leader> <staff_name_repair>sample string 21</staff_name_repair> <total_wage>17</total_wage> <wage_dis>15</wage_dis> <wage_money>6</wage_money> <wage_money_dis>16</wage_money_dis> </Request_Services_CU>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| error_code | string |
None. |
|
| content | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"error_code": "sample string 2",
"content": {}
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code"> <content /> <error_code>sample string 2</error_code> <status>1</status> </Result>