Search Requests
Changed onEndpoint to search Requests.
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopesrequest_read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The beginning of the period of the search fromDate included (i.e. greater than or equal to) (Formats: yyyy-MM-dd, yyyy-MM-ddThh:mm:ss, yyyy-MM-ddThh:mm:ssZ).
The end of the period of the search toDate included (i.e. less than) (Formats: yyyy-MM-dd, yyyy-MM-ddThh:mm:ss, yyyy-MM-ddThh:mm:ssZ).
The status of the Request.
The payment method of the Request.
A simple text to search in the Request (name or description).
It indicates the specific page to display (the counter starts from zero).
It indicates the number of items per page.
It indicates how the pages are ordered.
It indicates the sorting direction applied to the above parameters. To apply a sorting on multiple parameters, set as many times the props parameter in the request.
[ "creationTime" ]
Response
The result is an array containing Requests.
Example response
{
"total": 168,
"pages": 7,
"page_size": 25,
"results_size": 25,
"results": [
{
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"name": "Supplier name",
"description": "Example description",
"requester": "XMPL1234-000001",
"amount": 10.25,
"creation_time": "2017-06-01T12:48:40Z",
"last_update_time": "2017-06-01T12:48:40Z"
}
]
}Changes
- info
added the new optional
queryrequest parameterfromDate - info
added the new optional
queryrequest parametertoDate
- info
- breaking
removed the enum value
CARDfrom thequeryrequest parameterpaymentMethod - warning
added the new
TEMPORARY_CARDenum value to the//response property for the response status - info
added the new enum value
TEMPORARY_CARDto thequeryrequest parameterpaymentMethod - info
removed the
CARDenum value from the//response property for the response status
- breaking