Request
Body Params application/json
{
"route_detail": [
{
"tenant_code": "string",
"distributor_code": "string",
"salesman_code": "string",
"salesman_name": "string",
"address": "string",
"city": "string",
"state": "string",
"zip": "string",
"phone": "string",
"is_active": 1,
"password": "string",
"route_code": "string",
"route_name": "string",
"authorizeditem_code": "string",
"journeyplan_code": "string",
"journey_type": 4
}
]
}
Request Code Samples
curl --location --request POST 'https://testapi.com/api/xc/1.0/set_route' \
--header 'Content-Type: application/json' \
--data-raw '{
"route_detail": [
{
"tenant_code": "string",
"distributor_code": "string",
"salesman_code": "string",
"salesman_name": "string",
"address": "string",
"city": "string",
"state": "string",
"zip": "string",
"phone": "string",
"is_active": 1,
"password": "string",
"route_code": "string",
"route_name": "string",
"authorizeditem_code": "string",
"journeyplan_code": "string",
"journey_type": 4
}
]
}'
Responses
application/json {
"status": 0,
"message": "string",
"transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482",
"record_count": 0
}
Modified atĀ 2024-04-23 11:56:37