- 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/xc/1.0/get_journey_plan
POST
/api/xc/1.0/get_journey_plan
xcJourneyPlan
Request
Body Params application/json
tenant_code
stringĀ
required
<= 50 characters
distributor_code
stringĀ
optional
<= 50 characters
route_type
integerĀ
optional
route_class
stringĀ
optional
<= 50 characters
from_date
stringĀ <date-time>
optional
to_date
stringĀ <date-time>
optional
page_number
integerĀ
required
Example
{
"tenant_code": "string",
"distributor_code": "string",
"route_type": 0,
"route_class": "string",
"from_date": "2024-06-05T07:02:21.117Z",
"to_date": "2024-06-05T07:02:21.117Z",
"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/xc/1.0/get_journey_plan' \
--header 'Content-Type: application/json' \
--data-raw '{
"tenant_code": "string",
"distributor_code": "string",
"route_type": 0,
"route_class": "string",
"from_date": "2024-06-05T07:02:21.117Z",
"to_date": "2024-06-05T07:02:21.117Z",
"page_number": 0
}'
Responses
š¢200Success
application/json
Body
array of:
tenant_code
stringĀ
optional
<= 50 characters
territory_hierarchy
stringĀ
optional
<= 50 characters
distributor_code
stringĀ
optional
<= 50 characters
route_code
stringĀ
optional
<= 50 characters
outlet_code
stringĀ
optional
<= 50 characters
sequence_day
integerĀ
optional
route_type
enum<integer>Ā
optional
Allowed values:
411
route_class
stringĀ
optional
<= 50 characters
last_modified_date_time
stringĀ <date-time>
optional
Example
[
{
"tenant_code": "string",
"territory_hierarchy": "string",
"distributor_code": "string",
"route_code": "string",
"outlet_code": "string",
"sequence_day": 0,
"route_type": 0,
"route_class": "string",
"last_modified_date_time": "2024-06-05T07:02:21.119Z"
}
]
Modified atĀ 2024-06-05 09:07:37