ProAbs - Update workflows
API Url
Used for updating ProAbs workflows. Here it is used to complete workflows.
PUT
http://localhost:16010/ProMarkREST/rest/ProAbs/workflows
Permissions: user
Parameter
| Field | Type | Description |
|---|---|---|
| request | Object | Main object containing the request data. |
| data | Object | Object containg data to be uploaded. |
| workflows | Object[] | Collection of completed workflows |
| empNo | String | Employee number |
| id | String | Workflow identifier |
| templateId | String | Workflow template identifier |
Request example:
{"request": {"data": {"workflows": [{"empNo": "24","templateId": "TEMPA","id": 34079}]}}}
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. |