Tenants / Get current

Get current tenant

Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/tenants/get_current

Method: GET

Authorisation: Minimum role: USER

Request Arguments
Name Type Source

  Request body example

No input arguments
Response object

Response status: 200 (OK)

Response type: DTO_list[]

Wrapper: DTO_response_wrap_get_many

Other response statuses: 400 (BadRequest), 403 (Forbidden)

  Response body example

DTO_list
NameTypeReadOnlyDescription
list_fieldsDTO_list_field[]List fields
group_accessDTO_group_access[]Group access
sys_tagsDTO_reference[]Label can be used on POST/PUT to create new tags
created_byDTO_reference_userReadOnlyCreated by
last_updated_byDTO_reference_userReadOnlyLast updated by
idInt32ReadOnlyLeave empty on input
typeENUM list_typeReadOnlyType
highest_group_permissionENUM group_permissionReadOnlyHighest group permission
nameStringName
unique_keyStringUnique key
descriptionStringDescription
entries_countInt32Entries count
createdDateTimeReadOnlyCreated
last_updatedDateTimeReadOnlyLast updated
DTO_list_field
NameTypeReadOnlyDescription
idInt32Id
is_requiredBooleanIs required
is_unique_identifierBooleanIs unique identifier
DTO_group_access
NameTypeReadOnlyDescription
permissionENUM group_permissionPermission
idInt32Id
labelObjectReadOnlyLabel
DTO_reference
NameTypeReadOnlyDescription
idInt32The id of the reference
labelObjectReadOnlyName/Label from referenced object.
DTO_reference_user
NameTypeReadOnlyDescription
profile_picStringReadOnlyProfile pic
emailStringReadOnlyEmail
idInt32Id
labelObjectReadOnlyLabel
ENUM group_permission
ValueNameDescription
0UNKNOWNUNKNOWN
1READRead only
2EDITEdit
3FULLFull
ENUM list_type
ValueNameDescription
0UNKNOWNUNKNOWN
1CUSTOMCUSTOM
2SYS_TAGSSYS_TAGS
3SYS_TICKET_STATUSESSYS_TICKET_STATUSES
4SYS_TICKET_PRIORITIESSYS_TICKET_PRIORITIES
5SYS_TICKET_TYPESSYS_TICKET_TYPES
6SYS_TICKET_FORM_TYPESSYS_TICKET_FORM_TYPES
7SYS_KB_TYPESYS_KB_TYPE
9SYS_FILESSYS_FILES
10SYS_MULTI_OPTIONSSYS_MULTI_OPTIONS