- 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_pricing_plan
POST
/api/xc/1.0/get_pricing_plan
xcPricingPlan
Request
Body Params application/json
tenant_code
stringĀ Ā |Ā nullĀ
optional
distributor_code
stringĀ Ā |Ā nullĀ
optional
page_number
integerĀ <int32>
optional
start_date_time
stringĀ <date-time>Ā |Ā nullĀ
optional
end_date_time
stringĀ <date-time>Ā |Ā nullĀ
optional
Example
{
"tenant_code": "string",
"distributor_code": "string",
"page_number": 0,
"start_date_time": "2019-08-24T14:15:22Z",
"end_date_time": "2019-08-24T14:15:22Z"
}
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_pricing_plan' \
--header 'Content-Type: application/json' \
--data-raw '{
"tenant_code": "string",
"distributor_code": "string",
"page_number": 0,
"start_date_time": "2019-08-24T14:15:22Z",
"end_date_time": "2019-08-24T14:15:22Z"
}'
Responses
š¢200Success
application/json
Body
array of:
tenant_code
stringĀ
required
<= 12 characters
pricing_code
stringĀ
required
<= 24 characters
pricing_discription
stringĀ
required
<= 50 characters
price_plan_detail
arrayĀ [object {10}]Ā
optional
tenant_code
stringĀ
required
<= 12 characters
pricing_code
stringĀ
required
<= 24 characters
effective_date
stringĀ <date-time>
required
item_code
stringĀ
required
<= 18 characters
mrp
numberĀ <double>
optional
base_uom
stringĀ
required
<= 20 characters
conversion1
numberĀ <double>
required
sales_price
numberĀ <double>
required
sales_price_in_base_uom
numberĀ <double>
required
active_indicator
enum<integer>Ā <int32>
required
Allowed values:
01
distributor_price_mapping
arrayĀ [object {3}]Ā
optional
tenant_code
stringĀ
required
<= 12 characters
pricing_code
stringĀ
required
<= 24 characters
distributor_code
stringĀ
required
<= 24 characters
Example
[
{
"tenant_code": "string",
"pricing_code": "string",
"pricing_discription": "string",
"price_plan_detail": [
{
"tenant_code": "string",
"pricing_code": "string",
"effective_date": "2019-08-24T14:15:22Z",
"item_code": "string",
"mrp": 0,
"base_uom": "string",
"conversion1": 0,
"sales_price": 0,
"sales_price_in_base_uom": 0,
"active_indicator": 0
}
],
"distributor_price_mapping": [
{
"tenant_code": "string",
"pricing_code": "string",
"distributor_code": "string"
}
]
}
]
Modified atĀ 2024-02-01 11:29:01