Skip to content

supportCases

GetAllSupportCases returns all support cases for the current user.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String An opaque cursor returned from a previous query's endCursor field. Pass this value verbatim to retrieve the next page of results.
last Int Returns the last n elements from the list.
before String An opaque cursor returned from a previous query's startCursor field. Pass this value verbatim to retrieve the previous page of results.
filters SupportCasesFilterInput Optional filters for status and priority.
sortField SupportCasesSortField Field to sort the results on.
sortOrder SortOrder Sort order (ascending or descending).

Returns

SupportCaseSummaryConnection!

Sample

query {
  supportCases(first: 10) {
    nodes {
      caseId
      caseNumber
      component
      createdDate
      functionalArea
      priority
      productLine
      status
      subject
      type
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "supportCases": {
      "nodes": [
        [
          {
            "caseId": "example-string",
            "caseNumber": "example-string",
            "component": "example-string",
            "createdDate": "2024-01-01T00:00:00.000Z",
            "functionalArea": "example-string",
            "priority": "CASE_PRIORITY_UNSPECIFIED"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}