ProRoster - Get comparisons for planning figures

API Url

Use it to get the published budgets

GET
http://localhost:16010/ProMarkREST/web/ProRoster/plans/{id}/planning-figures

Permissions: user

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
idNumber

Plan id.

Success example:

{
"response": {
"data": {
"planningFigures": [
{
"date": "2020-07-21",
"values": [
{
"sequenceNo": 0,
"type": 0,
"value": -689.285714285,
"warning": 0,
"comparison": true
}
]
}
],
"totals": [
{
"sequenceNo": 0,
"type": 0,
"value": -689.285714285,
"warning": 0,
"comparison": true
}
]
}
}
}

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data (empty).

  errorCodeNumber

Error code.

  errorMessageString

Error description.