POST api/{area}/Dispatch/UpdateDispatch
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
area | string |
None. |
Body Parameters
DispatchStateModelName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
State | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Code": "sample string 1", "State": 2 }
application/xml, text/xml
Sample:
<DispatchStateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CE.WebOpenApi.Areas.Business.Models"> <Code>sample string 1</Code> <State>2</State> </DispatchStateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseName | Description | Type | Additional information |
---|---|---|---|
errCode | integer |
None. |
|
errMsg | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errCode": 1, "errMsg": "sample string 2" }
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CE.WebOpenApi.Models"> <errCode>1</errCode> <errMsg>sample string 2</errMsg> </ApiResponse>