Execute some action on CSV file import
post
/rest/{versionId}/routeSets/{routeSetId}/importFile/{taskId}/action
Use this(POST) API to cancel the CSV file upload for adding routes to a routeset.The user needs to provide route set id and import csv file task id as part of resource URI. Also user needs to provide the action type in the API body.
Request
Supported Media Types
- application/xml
- application/json
Path Parameters
-
routeSetId: string
The route set Id on which file import task is running.
-
taskId: string
The task Id of file import on which specified action needs to be executed.
-
versionId: string
The rest api version, it's value is v1.3.
Response
Supported Media Types
- application/xml
- application/json
200 Response
successful operation
400 Response
The user input is invalid.
401 Response
The session ID is invalid.
403 Response
There is no permission to access the resources.
404 Response
The object (resource URI, device, and so on) of your input request cannot be found.
500 Response
Internal server error