Querying for service requests

The following Claim API endpoints can be used to request information about service requests:

Endpoint Response
GET /service-requests

All service requests

By default, the payload in the response includes the ID of each service request and each claim the service request belongs to.

GET /claims/{claimId}/service-requests

All service requests for the specified claim

This is a "potentially large" endpoint. Cloud API returns an error if you attempt to sort on this endpoint and the sort cannot be accomplished efficiently. For more information, see Potentially large endpoints.

GET /claims/{claimId}/service-requests/{serviceRequestId}

The specified service request.

Note that in order to get information about a specific service request, you must access the service request through its parent claim.