List commission settlement runs
GET
Returns commission settlement runs, newest period first. Paginated with 0-based page and size (default 20).
BearerAuthheader
AuthorizationBearer <JWT>page?integerPage number, starting at 0. See Paging.
Format
int32Default
0size?integerNumber of records per page.
Format
int32Default
20X-TenantID*stringYour merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.
OK
*/*- response
status*stringOutcome of the request: SUCCESS when it worked; errors return an error status with the reason in message.
message*stringShort human-readable message describing the outcome.
data?One page of settlement run summaries, newest period first.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/commission/settlements' \ -H 'X-TenantID: your-tenant-code'Example Response
{ "status": "string", "message": "string", "data": { "content": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "periodFrom": "2019-08-24", "periodTo": "2019-08-24", "status": "DRAFT", "totalCommission": 0, "peopleCount": 0, "createdAt": "2019-08-24T14:15:22Z", "approvedAt": "2019-08-24T14:15:22Z" } ], "page": 0, "size": 0, "totalElements": 0, "totalPages": 0 }}