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": "e1c15c95-8812-410b-9ef7-c75c16ec08c8",
"operatorID": "e889b3ea-771e-459f-8e9f-7e25f077ae74",
"email": "sample string 3",
"password": "sample string 4",
"confirmPassword": "sample string 5",
"verified": true,
"disabled": true,
"timeZone": "sample string 8",
"storeScope": [
"d2d13eea-7583-4f03-a4ef-f40e06692b64",
"79572dc6-8be1-4c63-a3bc-0f70a085a647"
],
"privilegeGroup": "51e7d7c3-cc0c-4a46-9d9b-b026452a6bfb",
"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>e1c15c95-8812-410b-9ef7-c75c16ec08c8</ID>
<OperatorID>e889b3ea-771e-459f-8e9f-7e25f077ae74</OperatorID>
<Password>sample string 4</Password>
<PrivilegeGroup>51e7d7c3-cc0c-4a46-9d9b-b026452a6bfb</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>d2d13eea-7583-4f03-a4ef-f40e06692b64</d2p1:guid>
<d2p1:guid>79572dc6-8be1-4c63-a3bc-0f70a085a647</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": "1309d49c-8a3b-4892-be8a-a927c4fa9c80",
"operatorID": "fcd41777-dd90-4dd0-af25-1be6a85f5b0a",
"email": "sample string 3",
"password": "sample string 4",
"confirmPassword": "sample string 5",
"verified": true,
"disabled": true,
"timeZone": "sample string 8",
"storeScope": [
"19c0b1ed-8bec-4582-8841-c184cc9ef1e5",
"e78fa248-8034-43bb-9712-257541bc4e70"
],
"privilegeGroup": "074b7f0a-3003-4bf7-8889-656fa41d00ba",
"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>1309d49c-8a3b-4892-be8a-a927c4fa9c80</ID>
<OperatorID>fcd41777-dd90-4dd0-af25-1be6a85f5b0a</OperatorID>
<Password>sample string 4</Password>
<PrivilegeGroup>074b7f0a-3003-4bf7-8889-656fa41d00ba</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>19c0b1ed-8bec-4582-8841-c184cc9ef1e5</d2p1:guid>
<d2p1:guid>e78fa248-8034-43bb-9712-257541bc4e70</d2p1:guid>
</StoreScope>
<TimeZone>sample string 8</TimeZone>
<Verified>true</Verified>
</AccountDetails>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PK ���\��ꁷ 5 xl/workbook.xml � (� ����0��&�C��H
)��x���"
�'m
>��o�vfg�6k;6Z��#'�
[��{S��$w'm@�]���>H�"��E�n��'i����Ľ��
�8���a9c�wn �rZQ����!�4{
�]����.&"k���X��Q!�%���c�{W�3F�ax�9���,��W��w#���PK ���\���� � [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
���\Xj�' ' _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="R92788315cf0443a2" /></Relationships>PK ���\�@K.� �
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�d�{us7��f�<�_��{s����r��nU�,�IQ��e��>ziRY�{i�Y�wɼ\}�I(�Z3�e���?���^�5>U3�")D��r���A4���dBp���6z�M}�裣��q��E�s��=;�e 1�m����ԉF'�ٯl��8���đ��k=�6-�t�s��@z�1q8�
:=p"�����ܙ�3�"�
m��;���'X��B<8I "�|�9���E=�N2@�,��@R��pTh����@�dR:+�1�c) ��� ���������2`ɪT�yZ+��]��q�y������_]]�ˢ����U��c��G�m��>]�O�.1��K\� �%&}"�7}�u��>���]�]�O�.���a�1\}� ��O���قƾX��WbX;� GoC�C��1}�/2쾴 ��W}~�-����1��X��7rkA���Yc$���O�Z�ȣyr#�n�ł_�1�2� ��ax�#.����'YV���3���PK ���\ԉ�9� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8���i7lؖ^�q�q�Ďl��Xp$��U$H%l����I3�����<��at��"ˁ�U����)�v��'�D0�HZ����@iPg2��M��,cJ�@��r@��~̀k&9���i=*|t�4������`#����~J�^B�%*����=�8�ț��(���Z�� ï�w��);VH�5�n�Me���?G�.�vZ�WjB�%2^��D��E�^���PK ���\Ѓ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 ���\��Mn� � xl/sharedStrings.xml � (� �Tao�0�+Q�;q��IP�I���4։>��x�_ZK���N���c
-f����=�;�<�z����%a�0@��?�ߑ"�ɡU�M\-����I�Y�Gk�7ql�;0��Q:�Q����^#psD�]O(��L
�.�Խ:Hq?��7�˹]n���.���Odף���\����c��c|�d#t�� �hz�Z�[ߋ?���x�b�\*�1-N��n�zo�G�ZB[��=� ��z{o�����Q!�W>`�`�VYќ}�~�_��[����v�9��
Z�i����Y�HiM���� PNr�5P���5
�Y��9ἤ$�h&S��8�b�Lk
c���o�5Z����t�:=�*�/���l,v�J�-�K2����n��ߒ/�nl����4�꼡@RJS��MN��(�l:k K8��?H����V�t�Y�~�A�uT�> ��%H&�Do�z0�2��[Y~PK- ���\��ꁷ 5 xl/workbook.xmlPK- ���\���� � [Content_Types].xmlPK-
���\Xj�' ' V _rels/.relsPK- ���\�@K.� �
� xl/worksheets/sheet1.xmlPK- ���\ԉ�9� P � xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
9 xl/styles.xmlPK- ���\��Mn� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
PK ���\K�� 5 xl/workbook.xml � (� ����0��&�C���48q���{i��H����[J ��mgv��if�_��/�ѓ �o��� |���:0i'��,&��J�8��5�HhQT��Ģ�&�����a灉0D=�(͔���P�4{(�C����.&"k�����/�B�ihq�"�(;7��3F�Vi��Cu��
Y��;{�5d��}PK ���\���� � [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
���\��' ' _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="Rf3ac178ca9f04061" /></Relationships>PK ���\�@K.� �
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�d�{us7��f�<�_��{s����r��nU�,�IQ��e��>ziRY�{i�Y�wɼ\}�I(�Z3�e���?���^�5>U3�")D��r���A4���dBp���6z�M}�裣��q��E�s��=;�e 1�m����ԉF'�ٯl��8���đ��k=�6-�t�s��@z�1q8�
:=p"�����ܙ�3�"�
m��;���'X��B<8I "�|�9���E=�N2@�,��@R��pTh����@�dR:+�1�c) ��� ���������2`ɪT�yZ+��]��q�y������_]]�ˢ����U��c��G�m��>]�O�.1��K\� �%&}"�7}�u��>���]�]�O�.���a�1\}� ��O���قƾX��WbX;� GoC�C��1}�/2쾴 ��W}~�-����1��X��7rkA���Yc$���O�Z�ȣyr#�n�ł_�1�2� ��ax�#.����'YV���3���PK ���\�nG� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8qM>�i7l�-��c����m�n�gc���V� �X��j4��'�|���o�D���hME�A#�M��)����'�DFHZ1��!F�Di��"d֡Im�,bJ}O��G�#ey^R�d�-�.�C�Z���<�h�`�j�1��A�c?�@����N���]Y3�Lu��b@���B�L~����#guSV�FT\����£z�>]z�,/�*)��C�(�J}U�7��PK ���\Ѓ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 ���\��Mn� � xl/sharedStrings.xml � (� �Tao�0�+Q�;q��IP�I���4։>��x�_ZK���N���c
-f����=�;�<�z����%a�0@��?�ߑ"�ɡU�M\-����I�Y�Gk�7ql�;0��Q:�Q����^#psD�]O(��L
�.�Խ:Hq?��7�˹]n���.���Odף���\����c��c|�d#t�� �hz�Z�[ߋ?���x�b�\*�1-N��n�zo�G�ZB[��=� ��z{o�����Q!�W>`�`�VYќ}�~�_��[����v�9��
Z�i����Y�HiM���� PNr�5P���5
�Y��9ἤ$�h&S��8�b�Lk
c���o�5Z����t�:=�*�/���l,v�J�-�K2����n��ߒ/�nl����4�꼡@RJS��MN��(�l:k K8��?H����V�t�Y�~�A�uT�> ��%H&�Do�z0�2��[Y~PK- ���\K�� 5 xl/workbook.xmlPK- ���\���� � [Content_Types].xmlPK-
���\��' ' V _rels/.relsPK- ���\�@K.� �
� xl/worksheets/sheet1.xmlPK- ���\�nG� P � xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
8 xl/styles.xmlPK- ���\��Mn� � � xl/sharedStrings.xmlPK � �