Introduction to Dental API

Sections

Theme switcher

GET Receipt Provider Splits

Header Parameters

org-idstring Required
x-api-keystring Required

(Required)

Query Parameters

receipt_idinteger

Receipt identifier. Required unless both from_date and to_date are sent. Not a detail_id.

from_datestring

Start of the receipt date range, YYYY-MM-DD. Send with to_date.

to_datestring

End of the receipt date range, YYYY-MM-DD. At most 366 days after from_date.

practitioner_idinteger

Limit to one provider. -1 or omitted for all.

location_idinteger

Limit to one location. -1 or omitted for all.

pageinteger

Page number. Default 1.

per_pageinteger

Records per page. Default 10. Maximum 500.

Response

200
Object

{ "status": true, "message": "Success", "data": [ { "detail_id": 44696, "receipt_id": 37932, "provider_id": 16, "provider_amount": -60.0, "split_source": "BANKED", "bank_acc_id": 1, "bank_deposit_slip_id": null, "hold_from_banking": "N", "location_id": 1 } ], "pagination": { "page": 1, "per_page": 10, "total_rows": 1, "total_pages": 1 } }

400
Object

{ "data": [], "status": false, "message": "The date range is too wide: at most 366 days between from_date and to_date (use receipt_id for a single receipt, or split the range)", "support_code": "RP-4000" }

422
Object

{ "data": [], "status": false, "message": "Provide 'receipt_id', or both 'from_date' and 'to_date'." }

Was this section helpful?

GET

/

Select
1

Response

Was this section helpful?