- 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/set_asset_detail
POST
/api/xc/1.0/set_asset_detail
xcAssetDetail
Request
Body Params application/json
asset_detail
arrayĀ [object {22}]Ā
optional
tenant_code
stringĀ
optional
<= 12 characters
asset_code
stringĀ
optional
<= 24 characters
asset_description
stringĀ
optional
<= 100 characters
serial_number
stringĀ
optional
<= 40 characters
ean_no
stringĀ
optional
<= 40 characters
asset_model
stringĀ
optional
<= 12 characters
asset_make
stringĀ
optional
<= 12 characters
asset_vendor
stringĀ
optional
<= 12 characters
asset_type
stringĀ
optional
<= 12 characters
division_code
stringĀ
optional
<= 24 characters
outlet_code
stringĀ
optional
<= 24 characters
purchase_date
stringĀ <date-time>
optional
purchase_value
numberĀ <double>
optional
maintenance_details
stringĀ
optional
<= 100 characters
maintenance_expiry_date
stringĀ <date-time>
optional
additional_info
stringĀ
optional
branding
stringĀ
optional
<= 100 characters
capacity
numberĀ <double>
optional
depth
numberĀ <double>
optional
height
numberĀ <double>
optional
width
numberĀ <double>
optional
status
integerĀ <int32>
optional
Example
{
"asset_detail": [
{
"tenant_code": "string",
"asset_code": "string",
"asset_description": "string",
"serial_number": "string",
"ean_no": "string",
"asset_model": "string",
"asset_make": "string",
"asset_vendor": "string",
"asset_type": "string",
"division_code": "string",
"outlet_code": "string",
"purchase_date": "2019-08-24T14:15:22Z",
"purchase_value": 0,
"maintenance_details": "string",
"maintenance_expiry_date": "2019-08-24T14:15:22Z",
"additional_info": "string",
"branding": "string",
"capacity": 0,
"depth": 0,
"height": 0,
"width": 0,
"status": 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/set_asset_detail' \
--header 'Content-Type: application/json' \
--data-raw '{
"asset_detail": [
{
"tenant_code": "string",
"asset_code": "string",
"asset_description": "string",
"serial_number": "string",
"ean_no": "string",
"asset_model": "string",
"asset_make": "string",
"asset_vendor": "string",
"asset_type": "string",
"division_code": "string",
"outlet_code": "string",
"purchase_date": "2019-08-24T14:15:22Z",
"purchase_value": 0,
"maintenance_details": "string",
"maintenance_expiry_date": "2019-08-24T14:15:22Z",
"additional_info": "string",
"branding": "string",
"capacity": 0,
"depth": 0,
"height": 0,
"width": 0,
"status": 0
}
]
}'
Responses
š¢200Success
application/json
Body
status
integerĀ <int32>
optional
message
stringĀ Ā |Ā nullĀ
optional
transaction_id
stringĀ <uuid>
optional
record_count
integerĀ <int32>
optional
Example
{
"status": 0,
"message": "string",
"transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482",
"record_count": 0
}
Modified atĀ 2024-02-01 11:10:47