ProJob - Get production display metadata

API Url

Returns the display configuration (page timing, refresh interval) and the ordered list of columns with alignment hints. The column list reflects the last calculated snapshot.

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

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 production display configuration, or the literal string me to resolve the display for the authenticated user (requires role Admin).

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    columnsObject[]

Ordered column definitions.

      colIdNumber

Column index (1-based).

      labelString

Column header text.

      rightAlignBoolean

true = numeric/right-aligned column.

    metadataObject
      lastRefreshTimeDatetime

When the snapshot was last calculated. Null if never.

      objectIdNumber

ObjectID of the linked production display configuration.

      pageSizeNumber

Rows to show per page.

      pageTimeoutNumber

Seconds before paging to next page.

      refreshTimeoutNumber

Seconds between data refreshes.

      titleString

Display header 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.