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

FieldTypeDescription
requestObject

Main object containing the request data.

  dataObject

Object containg data to be uploaded.

    workflowsObject[]

Collection of completed workflows

      empNoString

Employee number

      idString

Workflow identifier

      templateIdString

Workflow template identifier

Request example:

{
"request": {
"data": {
"workflows": [
{
"empNo": "24",
"templateId": "TEMPA",
"id": 34079
}
]
}
}
}

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  messageoptionalObject

Object containing response messages.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"warning""info"

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  errorCodeNumber

Error code.

  errorMessageString

Error description.