POST api/users
Create or update a user account. If create adds to current tenant
Request Information
URI Parameters
None.
Body Parameters
Account model
AccountDetails| Name | 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": "fdd6addf-3b18-4637-a764-a32ea27e4a8b",
"operatorID": "ba324397-7359-4c38-85b0-e7077be83c66",
"email": "sample string 3",
"password": "sample string 4",
"confirmPassword": "sample string 5",
"verified": true,
"disabled": true,
"timeZone": "sample string 8",
"storeScope": [
"0127b19f-b94d-4e56-b4e0-569f3342a7c5",
"17c282e5-4e54-4754-a8e1-e8c6128a2f62"
],
"privilegeGroup": "09702133-9ef0-451b-93d9-caa202a1c78b",
"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>fdd6addf-3b18-4637-a764-a32ea27e4a8b</ID>
<OperatorID>ba324397-7359-4c38-85b0-e7077be83c66</OperatorID>
<Password>sample string 4</Password>
<PrivilegeGroup>09702133-9ef0-451b-93d9-caa202a1c78b</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>0127b19f-b94d-4e56-b4e0-569f3342a7c5</d2p1:guid>
<d2p1:guid>17c282e5-4e54-4754-a8e1-e8c6128a2f62</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
AccountDetails| Name | 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": "ad99defd-f13b-42ed-8dff-12e56ba823ff",
"operatorID": "541ef564-8f04-4cf5-8647-6f30425332bf",
"email": "sample string 3",
"password": "sample string 4",
"confirmPassword": "sample string 5",
"verified": true,
"disabled": true,
"timeZone": "sample string 8",
"storeScope": [
"30f992b9-80ae-4bef-9aee-359424aa0d6a",
"b20d06ed-8fa5-47ae-b1a6-d7154e6f157d"
],
"privilegeGroup": "26fe2086-aff6-45e8-9769-389e559fed62",
"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>ad99defd-f13b-42ed-8dff-12e56ba823ff</ID>
<OperatorID>541ef564-8f04-4cf5-8647-6f30425332bf</OperatorID>
<Password>sample string 4</Password>
<PrivilegeGroup>26fe2086-aff6-45e8-9769-389e559fed62</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>30f992b9-80ae-4bef-9aee-359424aa0d6a</d2p1:guid>
<d2p1:guid>b20d06ed-8fa5-47ae-b1a6-d7154e6f157d</d2p1:guid>
</StoreScope>
<TimeZone>sample string 8</TimeZone>
<Verified>true</Verified>
</AccountDetails>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PK d3�\=�3�� 5 xl/workbook.xml � (� ����0D�&�C����� '.^=x_`khK��|�o�vfg�N1�7����r[R���3�Z�
�Ɍ��7V���}1ùl�6�[��,:�Sfq /�vB����Xn���^
+J�Դ:)�fO��r6���I�b��"������%��%��w%�Pbs9�[�3~�Ҵ��8����V��w�PK d3�\���� � [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
d3�\Ӂ' ' _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="R5b3f622d8a064dc4" /></Relationships>PK d3�\�
� xl/worksheets/sheet1.xml � (� ���s�0������$��Q;m��l�>�>�+S���߀�2�n_���|�����t�}��H��Ї ��Zϲy�~��r�C���.�ߋ�R���uq��eYn�°�-UA�Qk�l��i\���-��d���l��ub�X��U\�W�dS��j�R���*��KHW�Ri����`�����\-���M�A
�JԮ8�����ɲ���n>�Q͆=xR��%��joW�4�ݪ�mYj��Z3�VE}�Ҥ������>�y������8*|o�-�,��m��7z|�� � Bt��֓FOz��E@%�;���o�F�,��,�5X��5zv�� (bء㍎��N4:����F/z����2� .��j����H!9Gr$���thD$��kІp�kDT��"�
m��;���'X��B<8I "F�. ���E=�N2@t/�ށ�X{�І��0����%��Y��!sHI�ut� �rG�6�pLd�t�KV�J��Z!��zj��2
�l���c]���ЗE=���*����A�Qi�O@����K����}�v�I����M�`]�O�.q�'D����K��8f��`AW-�a�1|}� ��/�p�Ղ�N-���P�>|L��/-���U���cb�}mA�'���ƍ�Z�%w�hɽ1Z�ӽ�7��F��ȳy� ���jA��L-�4r�Lĥ�yT�$�J��3��C;�PK d3�\n7�~� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�NR���ݰa[z��Q;�]�gc���V� �X��j4��'�|���o�H^0���x���S^�����=l7��2�h�9���b6���Ҩ,N2~F�;ƇI�����Re��dLаd�5���3���>zu�Х?��Շc�� �^�S?�H/��
�Iw�kjӚ��P��R��Л��t1�z}�QIv�R�Jcm��2V��)�K/���Z�j��U�Y�sQ�W��PK d3�\Ѓ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 d3�\��8� � xl/sharedStrings.xml � (� �T]o�0�+Qޝ�d j;�vT��:�� 7�N-�#��n���u��U<���s��<�~<8�6L�y�FI��a����wP�bI0W�� L\/f���I���k�wql�l"5�tUZ`뎺�͠s ���Y�T��L�A�Fi�a�^%{a�pO���.6�Yl����l��*�37n*���ؘG��_*I�o�_@3���W��=����E4�[��Υ����8��j�]�,h�y����cy���y��G���V�LN�|������|�ad�_��;,���f�9j�5���`]�<��!@ �i�GEՄR�fPV{\g9�SMY�@˪@5M
Tt�DuU\���I��y��=��b���]���2]\�K�z��x-��XNƂ���s���Dk��z]tˌ��~�}c=2�}��*
YRWSZ���5WU�l(�*�l(�v�oGi�̳t�}�����u�@b�10�{�͙y���V� PK- d3�\=�3�� 5 xl/workbook.xmlPK- d3�\���� � [Content_Types].xmlPK-
d3�\Ӂ' ' V _rels/.relsPK- d3�\�
� � xl/worksheets/sheet1.xmlPK- d3�\n7�~� P � xl/_rels/workbook.xml.relsPK- d3�\Ѓc'2 E
= xl/styles.xmlPK- d3�\��8� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
PK d3�\�G�� 5 xl/workbook.xml � (� ����0��&�C��� �N\�z�^a�
�'m
>��o�vfg�:k;>��GN�U���{S�:���6��n�V2�}=��Vwo ʓ,I.��ļ��qa^i�����z���V�dB��x@�.�fe0�����"�)a�ETH1 5n�gE���8��V"�"���Z@��<�r��w%���PK d3�\���� � [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
d3�\�-^' ' _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="R4310d1f479b34278" /></Relationships>PK d3�\�
� xl/worksheets/sheet1.xml � (� ���s�0������$��Q;m��l�>�>�+S���߀�2�n_���|�����t�}��H��Ї ��Zϲy�~��r�C���.�ߋ�R���uq��eYn�°�-UA�Qk�l��i\���-��d���l��ub�X��U\�W�dS��j�R���*��KHW�Ri����`�����\-���M�A
�JԮ8�����ɲ���n>�Q͆=xR��%��joW�4�ݪ�mYj��Z3�VE}�Ҥ������>�y������8*|o�-�,��m��7z|�� � Bt��֓FOz��E@%�;���o�F�,��,�5X��5zv�� (bء㍎��N4:����F/z����2� .��j����H!9Gr$���thD$��kІp�kDT��"�
m��;���'X��B<8I "F�. ���E=�N2@t/�ށ�X{�І��0����%��Y��!sHI�ut� �rG�6�pLd�t�KV�J��Z!��zj��2
�l���c]���ЗE=���*����A�Qi�O@����K����}�v�I����M�`]�O�.q�'D����K��8f��`AW-�a�1|}� ��/�p�Ղ�N-���P�>|L��/-���U���cb�}mA�'���ƍ�Z�%w�hɽ1Z�ӽ�7��F��ȳy� ���jA��L-�4r�Lĥ�yT�$�J��3��C;�PK d3�\��r� P xl/_rels/workbook.xml.rels � (� ��Kn� @��f_�1��(N6�t�����9[=R�P�J-���&�H����$���c�{[f�>L�tPe��������v��Yƴ��������[SԈ��uh�D[�ȘJ?P'�QH9c+�s\3����?D������ӂ&����È��0v��
��"Q�<��k������x)J.�Л��x�1�z}י�%*�J!Z!���2���?E�~:w�ۙ��\��Y�+Q���F��b�PK d3�\Ѓ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 d3�\��8� � xl/sharedStrings.xml � (� �T]o�0�+Qޝ�d j;�vT��:�� 7�N-�#��n���u��U<���s��<�~<8�6L�y�FI��a����wP�bI0W�� L\/f���I���k�wql�l"5�tUZ`뎺�͠s ���Y�T��L�A�Fi�a�^%{a�pO���.6�Yl����l��*�37n*���ؘG��_*I�o�_@3���W��=����E4�[��Υ����8��j�]�,h�y����cy���y��G���V�LN�|������|�ad�_��;,���f�9j�5���`]�<��!@ �i�GEՄR�fPV{\g9�SMY�@˪@5M
Tt�DuU\���I��y��=��b���]���2]\�K�z��x-��XNƂ���s���Dk��z]tˌ��~�}c=2�}��*
YRWSZ���5WU�l(�*�l(�v�oGi�̳t�}�����u�@b�10�{�͙y���V� PK- d3�\�G�� 5 xl/workbook.xmlPK- d3�\���� � [Content_Types].xmlPK-
d3�\�-^' ' V _rels/.relsPK- d3�\�
� � xl/worksheets/sheet1.xmlPK- d3�\��r� P � xl/_rels/workbook.xml.relsPK- d3�\Ѓc'2 E
= xl/styles.xmlPK- d3�\��8� � � xl/sharedStrings.xmlPK � �