Create Multiple Entities from a CSV File
post
/vision/api/entities/importCsv
Creates multiple entities from the CSV file provided in the request body.
Unified Assurance roles with the following Vision package permissions have access to this endpoint:
Unified Assurance roles with the following Vision package permissions have access to this endpoint:
- Admin
- Api
Request
There are no request parameters for this operation.
Supported Media Types
- multipart/form-data
Root Schema : schema
Type:
string(binary)
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : SuccessResponse
Type:
object
The success response details.
Show Source
-
csrfToken: string
The security token to prevent cross-site request forgery (CSRF).Example:
12345
-
message: string
The response message.Example:
The entities were added successfully.
-
reason: string
The reason phrase for the response.Example:
OK
-
status: integer
(int32)
The response status code.Example:
200
401 Response
Unauthorized Access
Root Schema : schema
Type:
object
The error response details.
Show Source
-
message: string
The error message.Example:
An internal server error occurred.
-
reason: string
The reason phrase for the response.Example:
INTERNAL SERVER ERROR
-
status: integer
(int32)
The response status code.Example:
500
422 Response
Unprocessable Entity. Usually due to not providing a required field.
Root Schema : schema
Type:
object
The error response details.
Show Source
-
message: string
The error message.Example:
An internal server error occurred.
-
reason: string
The reason phrase for the response.Example:
INTERNAL SERVER ERROR
-
status: integer
(int32)
The response status code.Example:
500
500 Response
An internal server error occurred while accessing the database or performing a database operation.
Root Schema : schema
Type:
object
The error response details.
Show Source
-
message: string
The error message.Example:
An internal server error occurred.
-
reason: string
The reason phrase for the response.Example:
INTERNAL SERVER ERROR
-
status: integer
(int32)
The response status code.Example:
500