Pay Types

Authentication: All endpoints require an Authorization: Bearer <access token> header.

Most endpoints require an X-Company-ID: <company_id> header to scope requests to a specific company. This is the recommended header for most API operations.

Some endpoints require an X-Location-ID: <location_id> header when the query doesn't accept a locationId parameter.

See Authentication for details on how to obtain and use these headers.

Query Pay Types

GraphQL Query

query PayTypes {
  payTypes {
    id
    name
    description
    externalId
    modifiedAt
    modifiedBy {
      fullName
    }
  }
}

Example Variables

{}

Example Response

{
  "data": {
    "payTypes": [
      {
        "id": "793",
        "name": "Ordinary - Overtime",
        "description": null,
        "externalId": null,
        "modifiedAt": "2023-11-07T04:30:19.316Z",
        "modifiedBy": {
          "fullName": "Roubler Support"
        }
      },
      {
        "id": "790",
        "name": "Ordinary - Standard - Standard",
        "description": null,
        "externalId": null,
        "modifiedAt": "2023-11-07T04:30:19.320Z",
        "modifiedBy": {
          "fullName": "Roubler Support"
        }
      },
      {
        "id": "788",
        "name": "Overtime - Standard - Standard",
        "description": null,
        "externalId": null,
        "modifiedAt": "2023-11-07T04:30:19.320Z",
        "modifiedBy": {
          "fullName": "Roubler Support"
        }
      }
    ]
  }
}