DX STF Client API

<back to all web services

SearchSenderPurchaseCondition

Purchase Conditions Requests

Purchase Conditions

Requires Authentication
The following routes are available for this service:
POST/api/purchaseCondition/search/senderSearch purchase condition based on search parameters
SearchSenderPurchaseCondition Parameters:
NameParameterData TypeRequiredDescription
QuerymodelSearchPurchaseConditionByDateFilterYesSearch query
SearchPurchaseConditionByDateFilter Parameters:
NameParameterData TypeRequiredDescription
FromDateformDateTimeNo
ToDateformDateTimeNo
ContinuationTokenformstringYes
RequestedPageformintNo
NumberOfRecordsPerPageformintNo
OrderByformstringYes
OrderformORDERNo
ORDER Enum:
ASC
DESC
PagedQueryResponseWithToken<T> Parameters:
NameParameterData TypeRequiredDescription
ContinuationTokenformstringYes
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 .jsv suffix or ?format=jsv

HTTP + JSV

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

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

{
	query: 
	{
		continuationToken: String,
		requestedPage: 0,
		numberOfRecordsPerPage: 0,
		orderBy: String,
		order: ASC
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

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