Import a CSV File in to route Set
post
/rest/{versionId}/routeSets/{routeSetId}/importFile
Use this method (POST) to import a CSV file having route information to a RouteSetUser needs to provide routeSetId, contain header, file delimiter and template id details in the request query parameters.Also User need to provide the CSV file to be uploaded as part of request body
Request
Supported Media Types
- multipart/form-data
Path Parameters
-
routeSetId: string
The route set id to which routes in the file needs to be imported.
-
versionId: string
The rest api version, it's value is v1.3.
Query Parameters
-
containsHeader(optional): string
This parameter will have value (YES/NO) depending whether file contains header information.
-
fileDelimiter(optional): string
The character used as delimiter in the file to be imported.
-
templateId(optional): string
The id of the template used to import routes from the file.
Form Parameters
Back to Top
Response
Supported Media Types
- application/xml
- application/json
200 Response
successful operation
202 Response
The user request is accepted.
400 Response
The user input is invalid.
401 Response
The session ID is invalid.
403 Response
There is no permission to access the Resource
404 Response
The object (resource URI, device, and so on) of your input request cannot be found.
500 Response
Internal server error