curl --request GET \
--url https://api.decodahealth.com/inventory/commission-reports/list \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"data": [
{
"id": "<string>",
"startDate": "2023-12-25",
"endDate": "2023-12-25",
"totalPayout": 123,
"commissionStructureId": "<string>",
"creatorId": "<string>",
"creator": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"createdDate": "2023-11-07T05:31:56Z"
},
"commissionStructure": {
"name": "<string>",
"id": "<string>",
"description": "<string>"
},
"payouts": [
{
"commissionReportId": "<string>",
"commissionId": "<string>",
"providerId": "<string>",
"amount": 123,
"id": "<string>",
"createdDate": "2023-11-07T05:31:56Z"
}
],
"createdDate": "2023-11-07T05:31:56Z",
"updatedDate": "2023-11-07T05:31:56Z",
"isArchived": false
}
],
"total": 123
}List commission reports with pagination
curl --request GET \
--url https://api.decodahealth.com/inventory/commission-reports/list \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"data": [
{
"id": "<string>",
"startDate": "2023-12-25",
"endDate": "2023-12-25",
"totalPayout": 123,
"commissionStructureId": "<string>",
"creatorId": "<string>",
"creator": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"createdDate": "2023-11-07T05:31:56Z"
},
"commissionStructure": {
"name": "<string>",
"id": "<string>",
"description": "<string>"
},
"payouts": [
{
"commissionReportId": "<string>",
"commissionId": "<string>",
"providerId": "<string>",
"amount": 123,
"id": "<string>",
"createdDate": "2023-11-07T05:31:56Z"
}
],
"createdDate": "2023-11-07T05:31:56Z",
"updatedDate": "2023-11-07T05:31:56Z",
"isArchived": false
}
],
"total": 123
}The tenant you are making this request on behalf of
Your api key
Successful Response
Show child attributes
Unique identifier for the commission report
Start date of the report
End date of the report
Total payout for this commission structure
Commission structure this report belongs to
Creator of the report
Commission structure this report belongs to
Payouts for this commission structure
Show child attributes
Commission report this payout belongs to
Commission this payout belongs to
Provider this payout belongs to
Amount of the payout
Unique identifier for the commission payout
When the payout was created
When the report was created
When the report was last updated
Whether the report is archived