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

FieldTypeDescription
idNumber

Workflow identifier

Parameter

FieldTypeDescription
requestObject

Main object containing the request data.

  dataObject

Object containg data to be uploaded.

    stepsObject[]

Collection of updated workflow step

      commentoptionalString

Comment

      deadlineoptionalDate

Workflow deadline date

      fromoptionalDate

Workflow start date

      idNumber

Workflow step identifier

      incarnationNumber

Workflow step incarnation

      tooptionalDate

Workflow end date

      typeNumber

Workflow step type

      workflowIdString

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

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.