get https://api.zenoti.com/v1/organizations/security_roles?type=
This API helps you to fetch the list of security roles in a center.
You must specify appropriate details for the type
parameter in the API request.
Name | Type | Description |
---|
security_roles | object | Object that contains security ID and security role-related elements. For more information, refer to the security_roles Object table. |
page_info | object | Object that contains the pagination-related elements of the response. For more information, refer to the page_info Object table. |
error | object | Object that contains error message and error code details. For more information, refer to the error Object table. |
Name | Type | Description |
---|
id | guid | Unique 32-character identifier of the security role. |
name | string | Name of the security role in the center. For example, Inventory Manager. |
Name | Type | Description |
---|
total | int | Total records found in the response. |
page | int | Number of pages to be viewed. |
size | int | Number of records displayed per page. |
code | message |
---|
502 | Type 0 will only be supported at present that is for only center. |