DX STF Client API

<back to all web services

GetClaimByType

Claim Requests

Claim

Requires Authentication
The following routes are available for this service:
GET/api/claim/type/{Type}Get paged order response by claim type
GetClaimByType Parameters:
NameParameterData TypeRequiredDescription
SearchTermquerystringYesNot used
RequestedPagequeryintNoRequested page number, starting at 1
NumberOfRecordsPerPagequeryintNoNumber of records to return on a page
TypepathstringYesClaim type to be returned
PagedQueryResult<T> Parameters:
NameParameterData TypeRequiredDescription
StartIndexformlongNo
EndIndexformlongNo
NumberOfRecordsReturnedformintNo
TotalNumberOfPagesformintNo
TotalNumberOfRecordsformlongNo
ResultsformList<ResultItem<ClaimMessage>>Yes

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/claim/type/{Type} HTTP/1.1 
Host: stf-api-uat.data-xchange.co.za 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"startIndex":0,"endIndex":0,"numberOfRecordsReturned":0,"totalNumberOfPages":0,"totalNumberOfRecords":0,"results":[{}]}