Get a page of revenue accounts
Query Parameters
- Type: integerFormat: int32Page
Index The page index of the search.
- Type: integerFormat: int32Page
Size The number of items to be returned in the response. Returns pages of up to 500 records.
- Type: stringSearch
Text The search text to filter revenue accounts by. This can be all or part of a revenue account name, code.
Responses
- application/json
Request Example for get/v1/revenue-accounts
curl 'https://api.consignlyhq.com/v1/revenue-accounts?PageIndex=1&PageSize=25&SearchText=Sales'
{
"index": 1,
"total": 1,
"revenueAccounts": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": null,
"code": null
}
]
}