Get a Tenant by ID
get
/api/AAA/Tenants/{id}
Gets the tenant that matches the specified ID.
Request
Path Parameters
-
id(required): integer(int32)
The tenant ID.Example:
1
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Match All
Show Source
-
object
SuccessfulGetOperation
The response body for a successful get operation.
-
object
type
Nested Schema : SuccessfulGetOperation
Type:
objectThe response body for a successful get operation.
Show Source
-
message: string
The response message.Example:
Loaded 1 entries -
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : AAATenantsRead
Type:
Show Source
object-
DeviceZones: array
DeviceZones
The list of device zones associated with the tenant
-
TenantID: integer
The tenant ID.Example:
1 -
TenantName: string
The tenant name.Example:
Oracle -
UserGroups: array
UserGroups
The list of user groups associated with the tenant
Nested Schema : DeviceZones
Type:
arrayThe list of device zones associated with the tenant
Show Source
Nested Schema : UserGroups
Type:
arrayThe list of user groups associated with the tenant
Show Source
Nested Schema : items
Type:
Show Source
object-
DeviceZoneID: integer
The device zone IDExample:
1 -
DeviceZoneName: string
The device zone name.Example:
Default First Zone
Nested Schema : items
Type:
Show Source
object-
UserGroupID: integer
The user group IDExample:
2 -
UserGroupName: string
The user group name.Example:
Operators
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
-
Array of:
object items
An error.
Nested Schema : items
Type:
objectAn error.