- 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_distributor
POST
/api/xc/1.0/get_distributor
xcDistributorDetail
Request
Body Params application/json
tenant_code
stringĀ
required
<= 50 characters
start_date
stringĀ <date-time>
optional
end_date
stringĀ <date-time>
optional
page_number
integerĀ <int32>
required
Example
{
"tenant_code": "string",
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z",
"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_distributor' \
--header 'Content-Type: application/json' \
--data-raw '{
"tenant_code": "string",
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z",
"page_number": 0
}'
Responses
š¢200Success
application/json
Body
array of:
tenant_code
stringĀ
optional
<= 24 characters
distributor_code
stringĀ
optional
<= 12 characters
distributor_name
stringĀ
optional
<= 50 characters
address
stringĀ
optional
<= 300 characters
city
stringĀ
optional
<= 40 characters
state
stringĀ
optional
<= 40 characters
country
stringĀ
optional
<= 40 characters
zip
stringĀ
optional
<= 10 characters
phone
stringĀ
optional
<= 50 characters
mobile
stringĀ
optional
<= 100 characters
email
stringĀ
optional
<= 150 characters
website
stringĀ
optional
<= 60 characters
owner_name
stringĀ
optional
<= 200 characters
sales_tax_number
stringĀ
optional
<= 50 characters
license_number
stringĀ
optional
<= 50 characters
trade_id_number
stringĀ
optional
<= 50 characters
cst_number
stringĀ
optional
<= 50 characters
gst_registration_type
integerĀ <int32>
optional
gst_number
stringĀ
optional
<= 50 characters
pan_card_number
stringĀ
optional
<= 50 characters
state_code
stringĀ
optional
<= 12 characters
license_number1
stringĀ
optional
<= 50 characters
license_start_date1
stringĀ <date-time>
optional
license_expiry_date1
stringĀ <date-time>
optional
license_number2
stringĀ
optional
<= 50 characters
license_start_date2
stringĀ <date-time>
optional
license_expiry_date2
stringĀ <date-time>
optional
category_code1
stringĀ
optional
<= 12 characters
category_code2
stringĀ
optional
<= 12 characters
category_code3
stringĀ
optional
<= 12 characters
category_code4
stringĀ
optional
<= 12 characters
category_code5
stringĀ
optional
<= 12 characters
category_code6
stringĀ
optional
<= 12 characters
category_code7
stringĀ
optional
<= 12 characters
category_code8
stringĀ
optional
<= 12 characters
category_code9
stringĀ
optional
<= 12 characters
category_code10
stringĀ
optional
<= 12 characters
cfa_code
stringĀ
optional
<= 24 characters
distributor_hierarchy_code
stringĀ
optional
<= 100 characters
hierarchy_code
stringĀ
optional
<= 100 characters
hierarchy_code1
stringĀ
optional
<= 100 characters
hierarchy_code2
stringĀ
optional
<= 100 characters
hierarchy_code3
stringĀ
optional
<= 100 characters
territory_hierarchy
stringĀ
optional
<= 100 characters
organization_hierarchy
stringĀ
optional
<= 50 characters
currency_code
stringĀ
optional
<= 3 characters
created_date
stringĀ <date-time>
optional
is_active
integerĀ
optional
inactive_date
stringĀ <date-time>
optional
parent_distributor_code
stringĀ
optional
<= 24 characters
reference_outlet_code
stringĀ
optional
<= 24 characters
distributor_name_a
stringĀ
optional
<= 100 characters
distributor_attribute1
stringĀ
optional
<= 100 characters
geo_code_x
numberĀ <double>
optional
geo_code_y
numberĀ <double>
optional
Example
[
{
"tenant_code": "string",
"distributor_code": "string",
"distributor_name": "string",
"address": "string",
"city": "string",
"state": "string",
"country": "string",
"zip": "string",
"phone": "string",
"mobile": "string",
"email": "string",
"website": "string",
"owner_name": "string",
"sales_tax_number": "string",
"license_number": "string",
"trade_id_number": "string",
"cst_number": "string",
"gst_registration_type": 0,
"gst_number": "string",
"pan_card_number": "string",
"state_code": "string",
"license_number1": "string",
"license_start_date1": "2019-08-24T14:15:22Z",
"license_expiry_date1": "2019-08-24T14:15:22Z",
"license_number2": "string",
"license_start_date2": "2019-08-24T14:15:22Z",
"license_expiry_date2": "2019-08-24T14:15:22Z",
"category_code1": "string",
"category_code2": "string",
"category_code3": "string",
"category_code4": "string",
"category_code5": "string",
"category_code6": "string",
"category_code7": "string",
"category_code8": "string",
"category_code9": "string",
"category_code10": "string",
"cfa_code": "string",
"distributor_hierarchy_code": "string",
"hierarchy_code": "string",
"hierarchy_code1": "string",
"hierarchy_code2": "string",
"hierarchy_code3": "string",
"territory_hierarchy": "string",
"organization_hierarchy": "string",
"currency_code": "str",
"created_date": "2019-08-24T14:15:22Z",
"is_active": 0,
"inactive_date": "2019-08-24T14:15:22Z",
"parent_distributor_code": "string",
"reference_outlet_code": "string",
"distributor_name_a": "string",
"distributor_attribute1": "string",
"geo_code_x": 0,
"geo_code_y": 0
}
]
Modified atĀ 2024-06-26 04:22:57