ProAbs - Update workflow steps
API Url
Used for updating ProAbs workflow steps.
PUT
http://localhost:16010/ProMarkREST/rest/ProAbs/workflows/{id}/steps
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
| id | Number | Workflow identifier |
Parameter
| Field | Type | Description |
|---|---|---|
| request | Object | Main object containing the request data. |
| data | Object | Object containg data to be uploaded. |
| steps | Object[] | Collection of updated workflow step |
commentoptional | String | Comment |
deadlineoptional | Date | Workflow deadline date |
fromoptional | Date | Workflow start date |
| id | Number | Workflow step identifier |
| incarnation | Number | Workflow step incarnation |
tooptional | Date | Workflow end date |
| type | Number | Workflow step type |
| workflowId | String | Workflow identifier |
Request example:
{"request": {"data": {"steps": [{"from": "2018-04-04","to": "2018-04-06","deadline": "2018-05-30","type": 1,"incarnation": 1,"id": 1}]}}}
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |