Create Multiple Entities
post
/vision/api/entities/import
Creates multiple entities.
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
- application/json
Nested Schema : schema
Type:
object
The entity details.
Show Source
-
address: string
The entity address.Example:
2300 Oracle Way, Austin, TX 78741
-
id: integer
(int64)
The entity ID.Example:
123
-
ipAddress: string
The entity IPv4 address.Example:
192.0.2.1
-
ipV6Address: string
The entity IPv6 address.Example:
2001:db8:3333:4444:5555:6666:7777:8888
-
lat: number
(double)
The entity latitude.Example:
30.243128396829135
-
lng: number
(double)
The entity longitude.Example:
-97.72173882639726
-
metaData: object
metaData
Additional Properties Allowed: additionalPropertiesMetadata for the entity.
-
name: string
The entity name.Example:
entity123
-
useInDashboard: boolean
Whether the entity can be used as a site for links in dashboards (true) or not (false).Example:
true
-
zoneId: integer
(int64)
The entity zone ID.Example:
1
Nested Schema : metaData
Type:
object
Additional Properties Allowed
Show Source
Metadata for the entity.
Example:
type: dDevice
Nested Schema : additionalProperties
Type:
object
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