GET api/user/privileges
Get account privileges for current tenant
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of account privileges models
Collection of AccountPrivilegesName | Description | Type | Additional information |
---|---|---|---|
PrivilegeID | globally unique identifier |
None. |
|
CustomerID | globally unique identifier |
None. |
|
GroupName | string |
None. |
|
GroupPrivileges | Collection of ControllerPermission |
None. |
|
RouteScope | Collection of string |
None. |
|
Fields | Collection of FieldPermission |
None. |
|
AccountsApplied |
Number of account that these privileges apply to. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "privilegeID": "7b2726ca-31e1-48d5-bc70-eab9b85a5ed5", "customerID": "8b44c841-3b5b-43bf-9f15-384b0c409037", "groupName": "sample string 1", "groupPrivileges": [ { "$id": "2", "name": "sample string 1", "allowDefault": true, "verbs": { "$id": "3", "sample string 1": true, "sample string 3": true }, "actions": { "$id": "4", "sample string 1": true, "sample string 3": true } }, { "$ref": "2" } ], "routeScope": [ "sample string 1", "sample string 2" ], "fields": [ { "$id": "5", "id": "16c5994f-4475-4b0a-beed-38590ffdce66", "privilegeGroupId": "1e699f30-d16f-4334-8549-4c3dd5b09025", "fieldName": "sample string 1", "permission": 2, "section": "sample string 3" }, { "$ref": "5" } ], "accountsApplied": 1 }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfAccountPrivileges xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.Accounts"> <AccountPrivileges> <AccountsApplied>1</AccountsApplied> <CustomerID>8b44c841-3b5b-43bf-9f15-384b0c409037</CustomerID> <Fields xmlns:d3p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products"> <d3p1:FieldPermission> <d3p1:FieldName>sample string 1</d3p1:FieldName> <d3p1:ID>16c5994f-4475-4b0a-beed-38590ffdce66</d3p1:ID> <d3p1:Permission>2</d3p1:Permission> <d3p1:PrivilegeGroupId>1e699f30-d16f-4334-8549-4c3dd5b09025</d3p1:PrivilegeGroupId> <d3p1:Section>sample string 3</d3p1:Section> </d3p1:FieldPermission> <d3p1:FieldPermission> <d3p1:FieldName>sample string 1</d3p1:FieldName> <d3p1:ID>16c5994f-4475-4b0a-beed-38590ffdce66</d3p1:ID> <d3p1:Permission>2</d3p1:Permission> <d3p1:PrivilegeGroupId>1e699f30-d16f-4334-8549-4c3dd5b09025</d3p1:PrivilegeGroupId> <d3p1:Section>sample string 3</d3p1:Section> </d3p1:FieldPermission> </Fields> <GroupName>sample string 1</GroupName> <GroupPrivileges> <ControllerPermission> <Actions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> </Actions> <AllowDefault>true</AllowDefault> <Name>sample string 1</Name> <Verbs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> </Verbs> </ControllerPermission> <ControllerPermission> <Actions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> </Actions> <AllowDefault>true</AllowDefault> <Name>sample string 1</Name> <Verbs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> </Verbs> </ControllerPermission> </GroupPrivileges> <PrivilegeID>7b2726ca-31e1-48d5-bc70-eab9b85a5ed5</PrivilegeID> <RouteScope xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </RouteScope> </AccountPrivileges> <AccountPrivileges> <AccountsApplied>1</AccountsApplied> <CustomerID>8b44c841-3b5b-43bf-9f15-384b0c409037</CustomerID> <Fields xmlns:d3p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products"> <d3p1:FieldPermission> <d3p1:FieldName>sample string 1</d3p1:FieldName> <d3p1:ID>16c5994f-4475-4b0a-beed-38590ffdce66</d3p1:ID> <d3p1:Permission>2</d3p1:Permission> <d3p1:PrivilegeGroupId>1e699f30-d16f-4334-8549-4c3dd5b09025</d3p1:PrivilegeGroupId> <d3p1:Section>sample string 3</d3p1:Section> </d3p1:FieldPermission> <d3p1:FieldPermission> <d3p1:FieldName>sample string 1</d3p1:FieldName> <d3p1:ID>16c5994f-4475-4b0a-beed-38590ffdce66</d3p1:ID> <d3p1:Permission>2</d3p1:Permission> <d3p1:PrivilegeGroupId>1e699f30-d16f-4334-8549-4c3dd5b09025</d3p1:PrivilegeGroupId> <d3p1:Section>sample string 3</d3p1:Section> </d3p1:FieldPermission> </Fields> <GroupName>sample string 1</GroupName> <GroupPrivileges> <ControllerPermission> <Actions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> </Actions> <AllowDefault>true</AllowDefault> <Name>sample string 1</Name> <Verbs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> </Verbs> </ControllerPermission> <ControllerPermission> <Actions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> </Actions> <AllowDefault>true</AllowDefault> <Name>sample string 1</Name> <Verbs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> <d5p1:KeyValueOfstringboolean> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>true</d5p1:Value> </d5p1:KeyValueOfstringboolean> </Verbs> </ControllerPermission> </GroupPrivileges> <PrivilegeID>7b2726ca-31e1-48d5-bc70-eab9b85a5ed5</PrivilegeID> <RouteScope xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </RouteScope> </AccountPrivileges> </ArrayOfAccountPrivileges>
text/csv
Sample:
Sample not available.
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK R�[M��s� 5 xl/workbook.xml � (� ��;�0D�H����|"�PѤM�ށu��َ��c�@J�ngv���E����>rV�� �75!�A2w�T�qm%�A�ќ�:ݿ%(O�$)���y���qx���r���弡$ ��Btm���(���]MD��M�;.�B�Ihp�<�(:���)F�a�e y��<��k1��`0J���PK R�[���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d� �d�k��<�H���V���= ��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ �1Z�$�8z�R��3 tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b ��%#H'�2}���e�B)��~j/F�t��PK R�[�xI' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="Rdb0e947105ee4565" /></Relationships>PK R�[��R 3 xl/worksheets/sheet1.xml � (� ���r�0F_�Ѿ��d�8v��tѮ)�� �$�y� L�A��s��]��<}�{�$�nd��C���e��Rp4շ<e�Y�w]a<�wz�RPsX�.j��ڗ�ٹJ�67�Q�YUM!ֲ8��3��J�sc��us��R�j�y9l��_J�yӁ,)[�߽�D��g���Y2��q�7c�O�W����G�8��o��*�U~ܛ_��]4���&��)�^W�m����?���)M��<F�A��^q�F�.����ǣ�o}�$d��8~��'���2H!�1�������ɏ�o��1A�2��c��>�|J���'��X���:u>�!�))'0$!���~x��}�bL9���S�|��<K�<{j����ѳ��E�g��w�`�zw$^\͉W��sb�dN����`sb�|"}ʏ���ㄋ�.-�D���h��;Ȣϛ;Ȣ��Od~L����|�%��]b�%��w�e�;�2<y>�� j�k+�FJ#��L� �?PK R�[�J�� P xl/_rels/workbook.xml.rels � (� ��Kn� @��f_c��(N6�t��Ɗ �69[=R�P�J�#u�MV��==i����ٝ������-Y�r�`�NQ?հ�n�8ʘ&��@Ҋ -��5�A�d�܌6u��)�=��:��*�9�K�3��2��N�A�S� m�Lߝ?����1��S ��,Q��t-�(�,VB�M�xW�S�2b����2,����J������{�>]z�,/��:�1&����ѻ��~PK R�[Ѓc'2 E xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&� AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK R�[ޫEv � xl/sharedStrings.xml � (� ���n�0EE��dI�\� 7 ą'��@���P9T���K;ir6�s�r��Nw�bM��wKR��d�W����ᆶ$�ȝ��;X�W@�]�b̒��b��9�X�����`yLϰ�q� �5��(.r˵#���ilE���_#�> i���o�~����k�Ǿˏ�7�1z��?߹�O�Ǘ8��~���i�)��`�Y��<m�W�`4�)���|v!9�J(iݪ� 9/(p�m�P�Tӊ��m]�J4�֕��Ůlh�֢�u�(��T��RN!Ŗ�S�}����1 c �-8Z�;��g�t�[���{l�dณ���1�]�?���x<��>�c{2��s�����F�\����`�n��PK- R�[M��s� 5 xl/workbook.xmlPK- R�[���� � [Content_Types].xmlPK- R�[�xI' ' V _rels/.relsPK- R�[��R 3 � xl/worksheets/sheet1.xmlPK- R�[�J�� P xl/_rels/workbook.xml.relsPK- R�[Ѓc'2 E \ xl/styles.xmlPK- R�[ޫEv � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK R�[�P��� 5 xl/workbook.xml � (� ����0D�&�C�����x��}��4Ж�5���H�yۙ�};�l��4f 5jW؊��Oc��Q�;� u� c� �!d��i� �gi�\���4��rrt���r�E�\��ո�HM�ぐri��8�(���]L���M��_DE4(�h(�έ��[�0�S�gy�9�/Y����a%�~�_PK R�[���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d� �d�k��<�H���V���= ��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ �1Z�$�8z�R��3 tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b ��%#H'�2}���e�B)��~j/F�t��PK R�[`5[' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="Ra66ae8af5a9f470e" /></Relationships>PK R�[��R 3 xl/worksheets/sheet1.xml � (� ���r�0F_�Ѿ��d�8v��tѮ)�� �$�y� L�A��s��]��<}�{�$�nd��C���e��Rp4շ<e�Y�w]a<�wz�RPsX�.j��ڗ�ٹJ�67�Q�YUM!ֲ8��3��J�sc��us��R�j�y9l��_J�yӁ,)[�߽�D��g���Y2��q�7c�O�W����G�8��o��*�U~ܛ_��]4���&��)�^W�m����?���)M��<F�A��^q�F�.����ǣ�o}�$d��8~��'���2H!�1�������ɏ�o��1A�2��c��>�|J���'��X���:u>�!�))'0$!���~x��}�bL9���S�|��<K�<{j����ѳ��E�g��w�`�zw$^\͉W��sb�dN����`sb�|"}ʏ���ㄋ�.-�D���h��;Ȣϛ;Ȣ��Od~L����|�%��]b�%��w�e�;�2<y>�� j�k+�FJ#��L� �?PK R�[9��� P xl/_rels/workbook.xml.rels � (� ��An� E��f_�c��(N6�t��c�Hۜ���W(J�Ƒ��&+4��i��ϯ��c����y�@Y0 �םk8%�$`�Yﰗ)߈�#�O\l��4�(��� c�Gt�c|d�eh�(�Q�Hg��i�2�I���C��t ��: ��0}��-b������_��(�L��͌��K�u%8�0���=ƫ�o=�)�X��/�>Ԉ�2Vԯ)�MO���D����Q.X�Qm���ћ��PK R�[Ѓc'2 E xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&� AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK R�[ޫEv � xl/sharedStrings.xml � (� ���n�0EE��dI�\� 7 ą'��@���P9T���K;ir6�s�r��Nw�bM��wKR��d�W����ᆶ$�ȝ��;X�W@�]�b̒��b��9�X�����`yLϰ�q� �5��(.r˵#���ilE���_#�> i���o�~����k�Ǿˏ�7�1z��?߹�O�Ǘ8��~���i�)��`�Y��<m�W�`4�)���|v!9�J(iݪ� 9/(p�m�P�Tӊ��m]�J4�֕��Ůlh�֢�u�(��T��RN!Ŗ�S�}����1 c �-8Z�;��g�t�[���{l�dณ���1�]�?���x<��>�c{2��s�����F�\����`�n��PK- R�[�P��� 5 xl/workbook.xmlPK- R�[���� � � [Content_Types].xmlPK- R�[`5[' ' U _rels/.relsPK- R�[��R 3 � xl/worksheets/sheet1.xmlPK- R�[9��� P xl/_rels/workbook.xml.relsPK- R�[Ѓc'2 E \ xl/styles.xmlPK- R�[ޫEv � � xl/sharedStrings.xmlPK � �