DX STF Client API

<back to all web services

SearchClaim

Claim Requests

Claim

Requires Authentication
The following routes are available for this service:
POST/api/claim/searchSearch for claims based on parameters
SearchClaim Parameters:
NameParameterData TypeRequiredDescription
QuerymodelSearchClaimQueryYes
SearchClaimQuery Parameters:
NameParameterData TypeRequiredDescription
ReceiverGlnformstringYes
FromDateformDateTimeNo
ToDateformDateTimeNo
ClaimsNotificationTypeCodeformstringYes
ClaimsNotificationIdentificationformstringYes
Buyerform_BuyerYes
ClaimNotificationform_ClaimNotificationYes
Invoiceform_InvoiceYes
ExcludeLinkedToCreditNoteformboolNo
SenderGlnformstringYes
PartnerGlnformList<string>Yes
RequestedPageformintNo
NumberOfRecordsPerPageformintNo
_Buyer Parameters:
NameParameterData TypeRequiredDescription
GlnformstringYes
_ClaimNotification Parameters:
NameParameterData TypeRequiredDescription
EntityIdentificationformstringYes
_Invoice Parameters:
NameParameterData TypeRequiredDescription
EntityIdentificationformstringYes
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 .other suffix or ?format=other

HTTP + OTHER

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

POST /api/claim/search HTTP/1.1 
Host: stf-api-uat.data-xchange.co.za 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"query":{"receiverGln":"String","claimsNotificationTypeCode":"String","claimsNotificationIdentification":"String","buyer":{"gln":"String"},"claimNotification":{"entityIdentification":"String"},"invoice":{"entityIdentification":"String"},"excludeLinkedToCreditNote":false,"senderGln":"String","partnerGln":["String"],"requestedPage":0,"numberOfRecordsPerPage":0}}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

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