- LIGHTHOUSE Rest API Walkthrough
- Lighthouse APIs
- Authentication
- TransactionStatus
- xcAssetDetail
- Shopping Cart
- xcAuthorizedProduct
- xcCFAMapping
- xcCFAMaster
- xcCFAStock
- xcDistributorDetail
- xcGetPromotionDetail
- xcHSNMaster
- xcJourneyPlan
- xcSubDistributorMargin
- xcOrganizationHierarchy
- xcGetOrganizationHierarchy
- xcOutlet
- xcOutletPriceMapping
- xcPricingControl
- xcPricingPlan
- xcProduct
- xcRouteDetail
- xcTerritoryHierarchy
- xcUserList
- xdARCollection
- Central APIs
- /api/xd/1.0/get_ar_collectionPOST
- xdAROpenItems
- xdCreditDebitNote
- xdCreditDetails
- xdDMSARCollection
- xdEmptieDispatchAdvice
- xdGetPurchaseOrder
- xdGRNDetails
- xdLocationCreditDetails
- xdOpenItems
- xdPendingInvoice
- xdPoFillRate
- xdPOStatus
- xdProduct
- xdPromotion
- xdPurchaseInvoice
- xdSalesInvoice
- xdSalesOrder
- xdSalesOrderStatusUpdate
- xdSalesReturn
- xdStockTransfer
- xdWarehouseStock
- xdInterDTStockIn
- xdInterDTStockOut
- xdGetPOShoppingCart
- xdReturnOrder
- xdDMSStockAdjustment
- xcDistributorPriceMapping
- xdLocationDetails
- xdBeatDetails
- xdVehicleDetails
- xdHHTMaster
- xdPricingPlan
- xdPrimaryPrice
- xdAuthorizedProduct
- xdWarehouseInventory
- xdCustomerMaster
- xdPromotionDefinition
- xdJourneyPlan
- xdRouteSetupV2
- xdCustomerTarget
- xdRouteTarget
- xdSalesInvoice
- xdSchemeAchievement
- xdVanLoad
- xdVanStock
- xdOrderHistoryV1
- xnBeatMaster
- xdSupervisorDetails
- xnRouteSetup
- xdVisitSummaryList
- xdGetNewCustomerRequest
- xdCustomerInventory
- xdGetUploadSyncKeys
- xdGetLoadRequest
- xdGetCustomerGeoCode
- xdDMSVanOffLoad
- xdGetRetailerContactInfo
- xdRouteSetupV2
- xdGetSalesman
- xdCustomer
- xdSetLoadRequest
- xdLoadOut
- xdLoadOutStatus
- xcPromotion
- xcProductHierarchy
- xdIQData
- xdSetReturnHistoryV1
- xdSetDNPlanInfo
- xnJourneyPlanTemplate
- xdGetBeatMaster
- xcGetListSchemes
- xcGetSchemeIsDuplicate
- xcUpdateShortClosure
- xcCreateScheme
- xcGetListBundleSchemes
- xdPODURL
- xdGetPromoAccrualDetails
- xcExclusionList
- xdProductMaster
- TerritoryRoute
- TerritoryRoute Copy
/api/xd/1.0/get_ar_collection
POST
/api/xd/1.0/get_ar_collection
xdARCollection
Request
Body Params application/json
tenant_code
stringĀ Ā |Ā nullĀ
optional
location_code
stringĀ Ā |Ā nullĀ
optional
salesman_code
stringĀ Ā |Ā nullĀ
optional
route_code
stringĀ Ā |Ā nullĀ
optional
sync_key
stringĀ Ā |Ā nullĀ
optional
page_number
integerĀ <int32>
optional
start_date_time
stringĀ <date-time>Ā |Ā nullĀ
optional
end_date_time
stringĀ <date-time>Ā |Ā nullĀ
optional
posting_date_time
stringĀ <date-time>Ā |Ā nullĀ
optional
include_void_document
stringĀ Ā |Ā nullĀ
optional
Example
{
"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"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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"
}'
Responses
š¢200Success
application/json
Body
array of:
tenant_code
stringĀ
required
<= 12 characters
location_code
stringĀ
required
<= 12 characters
salesman_code
stringĀ
required
<= 12 characters
route_code
stringĀ
required
<= 12 characters
customer_code
stringĀ
required
<= 12 characters
document_type
enum<string>Ā
required
<= 10 characters
Allowed values:
RA
document_prefix
stringĀ
required
<= 12 characters
document_number
integerĀ <int32>
required
posting_date_time
stringĀ <date-time>
optional
document_date
stringĀ <date-time>
required
document_amount
numberĀ <double>
required
division_code
stringĀ
required
<= 12 characters
payment_type
enum<integer>Ā <int32>
required
Allowed values:
01
download_date_time
stringĀ <date-time>
optional
void_indicator
integerĀ <int32>
optional
exchange_rate
numberĀ <double>
optional
ar_detailsVM
arrayĀ [object {12}]Ā
optional
tenant_code
stringĀ
required
<= 12 characters
location_code
stringĀ
required
<= 12 characters
document_prefix
stringĀ
required
<= 12 characters
document_number
integerĀ <int32>
required
sequence_number
integerĀ <int32>
required
payment_indicator
enum<string>Ā
optional
<= 3 characters
Allowed values:
DCP
check_number
stringĀ
optional
<= 25 characters
check_date
stringĀ <date-time>
optional
bank_details
stringĀ
optional
<= 50 characters
branch_details
stringĀ
optional
<= 50 characters
amount
numberĀ <double>
required
comment
stringĀ
optional
<= 100 characters
ar_applied_entriesVM
arrayĀ [object {11}]Ā
optional
tenant_code
stringĀ
required
<= 12 characters
location_code
stringĀ
required
<= 12 characters
document_prefix
stringĀ
required
<= 12 characters
document_number
integerĀ <int32>
required
sequence_number
integerĀ <int32>
required
document_type
enum<string>Ā
required
Allowed values:
012345
invoice_prefix
stringĀ
required
<= 20 characters
invoice_number
integerĀ <int32>
required
invoice_date
stringĀ <date-time>
required
amount_paid
numberĀ <double>
required
comment
stringĀ
optional
<= 100 characters
Example
[
{
"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"
}
]
}
]
Modified atĀ 2023-12-15 05:30:27