JobGroups

Gets the flag history across all jobs in the specified group

Retrieve the job flag history across all jobs in the group (required scope jobs:read)

get/v1/jobGroups/{groupId}/jobFlags/history

Path parameters

groupIdinteger required

The unique identifier of the job group

Query parameters

pageNumberinteger

The page number being requested. (minimum: 1, maximum: 2147483)

pageSizeinteger

The page size being requested. (minimum: 1, maximum: 1000)

Headers

Customer-Idinteger required

The customer identifier

Response

OK

pageNumberinteger

The page number of the response where 1 is the first page

pageSizeinteger

The number of items requested for the current page

pageItemCountinteger

The number of items returned in the current page

Example response

{
  "items": [
    {
      "jobId": 654321,
      "flags": [
        {
          "historyId": 123456,
          "flagId": 789,
          "flagName": "High Priority",
          "jobId": 654321,
          "appliedAt": "2024-01-15T10:30:00.0000000+00:00",
          "ownerName": "John Doe",
          "comments": "Urgent issue requires immediate attention"
        }
      ]
    }
  ],
  "pageNumber": 2,
  "pageSize": 100,
  "pageItemCount": 55
}