POST api/WorkOrder/WorkOrder_AddExpatriates
添加外派人员
Request Information
URI Parameters
None.
Body Parameters
WorkOrderAddExpatriatesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffId |
工单执行人 |
string |
Required String length: inclusive between 32 and 32 |
| WorkOrderId |
工单ID |
string |
Required String length: inclusive between 32 and 32 |
| CompanyName |
外派公司名称 |
string |
Required Max length: 50 |
| ContactName |
姓名 |
string |
Required Max length: 20 |
| ContactTel |
电话 |
string |
Required String length: inclusive between 11 and 11 |
| Memo |
备注 |
string |
Max length: 200 |
Request Formats
application/json, text/json
Sample:
{
"StaffId": "sample string 1",
"WorkOrderId": "sample string 2",
"CompanyName": "sample string 3",
"ContactName": "sample string 4",
"ContactTel": "sample string 5",
"Memo": "sample string 6"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultObjOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Mesg | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Mesg": "sample string 2",
"Data": "sample string 3"
}