- 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_credit_details
POST
/api/xd/1.0/get_credit_details
xdCreditDetails
Request
Body Params application/json
principle_code
stringĀ Ā |Ā nullĀ
required
<= 10 characters
tenant_code
stringĀ Ā |Ā nullĀ
required
<= 30 characters
page_number
integerĀ <int32>
optional
start_date_time
stringĀ <date-time>Ā |Ā nullĀ
optional
end_date_time
stringĀ <date-time>Ā |Ā nullĀ
optional
customer_code
stringĀ Ā |Ā nullĀ
optional
Example
{
"principle_code": "string",
"tenant_code": "string",
"page_number": 0,
"start_date_time": "2019-08-24T14:15:22Z",
"end_date_time": "2019-08-24T14:15:22Z",
"customer_code": "string"
}
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_credit_details' \
--header 'Content-Type: application/json' \
--data-raw '{
"principle_code": "string",
"tenant_code": "string",
"page_number": 0,
"start_date_time": "2019-08-24T14:15:22Z",
"end_date_time": "2019-08-24T14:15:22Z",
"customer_code": "string"
}'
Responses
š¢200Success
application/json
Body
array of:
principle_code
stringĀ
optional
<= 24 characters
tenant_code
stringĀ
optional
<= 24 characters
location_code
stringĀ
optional
<= 24 characters
division_code
stringĀ
optional
<= 24 characters
customer_code
stringĀ
optional
<= 24 characters
credit_limit
numberĀ <float>
optional
customer_balance_due
numberĀ <float>
optional
total_numberof_invoices
integerĀ <int32>
optional
total_daysof_invoices
integerĀ <int32>
optional
blocked
integerĀ <int32>
optional
col_limit
integerĀ <int32>
optional
col_balance
integerĀ <int32>
optional
god_balance
integerĀ <int32>
optional
last_modified_date_time
stringĀ <date-time>
optional
Example
[
{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"division_code": "string",
"customer_code": "string",
"credit_limit": 0,
"customer_balance_due": 0,
"total_numberof_invoices": 0,
"total_daysof_invoices": 0,
"blocked": 0,
"col_limit": 0,
"col_balance": 0,
"god_balance": 0,
"last_modified_date_time": "2019-08-24T14:15:22Z"
}
]
Modified atĀ 2023-11-30 12:50:13