{
"route_setup": [
{
"tenant_code": "string",
"location_code": "string",
"route_code": "string",
"route_name": "string",
"route_name_a": "string",
"admin_email": "string",
"vehicle_code": "string",
"hht_device_serial_number": "string",
"salesman_code": "string",
"is_active": 0,
"max_load_limit": 0,
"warehouse_code": "string",
"gl_account_code": "string",
"journey_plan_code": "string",
"printer_name": "string",
"bank_account_number": "string",
"credit_limit": 0,
"exposure_limit": 0,
"authorized_item_code": "string",
"sector": 0,
"use_back_office": 0,
"load_plan_code": "string",
"route_type": 0,
"allow_inventory_cycle": 0,
"default_delivery_date": "2024-04-16T11:26:01.272Z",
"default_cash_customer": "string",
"sales_quota_limit": 0,
"route_division": [
{
"tenant_code": "string",
"location_code": "string",
"route_code": "string",
"division_code": "string"
}
]
}
]
}
curl --location --request POST 'https://testapi.com/api/xd/1.0/set_route_setup' \
--header 'Content-Type: application/json' \
--data-raw '{
"route_setup": [
{
"tenant_code": "string",
"location_code": "string",
"route_code": "string",
"route_name": "string",
"route_name_a": "string",
"admin_email": "string",
"vehicle_code": "string",
"hht_device_serial_number": "string",
"salesman_code": "string",
"is_active": 0,
"max_load_limit": 0,
"warehouse_code": "string",
"gl_account_code": "string",
"journey_plan_code": "string",
"printer_name": "string",
"bank_account_number": "string",
"credit_limit": 0,
"exposure_limit": 0,
"authorized_item_code": "string",
"sector": 0,
"use_back_office": 0,
"load_plan_code": "string",
"route_type": 0,
"allow_inventory_cycle": 0,
"default_delivery_date": "2024-04-16T11:26:01.272Z",
"default_cash_customer": "string",
"sales_quota_limit": 0,
"route_division": [
{
"tenant_code": "string",
"location_code": "string",
"route_code": "string",
"division_code": "string"
}
]
}
]
}'
{
"status": 0,
"message": "string",
"transaction_id": "string",
"record_count": 0
}