{
"tenant_code": "string",
"location_code": "string",
"salesman_code": "string",
"route_code": "string",
"sync_key": "string",
"page_number": 0,
"start_date_time": "2019-08-24T14:15:22Z",
"end_date_time": "2019-08-24T14:15:22Z",
"posting_date_time": "2019-08-24T14:15:22Z",
"include_void_document": "string"
}
curl --location --request POST 'https://testapi.com/api/xd/1.0/get_ar_collection' \
--header 'Content-Type: application/json' \
--data-raw '{
"tenant_code": "string",
"location_code": "string",
"salesman_code": "string",
"route_code": "string",
"sync_key": "string",
"page_number": 0,
"start_date_time": "2019-08-24T14:15:22Z",
"end_date_time": "2019-08-24T14:15:22Z",
"posting_date_time": "2019-08-24T14:15:22Z",
"include_void_document": "string"
}'
[
{
"tenant_code": "string",
"location_code": "string",
"salesman_code": "string",
"route_code": "string",
"customer_code": "string",
"document_type": "R",
"document_prefix": "string",
"document_number": 0,
"posting_date_time": "2019-08-24T14:15:22Z",
"document_date": "2019-08-24T14:15:22Z",
"document_amount": 0,
"division_code": "string",
"payment_type": 0,
"download_date_time": "2019-08-24T14:15:22Z",
"void_indicator": 0,
"exchange_rate": 0,
"ar_detailsVM": [
{
"tenant_code": "string",
"location_code": "string",
"document_prefix": "string",
"document_number": 0,
"sequence_number": 0,
"payment_indicator": "D",
"check_number": "string",
"check_date": "2019-08-24T14:15:22Z",
"bank_details": "string",
"branch_details": "string",
"amount": 0,
"comment": "string"
}
],
"ar_applied_entriesVM": [
{
"tenant_code": "string",
"location_code": "string",
"document_prefix": "string",
"document_number": 0,
"sequence_number": 0,
"document_type": "0",
"invoice_prefix": "string",
"invoice_number": 0,
"invoice_date": "2019-08-24T14:15:22Z",
"amount_paid": 0,
"comment": "string"
}
]
}
]