POST api/ChangeProgress/PushJob
Request Information
URI Parameters
None.
Body Parameters
JobModelUpdateApi| Name | Description | Type | Additional information |
|---|---|---|---|
| JobBusinessType | JobBusinessType |
None. |
|
| UpdateId | string |
None. |
|
| IncreaseCurrentProgress | unsigned integer |
None. |
|
| ExtendedObject | Object |
None. |
|
| Id | string |
Required |
|
| JobStatus | JobStatus |
None. |
|
| TotalProgress | unsigned integer |
None. |
|
| CurrentProgress | unsigned integer |
None. |
|
| CompleteCount | unsigned integer |
None. |
|
| FailCount | unsigned integer |
None. |
|
| FailReason | string |
None. |
|
| ShopId | integer |
None. |
|
| ShopName | string |
None. |
|
| Remarks | string |
None. |
|
| UserId | integer |
None. |
|
| EnterpriseId | integer |
None. |
|
| IsUpdateSyncTime | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"JobBusinessType": 1,
"UpdateId": "sample string 1",
"IncreaseCurrentProgress": 1,
"ExtendedObject": {},
"Id": "sample string 3",
"JobStatus": "None",
"TotalProgress": 1,
"CurrentProgress": 1,
"CompleteCount": 1,
"FailCount": 4,
"FailReason": "sample string 5",
"ShopId": 1,
"ShopName": "sample string 6",
"Remarks": "sample string 7",
"UserId": 1,
"EnterpriseId": 1,
"IsUpdateSyncTime": true
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": true
}
application/xml, text/xml
Sample:
<ResponseResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Willv.Common"> <Data>true</Data> <ErrorCode>sample string 2</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> <Status>true</Status> </ResponseResultOfboolean>