Skip to main content
POST
/
v6
/
templates
/
dimensions
/
query
Query dimensions
curl --request POST \
  --url https://sandbox.tight.com/v6/templates/dimensions/query \
  --header 'Authorization: Bearer <token>'
{
  "result": "SUCCESS",
  "data": [
    {
      "id": "tcll_439512",
      "name": "Region",
      "status": "ACTIVE",
      "requiredness": "REQUIRED",
      "child": {
        "id": "tcll_439513",
        "name": "Location",
        "status": "ACTIVE",
        "requiredness": "NOT_REQUIRED"
      }
    },
    {
      "id": "tcll_439514",
      "name": "Job Site",
      "status": "ACTIVE",
      "requiredness": "NOT_REQUIRED"
    }
  ],
  "cursor": {
    "after": "<string>",
    "before": "<string>"
  },
  "error": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is a partner-level token.

Response

Success

Paginated response for dimensions

result
enum<string>

Result status

Available options:
SUCCESS,
FAILURE
Example:

"SUCCESS"

data
object[]

List of dimensions

cursor
object

Cursor to be used in your subsequent paginated request. Only populated if there are more pages available.