Get a list of support cases

get/support-cases

Retrieves a list of support cases associated with wellness events. The results are in descending order of creation time, so that the most recent support cases are listed first.

Pagination: This endpoint exclusively supports cursor-based pagination, using the next query parameter.

Filtering: The following are the supported filter parameters :

  • event/id — The event/id filter parameter only supports the eq operator and its value should be a valid wellness event ID.
  • caseNumber
  • status
  • createdAt
  • updatedAt
  • event/condition/severity
  • event/status/currentState
  • event/productName
  • event/serviceName
  • event/createdAt
  • event/updatedAt
SecurityBearer
Request
query Parameters
filter
string

The filter query parameter is used to filter a set of resources. The returned set of resources matches the criteria in the filter query parameter. The value of the filter query parameter is a subset of OData V4 filter expressions consisting of simple comparison operations joined by logical operators.

Examples:
filter=event/id eq 3fa85f64-5717-4562-b3fc-2c963f66afa6
filter=event/createdAt lt 2021-05-12T07:20:00.00Z
filter=event/createdAt gt 2021-05-12T07:20:00.00Z
filter=createdAt lt 2021-05-12T07:20:00.00Z
filter=createdAt gt 2021-05-12T07:20:00.00Z and createdAt lt 2022-05-12T07:20:00.00Z
select
string

The select query parameter is used to limit the properties returned for support cases. The value of the select query parameter is a comma separated list of properties. All properties are returned if the select parameter is omitted.

Note: Only the total property is supported.

Examples:
Retrieve only the count of support cases for the current filter.
select=total
limit
integer <int32> [ 1 .. 200 ]
Default: 100

Specifies the number of support cases to be returned.

next
string

Specifies the event ID, which acts as the pagination cursor for the next page of support cases.

Examples:
Event ID
next=0908777a-788f-45da-afb8-295c626e4d14
Responses
200

OK

400

Bad Request

401

Unauthorized - Invalid JWT token in Request

429

You have exceeded the allowed rate limit, Please contact HPE Support if its an error.

500

Unexpected Server Error. Please re-try and contact HPE support if the error is not resolved.

Request samples
Response samples
application/json
{
  • "items": [
    ],
  • "count": 2,
  • "next": "000000d0-a3c9-4dc2-aacb-d85973efbdf3",
  • "total": 300
}