ProJob - Get production display rows

API Url

Returns paginated rows from the last calculated production display snapshot. Use the column definitions from the /metadata endpoint to map colId to a column label and alignment.

GET
http://localhost:16010/ProMarkREST/web/ProJob/production-display/{id}/data

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.

Path parameters

FieldTypeDescription
idNumber

ObjectID of the ProdDisplayConfig.

Query parameters

FieldTypeDescription
skipoptionalNumber

Rows to skip (default 0).

takeoptionalNumber

Rows to return (default: all).

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    rowsObject[]

Ordered row data.

      columnsObject[]

Cell values for this row, one entry per active column.

        colIdNumber

Column index matches metadata columns[].colId.

        foreColoroptionalString

Hex foreground colour. Omitted when no highlight.

        valueString

Formatted cell text.

  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.

  dataObject

Object containing the requested data (empty).

  errorCodeNumber

Error code.

  errorMessageString

Error description.