- 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_route_detail
Developing
POST
/api/xd/1.0/get_route_detail
Request
Body Params application/json
principle_code
stringĀ
required
<= 50 characters
tenant_code
stringĀ
optional
<= 50 characters
location_code
stringĀ
optional
<= 50 characters
page_number
integerĀ
required
posting_date
stringĀ <date-time>
optional
start_date_time
stringĀ <date-time>
optional
end_date_time
stringĀ <date-time>
optional
Example
{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"page_number": 0,
"posting_date": "2024-06-05T06:59:17.406Z",
"start_date_time": "2024-06-05T06:59:17.406Z",
"end_date_time": "2024-06-05T06:59:17.406Z"
}
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_route_detail' \
--header 'Content-Type: application/json' \
--data-raw '{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"page_number": 0,
"posting_date": "2024-06-05T06:59:17.406Z",
"start_date_time": "2024-06-05T06:59:17.406Z",
"end_date_time": "2024-06-05T06:59:17.406Z"
}'
Responses
š¢200OK
application/json
Body
array of:
tenant_code
stringĀ
optional
<= 50 characters
location_code
stringĀ
optional
<= 50 characters
route_code
stringĀ
optional
<= 50 characters
route_name
stringĀ
optional
<= 100 characters
route_name_a
stringĀ
optional
<= 100 characters
admin_email
stringĀ
optional
<= 100 characters
vehicle_code
stringĀ
optional
<= 50 characters
hht_device_serial_number
stringĀ
optional
<= 100 characters
salesman_code
stringĀ
optional
<= 50 characters
is_active
enum<integer>Ā
optional
Allowed values:
01
max_load_limit
numberĀ <float>
optional
warehouse_code
stringĀ
optional
<= 50 characters
gl_account_code
stringĀ
optional
<= 50 characters
journey_plan_code
stringĀ
optional
<= 50 characters
printer_name
stringĀ
optional
<= 100 characters
bank_account_number
stringĀ
optional
<= 100 characters
credit_limit
numberĀ <float>
optional
exposure_limit
numberĀ <float>
optional
authorized_item_code
stringĀ
optional
<= 50 characters
sector
integerĀ
optional
use_back_office
integerĀ
optional
load_plan_code
stringĀ
optional
<= 50 characters
route_type
enum<integer>Ā
optional
Allowed values:
411
allow_inventory_cycle
integerĀ
optional
default_delivery_date
stringĀ <date-time>
optional
default_cash_customer
stringĀ
optional
<= 50 characters
sales_quota_limit
numberĀ <float>
optional
pricing_code
stringĀ
optional
<= 24 characters
route_division
arrayĀ [object {4}]Ā
optional
tenant_code
stringĀ
optional
<= 50 characters
location_code
stringĀ
optional
<= 50 characters
route_code
stringĀ
optional
<= 50 characters
division_code
stringĀ
optional
<= 25 characters
Example
[
{
"tenant_code": "string",
"location_code": "string",
"route_code": "string",
"route_name": "string",
"route_name_a": "string",
"admin_email": "string",
"vehicle_code": "string",
"hht_device_serial_number": "string",
"salesman_code": "string",
"is_active": 0,
"max_load_limit": 0,
"warehouse_code": "string",
"gl_account_code": "string",
"journey_plan_code": "string",
"printer_name": "string",
"bank_account_number": "string",
"credit_limit": 0,
"exposure_limit": 0,
"authorized_item_code": "string",
"sector": 0,
"use_back_office": 0,
"load_plan_code": "string",
"route_type": 0,
"allow_inventory_cycle": 0,
"default_delivery_date": "2024-06-05T06:59:17.419Z",
"default_cash_customer": "string",
"sales_quota_limit": 0,
"route_division": [
{
"tenant_code": "string",
"location_code": "string",
"route_code": "string",
"division_code": "string"
}
]
}
]
Modified atĀ 2024-06-05 08:57:35