POST api/users
Create or update a user account. If create adds to current tenant
Request Information
URI Parameters
None.
Body Parameters
Account model
AccountDetailsName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
OperatorID | globally unique identifier |
None. |
|
string |
Data type: EmailAddress |
||
Password | string |
None. |
|
ConfirmPassword | string |
None. |
|
Verified | boolean |
None. |
|
Disabled | boolean |
None. |
|
TimeZone | string |
None. |
|
StoreScope | Collection of globally unique identifier |
None. |
|
PrivilegeGroup | globally unique identifier |
None. |
|
ExternalSender | boolean |
None. |
|
CanPromptStores | boolean |
None. |
|
PromptStoresOnLogin | boolean |
None. |
|
ReleaseNotify | boolean |
None. |
|
Required | boolean |
None. |
|
PrivilegeGroupName | string |
Relation. This field may not always be loaded or used for updates. |
|
StoreIDs | Collection of integer |
Relation. This field may not always be loaded or used for updates. |
|
SecurityOptions | SecurityOptions |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
{ "id": "0a8bec5e-f7c9-4a01-9b79-14ec093f8519", "operatorID": "b4d5a8a7-36f3-44a8-a969-a378128e3749", "email": "sample string 3", "password": "sample string 4", "confirmPassword": "sample string 5", "verified": true, "disabled": true, "timeZone": "sample string 8", "storeScope": [ "5db5cc80-028d-420e-bc75-98a24589076e", "c5e76b87-f1cf-4f54-886a-3f7fb2140e80" ], "privilegeGroup": "2f9bde58-7073-4fbf-b26e-8ad4785e0b4a", "externalSender": true, "canPromptStores": true, "promptStoresOnLogin": true, "releaseNotify": true, "required": true, "privilegeGroupName": "sample string 14", "storeIDs": [ 1, 2 ], "securityOptions": { "$id": "2", "loginMode": 1, "allowSelfVerification": true, "verifierEmail": "sample string 3", "source": "sample string 4", "loginModeInherited": 5, "loginModeSource": "sample string 6", "selfVerifyInherited": true, "selfVerifySource": "sample string 8", "verifyEmailInherited": "sample string 9", "verifyEmailSource": "sample string 10" } }
application/xml, text/xml
<AccountDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.Accounts"> <CanPromptStores>true</CanPromptStores> <ConfirmPassword>sample string 5</ConfirmPassword> <Disabled>true</Disabled> <Email>sample string 3</Email> <ExternalSender>true</ExternalSender> <ID>0a8bec5e-f7c9-4a01-9b79-14ec093f8519</ID> <OperatorID>b4d5a8a7-36f3-44a8-a969-a378128e3749</OperatorID> <Password>sample string 4</Password> <PrivilegeGroup>2f9bde58-7073-4fbf-b26e-8ad4785e0b4a</PrivilegeGroup> <PrivilegeGroupName>sample string 14</PrivilegeGroupName> <PromptStoresOnLogin>true</PromptStoresOnLogin> <ReleaseNotify>true</ReleaseNotify> <Required>true</Required> <SecurityOptions xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Service.Tenancies.Browser"> <d2p1:AllowSelfVerification>true</d2p1:AllowSelfVerification> <d2p1:LoginMode>1</d2p1:LoginMode> <d2p1:LoginModeInherited>5</d2p1:LoginModeInherited> <d2p1:LoginModeSource>sample string 6</d2p1:LoginModeSource> <d2p1:SelfVerifyInherited>true</d2p1:SelfVerifyInherited> <d2p1:SelfVerifySource>sample string 8</d2p1:SelfVerifySource> <d2p1:Source>sample string 4</d2p1:Source> <d2p1:VerifierEmail>sample string 3</d2p1:VerifierEmail> <d2p1:VerifyEmailInherited>sample string 9</d2p1:VerifyEmailInherited> <d2p1:VerifyEmailSource>sample string 10</d2p1:VerifyEmailSource> </SecurityOptions> <StoreIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </StoreIDs> <StoreScope xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>5db5cc80-028d-420e-bc75-98a24589076e</d2p1:guid> <d2p1:guid>c5e76b87-f1cf-4f54-886a-3f7fb2140e80</d2p1:guid> </StoreScope> <TimeZone>sample string 8</TimeZone> <Verified>true</Verified> </AccountDetails>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
AccountDetails model
AccountDetailsName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
OperatorID | globally unique identifier |
None. |
|
string |
Data type: EmailAddress |
||
Password | string |
None. |
|
ConfirmPassword | string |
None. |
|
Verified | boolean |
None. |
|
Disabled | boolean |
None. |
|
TimeZone | string |
None. |
|
StoreScope | Collection of globally unique identifier |
None. |
|
PrivilegeGroup | globally unique identifier |
None. |
|
ExternalSender | boolean |
None. |
|
CanPromptStores | boolean |
None. |
|
PromptStoresOnLogin | boolean |
None. |
|
ReleaseNotify | boolean |
None. |
|
Required | boolean |
None. |
|
PrivilegeGroupName | string |
Relation. This field may not always be loaded or used for updates. |
|
StoreIDs | Collection of integer |
Relation. This field may not always be loaded or used for updates. |
|
SecurityOptions | SecurityOptions |
Relation. This field may not always be loaded or used for updates. |
Response Formats
application/json, text/json
{ "id": "4aff689c-6a72-452c-b098-28c3dd3d7568", "operatorID": "7cd88426-3b9d-4987-86e4-704f499a8644", "email": "sample string 3", "password": "sample string 4", "confirmPassword": "sample string 5", "verified": true, "disabled": true, "timeZone": "sample string 8", "storeScope": [ "cc2846cb-3908-436f-9a13-27ea71a4e07b", "ef3fe81e-9ffd-4681-8fcc-773e2b7cff7d" ], "privilegeGroup": "d9358afc-c5e0-422a-bfba-45e221c33b4e", "externalSender": true, "canPromptStores": true, "promptStoresOnLogin": true, "releaseNotify": true, "required": true, "privilegeGroupName": "sample string 14", "storeIDs": [ 1, 2 ], "securityOptions": { "$id": "2", "loginMode": 1, "allowSelfVerification": true, "verifierEmail": "sample string 3", "source": "sample string 4", "loginModeInherited": 5, "loginModeSource": "sample string 6", "selfVerifyInherited": true, "selfVerifySource": "sample string 8", "verifyEmailInherited": "sample string 9", "verifyEmailSource": "sample string 10" } }
application/xml, text/xml
<AccountDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.Accounts"> <CanPromptStores>true</CanPromptStores> <ConfirmPassword>sample string 5</ConfirmPassword> <Disabled>true</Disabled> <Email>sample string 3</Email> <ExternalSender>true</ExternalSender> <ID>4aff689c-6a72-452c-b098-28c3dd3d7568</ID> <OperatorID>7cd88426-3b9d-4987-86e4-704f499a8644</OperatorID> <Password>sample string 4</Password> <PrivilegeGroup>d9358afc-c5e0-422a-bfba-45e221c33b4e</PrivilegeGroup> <PrivilegeGroupName>sample string 14</PrivilegeGroupName> <PromptStoresOnLogin>true</PromptStoresOnLogin> <ReleaseNotify>true</ReleaseNotify> <Required>true</Required> <SecurityOptions xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Service.Tenancies.Browser"> <d2p1:AllowSelfVerification>true</d2p1:AllowSelfVerification> <d2p1:LoginMode>1</d2p1:LoginMode> <d2p1:LoginModeInherited>5</d2p1:LoginModeInherited> <d2p1:LoginModeSource>sample string 6</d2p1:LoginModeSource> <d2p1:SelfVerifyInherited>true</d2p1:SelfVerifyInherited> <d2p1:SelfVerifySource>sample string 8</d2p1:SelfVerifySource> <d2p1:Source>sample string 4</d2p1:Source> <d2p1:VerifierEmail>sample string 3</d2p1:VerifierEmail> <d2p1:VerifyEmailInherited>sample string 9</d2p1:VerifyEmailInherited> <d2p1:VerifyEmailSource>sample string 10</d2p1:VerifyEmailSource> </SecurityOptions> <StoreIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </StoreIDs> <StoreScope xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>cc2846cb-3908-436f-9a13-27ea71a4e07b</d2p1:guid> <d2p1:guid>ef3fe81e-9ffd-4681-8fcc-773e2b7cff7d</d2p1:guid> </StoreScope> <TimeZone>sample string 8</TimeZone> <Verified>true</Verified> </AccountDetails>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PK .�D[��j� 5 xl/workbook.xml � (� ���� D�&��DkE�Оz���;���h S?ߖ�M�yۙ�};lt�k�����6��*ơ $����N;��q��E��Z@��ۀ�$;)��� J/�Xa��۠ ������j�C��͞Ɛ�d�ug�%D~S,������J\��1Jν-� #_�ixH�����U��&2��7#���PK .�D[���� � [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 .�D[����' ' _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="Rd7192941669e4d91" /></Relationships>PK .�D[�۹� xl/worksheets/sheet1.xml � (� ��]s�0�� ��BN��Q;m����b���X��8��?�H��no&�{�y�z���W�r>U�E�z肇\G�g�<Z��m��!���`���R����:;K��2�7g��͖*3/٨�^[$i��1}���"��q2��j��!�j��U�2�d�ڿ��6� ���վTFkw4�G�z�{'U��{gS�:�hP�?#�ˎ��I�Q<�͇.*Y�Oʗ���\-��*�&�[�/smRPjf�*+�NֹN~���h�/�.��PD��3�fy��/C]e�Ǖ7z�QΉ�I���ғ���DPɄ����Vz�M}P�F�<�8`�]����ҳ�^z@��W:��:Q��7���^�{ݲ>r$�<�T'&`�� b�� ��V�Dq����n��3�"=��A�;��ΈN���-������e�sC_u� 8� �gAt�b�EO�:|Ф��(@�dR�V�cM)��� ���BHh e�����L?�ʩ5�p4H����˺~qw�o�r�����9B���V�e��6q�%p�w �&��m�.���.���m��m�K�6q�%d�x�8f��hAW�,�a�1|}� ����p�͂�N-H㭯�wHn҇�"��Kb�}�E���~_[��1���Gn-�q$w�8�{b�C�^���~�y�G^-���|� F^�D9�&�R<�t�$�J˙y���PK .�D[Ead�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�' U�nذ-��q�q�Ďl��Xp$��U$H%l����I3�����4�q�^0 ��pJ殁�v��Q�<�0G�W\l��4�)���b�gt�c|�T�i���Q�Hc5 K\3��<��ޘA�ק ]�L_}8F���T�1��S��x��@��ƈ��e��2�l� Bo��y�����/d��a�3�5R#���U���N��B�,EW�s����5z��/PK .�D[Ѓ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 .�D[��� � xl/sharedStrings.xml � (� �Tao�0�+Q�;I�4MP�I���4։>��x�_ZK���N���c -f����=�=�<�z�DpBm���p%a��*��a~ܿ#e��P�M\-����I�Y�Gk�7ql�;0��Q:�U����^#0sD����$)���ia�^$�p�pO���.��yl�����'��Q�U�g��T1�����_)�rݽDB�[�����{��g��1^;�XS�Ϙ�'.������hQK5J��3�N����������u�r|� ��������~��o��{���sT#4��]o]�<:��-ʊ�f)ɧ)%MR�$-i�X�fӢkf��e�$k*F���̒�ͫ �"��]/�5Z��ٿ�W�S�z���\�e���b��H/��6(]�htÍ�6����f���XͪlZBK �bB�4Ҵ ��a�Nh�5�+�&^��v��6K=K�O�=H8��j�'N1ڣI9��V�¼P��}+��PK- .�D[��j� 5 xl/workbook.xmlPK- .�D[���� � [Content_Types].xmlPK- .�D[����' ' V _rels/.relsPK- .�D[�۹� � xl/worksheets/sheet1.xmlPK- .�D[Ead�� P � xl/_rels/workbook.xml.relsPK- .�D[Ѓc'2 E < xl/styles.xmlPK- .�D[��� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
PK .�D[�K�� 5 xl/workbook.xml � (� ����0��&�C��-*��x�བ�6�.ik���'�x�3;������ؒ��\�|Au�}�XP�������q��Űi�� �ۂ�,�<e: ��M�B��z� �nAYi-�;B����f9k��$l ��T>ö�Y'-��QR2;������q�uGu��^Ou����`9[�_PK .�D[���� � [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 .�D[:ݥ�' ' _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="R27d58b3080984212" /></Relationships>PK .�D[�۹� xl/worksheets/sheet1.xml � (� ��]s�0�� ��BN��Q;m����b���X��8��?�H��no&�{�y�z���W�r>U�E�z肇\G�g�<Z��m��!���`���R����:;K��2�7g��͖*3/٨�^[$i��1}���"��q2��j��!�j��U�2�d�ڿ��6� ���վTFkw4�G�z�{'U��{gS�:�hP�?#�ˎ��I�Q<�͇.*Y�Oʗ���\-��*�&�[�/smRPjf�*+�NֹN~���h�/�.��PD��3�fy��/C]e�Ǖ7z�QΉ�I���ғ���DPɄ����Vz�M}P�F�<�8`�]����ҳ�^z@��W:��:Q��7���^�{ݲ>r$�<�T'&`�� b�� ��V�Dq����n��3�"=��A�;��ΈN���-������e�sC_u� 8� �gAt�b�EO�:|Ф��(@�dR�V�cM)��� ���BHh e�����L?�ʩ5�p4H����˺~qw�o�r�����9B���V�e��6q�%p�w �&��m�.���.���m��m�K�6q�%d�x�8f��hAW�,�a�1|}� ����p�͂�N-H㭯�wHn҇�"��Kb�}�E���~_[��1���Gn-�q$w�8�{b�C�^���~�y�G^-���|� F^�D9�&�R<�t�$�J˙y���PK .�D[o��� P xl/_rels/workbook.xml.rels � (� ��An� E����l'N'�n�Ms�1���9[=R�P�J�#u�MVh��� �����4�W�a���<�)A#�L��s�O5�m7!��\ � �ctkƂ�q��Y�&u���T��9�'萉<_0?g�{&9^��h�$>[y���?��b�)#�cC��n����j�˚���rQ�J�����B��~���LKh�� J�%����z�>mz�4�gj-T�-@�JU�������PK .�D[Ѓ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 .�D[��� � xl/sharedStrings.xml � (� �Tao�0�+Q�;I�4MP�I���4։>��x�_ZK���N���c -f����=�=�<�z�DpBm���p%a��*��a~ܿ#e��P�M\-����I�Y�Gk�7ql�;0��Q:�U����^#0sD����$)���ia�^$�p�pO���.��yl�����'��Q�U�g��T1�����_)�rݽDB�[�����{��g��1^;�XS�Ϙ�'.������hQK5J��3�N����������u�r|� ��������~��o��{���sT#4��]o]�<:��-ʊ�f)ɧ)%MR�$-i�X�fӢkf��e�$k*F���̒�ͫ �"��]/�5Z��ٿ�W�S�z���\�e���b��H/��6(]�htÍ�6����f���XͪlZBK �bB�4Ҵ ��a�Nh�5�+�&^��v��6K=K�O�=H8��j�'N1ڣI9��V�¼P��}+��PK- .�D[�K�� 5 xl/workbook.xmlPK- .�D[���� � [Content_Types].xmlPK- .�D[:ݥ�' ' V _rels/.relsPK- .�D[�۹� � xl/worksheets/sheet1.xmlPK- .�D[o��� P � xl/_rels/workbook.xml.relsPK- .�D[Ѓc'2 E = xl/styles.xmlPK- .�D[��� � � xl/sharedStrings.xmlPK � �