- 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
- 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_promo_accrual_details
Developing
POST
/api/xd/1.0/get_promo_accrual_details
Request
Body Params application/json
principle_code
stringĀ
required
<= 24 characters
tenant_code
stringĀ
optional
<= 24 characters
start_date_time
stringĀ <date-time>
optional
end_date_time
stringĀ <date-time>
optional
page_number
integerĀ
required
Example
{
"principle_code": "string",
"tenant_code": "string",
"start_date_time": "2025-04-16T09:34:49.814Z",
"end_date_time": "2025-04-16T09:34:49.814Z",
"page_number": 0
}
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_promo_accrual_details' \
--header 'Content-Type: application/json' \
--data-raw '{
"principle_code": "string",
"tenant_code": "string",
"start_date_time": "2025-04-16T09:34:49.814Z",
"end_date_time": "2025-04-16T09:34:49.814Z",
"page_number": 0
}'
Responses
š¢200OK
application/json
Body
array of:
promo_accrual_id
integerĀ
optional
principle_code
stringĀ
optional
<= 24 characters
tenant_code
stringĀ
optional
<= 24 characters
location_code
stringĀ
optional
<= 24 characters
customer_code
stringĀ
optional
<= 24 characters
bill_to_customer
stringĀ
optional
<= 24 characters
promotion_code
stringĀ
optional
<= 20 characters
document_date
stringĀ <date-time>
optional
document_number
stringĀ
optional
<= 25 characters
document_type
integerĀ
optional
currency_code
stringĀ
optional
<= 12 characters
item_code
stringĀ
optional
<= 18 characters
item_quantity
numberĀ <float>
optional
item_quantity_1
numberĀ <float>
optional
item_quantity_2
numberĀ <float>
optional
item_price_in_base_uom
integerĀ
optional
gross_total_amount
numberĀ <float>
optional
line_total_amount
numberĀ <float>
optional
Example
[
{
"promo_accrual_id": 0,
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"customer_code": "string",
"bill_to_customer": "string",
"promotion_code": "string",
"document_date": "2025-04-16T09:34:49.878Z",
"document_number": "string",
"document_type": 0,
"currency_code": "string",
"item_code": "string",
"item_quantity": 0,
"item_quantity_1": 0,
"item_quantity_2": 0,
"item_price_in_base_uom": 0,
"gross_total_amount": 0,
"line_total_amount": 0
}
]
Modified atĀ 2025-04-16 09:42:39