Create a Device Configuration Collection
post
/api/config/Collections
Creates a new device configuration collection.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
ConfigActionProfileID: integer
Config Action Profile IDExample:
1002 -
ConfigAgentProfileID: integer
Config Agent Profile IDExample:
1001 -
DeviceName: string
The device the collection pertains to.Example:
Some Device -
Devices: array
Devices
Device ID array Allowed Values: - To prevent Collection duplication Device, Profile, and Action must be unique.
-
DeviceZoneName: string
The name of the zone the device is inExample:
Default First Zone -
StatusID: integer
Status ID Allowed Values: - 0 => Disabled - 1 => EnabledExample:
0
Nested Schema : Devices
Type:
arrayDevice ID array
Allowed Values:
- To prevent Collection duplication Device, Profile, and Action must be unique.
Example:
[50,19]Response
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : SuccessfulAddOperation
Type:
Show Source
object-
message: string
The response message.Example:
Added record -
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : type
Type:
Show Source
object-
data: array
data
The properties of the new device configuration collection.
-
total: integer
The total number of results regardless of paging.Example:
1
Nested Schema : data
Type:
arrayThe properties of the new device configuration collection.
Show Source
Nested Schema : configCollectionsRead
Type:
Show Source
object-
ActionName: string
Action NameExample:
Example Action Name -
ConfigActionProfileID: integer
Config Action Profile IDExample:
1002 -
ConfigAgentProfileID: integer
Config Agent Profile IDExample:
1001 -
ConfigCollectionID: integer
Config Collection IDExample:
1003 -
DeviceID: integer
Device IDExample:
303 -
DeviceName: string
Device Name most commonly Host FQDNExample:
server.domain.com -
DeviceZoneName: string
Device zone name.Example:
Default First Zone -
ProfileName: string
Profile NameExample:
SSH Profile -
Status: string
Status based on StatusID. - If StatusID is 0, Status will be "Disabled" - If StatusID is 1, Status will be "Enabled"Example:
Disabled -
StatusIcon: string
Status image name based on StatusID. - If StatusID is 0, StatusIcon will be "OrbRed.png" - If StatusID is 1, StatusIcon will be "OrbGreen.png"Example:
OrbRed.png -
StatusID: integer
Status ID Allowed Values: - 0 => Disabled - 1 => EnabledExample:
0
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown -
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
Nested Schema : errors
Type:
arrayThe list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type:
object