- 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_customer_inventory
Developing
POST
/api/xd/1.0/get_customer_inventory
Request
Body Params application/json
principle_code
stringĀ
required
tenant_code
stringĀ
optional
<= 48 characters
location_code
stringĀ
optional
<= 48 characters
salesman_code
stringĀ
optional
<= 48 characters
route_code
stringĀ
optional
<= 48 characters
sync_key
stringĀ
optional
<= 100 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",
"location_code": "string",
"salesman_code": "string",
"route_code": "string",
"sync_key": "string",
"start_date_time": "2024-04-17T07:42:59.444Z",
"end_date_time": "2024-04-17T07:42:59.444Z",
"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_customer_inventory' \
--header 'Content-Type: application/json' \
--data-raw '{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"salesman_code": "string",
"route_code": "string",
"sync_key": "string",
"start_date_time": "2024-04-17T07:42:59.444Z",
"end_date_time": "2024-04-17T07:42:59.444Z",
"page_number": 0
}'
Responses
š¢200OK
application/json
Body
array of:
principle_code
stringĀ
required
<= 48 characters
tenant_code
stringĀ
required
<= 48 characters
location_code
stringĀ
required
<= 48 characters
route_key
stringĀ
optional
<= 100 characters
route_code
stringĀ
required
<= 48 characters
sales_man_code
stringĀ
required
<= 48 characters
visit_date
stringĀ <date-time>
required
visit_sequence
integerĀ
optional
customer_code
stringĀ
optional
<= 48 characters
item_code
stringĀ
required
<= 48 characters
units_of_measure
stringĀ
required
<= 50 characters
total_quantity
numberĀ <float>
required
location_1_qty
numberĀ <float>
required
location_2_qty
numberĀ <float>
required
location_3_qty
numberĀ <float>
required
location_4_qty
numberĀ <float>
required
Example
[
{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"route_key": "string",
"route_code": "string",
"sales_man_code": "string",
"visit_date": "2019-08-24T14:15:22Z",
"visit_sequence": 0,
"customer_code": "string",
"item_code": "string",
"units_of_measure": "string",
"total_quantity": 0,
"location_1_qty": 0,
"location_2_qty": 0,
"location_3_qty": 0,
"location_4_qty": 0
}
]
Modified atĀ 2024-04-17 07:47:10