Entities - Get workflow publishers

API Url

Get workflow publishers compressed with their steps

GET
http://localhost:16010/ProMarkREST/web/ProAbs/workflow-publishers

Request headers

FieldTypeDescription
Accept-LanguageoptionalString

=en-GB Language use for localization.

X-ClientoptionalString

=Client type.

Allowed values:"Portal""Mobile""Admin"
X-RoleoptionalNumber

ProMark role (1: Employee, 2: User).

Allowed values:{12}
X-WebPart-IdoptionalNumber

Unique web-part identifier.

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    workflowPublishersObject

bject containing workflow publishers

  messageoptionalObject

Object containing response messages.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"warning""info"

Success example:

{
"response": {
"data": {
"workflowPublishers": [
{
"id": 2149240622,
"description": "ABSPERIOD - Fraværsperioderdfgd - Fraværsperioderdfgd"
},
{
"id": 2164757023,
"description": "ACCOUNT - To much on account - To much on account"
}
]
}
}
}

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data (empty).

  errorCodeNumber

Error code.

  errorMessageString

Error description.