Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Query parameters
-
Page Number
Default value is
1. -
Field to sort by
-
Sorting direction
Values are
ASCorDESC. Default value isASC. -
Size per page
Default value is
60. -
Contact ID filter.
Multi-value supported. Example: value1;value2 -
Contact role type filter
Values are
BOTH,SUPPLIER, orCLIENT. -
Currency code filter
-
Balance filterSupports comparison operators:
- Range (
..) - Greater than (
>) - Greater than or equal (
>=) - Less than (
<) - Less than or equal (
<=) - Not equal (
<>)
Examples:
- <=100.00
- >=100.00
- <>100.00
- 100.00..200.00
Use
<>0to return only records where the selected amount is not equal to zero. - Range (
-
Report generation date.
GET
/api-v1/contact-balance/report
curl \
--request GET 'https://wyzio.app/api-v1/contact-balance/report'
Response examples (200)
[
{
"id": 42,
"contactId": 42,
"contactName": "string",
"contactRoleType": "string",
"currencyCode": "string",
"balance": 42.0
}
]