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.
http://localhost:16010/ProMarkREST/web/ProJob/production-display/{id}/data
Permissions: user
Request headers
| Field | Type | Description |
|---|---|---|
Accept-Languageoptional | String | =en-GB Language use for localization. |
X-Clientoptional | String | =Client type. "Portal""Mobile""Admin" |
X-Roleoptional | Number | ProMark role (1: Employee, 2: User). {12} |
X-WebPart-Idoptional | Number | Unique web-part identifier. |
Path parameters
| Field | Type | Description |
|---|---|---|
| id | Number | ObjectID of the ProdDisplayConfig. |
Query parameters
| Field | Type | Description |
|---|---|---|
skipoptional | Number | Rows to skip (default 0). |
takeoptional | Number | Rows to return (default: all). |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| rows | Object[] | Ordered row data. |
| columns | Object[] | Cell values for this row, one entry per active column. |
| colId | Number | Column index matches metadata columns[].colId. |
foreColoroptional | String | Hex foreground colour. Omitted when no highlight. |
| value | String | Formatted cell text. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data (empty). |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |