- 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_user_list
POST
/api/xc/1.0/set_user_list
xcUserList
Request
Body Params application/json
user_list
arrayĀ [object {21}]Ā
optional
tenant_code
stringĀ
required
<= 12 characters
user_code
stringĀ
required
<= 50 characters
user_description
stringĀ
optional
<= 100 characters
employee_code
stringĀ
required
<= 24 characters
employee_name
stringĀ
required
<= 100 characters
gender
enum<string>Ā
optional
<= 1 characters
Allowed values:
MF
date_of_birth
stringĀ <date-time>
optional
date_of_joining
stringĀ <date-time>
optional
email_address
stringĀ
required
<= 60 characters
phone
stringĀ
optional
<= 60 characters
mobile
stringĀ
optional
<= 60 characters
education
stringĀ
optional
<= 50 characters
total_experience
numberĀ <double>
optional
id_card_no
stringĀ
optional
<= 50 characters
id_card_expiry_date
stringĀ <date-time>
optional
organization_hierarchy
stringĀ
optional
<= 100 characters
territory_hierarchy
stringĀ
required
approval_status
enum<integer>Ā <int32>
required
Allowed values:
12
is_active
enum<integer>Ā <int32>
required
Allowed values:
10
role_name
stringĀ
required
<= 50 characters
is_super_user
enum<integer>Ā <int32>
required
Allowed values:
10
Example
{
"user_list": [
{
"tenant_code": "string",
"user_code": "string",
"user_description": "string",
"employee_code": "string",
"employee_name": "string",
"gender": "M",
"date_of_birth": "2019-08-24T14:15:22Z",
"date_of_joining": "2019-08-24T14:15:22Z",
"email_address": "string",
"phone": "string",
"mobile": "string",
"education": "string",
"total_experience": 0,
"id_card_no": "string",
"id_card_expiry_date": "2019-08-24T14:15:22Z",
"organization_hierarchy": "string",
"territory_hierarchy": "string",
"approval_status": 1,
"is_active": 1,
"role_name": "string",
"is_super_user": 1
}
]
}
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_user_list' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_list": [
{
"tenant_code": "string",
"user_code": "string",
"user_description": "string",
"employee_code": "string",
"employee_name": "string",
"gender": "M",
"date_of_birth": "2019-08-24T14:15:22Z",
"date_of_joining": "2019-08-24T14:15:22Z",
"email_address": "string",
"phone": "string",
"mobile": "string",
"education": "string",
"total_experience": 0,
"id_card_no": "string",
"id_card_expiry_date": "2019-08-24T14:15:22Z",
"organization_hierarchy": "string",
"territory_hierarchy": "string",
"approval_status": 1,
"is_active": 1,
"role_name": "string",
"is_super_user": 1
}
]
}'
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Ā 2023-12-04 05:50:15