POST api/user/{id}
Update a user account, in account id location
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Account identifier |
globally unique identifier |
Required |
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
Sample:
{ "id": "013927f0-be9b-4a53-962f-daef07d595ad", "operatorID": "b181e994-6b18-44f9-b3f5-8c3aaf8af258", "email": "sample string 3", "password": "sample string 4", "confirmPassword": "sample string 5", "verified": true, "disabled": true, "timeZone": "sample string 8", "storeScope": [ "d74d3cc9-0038-4607-9b89-b9ee47708c36", "d54f941d-f5c9-4779-ab26-40e7d0dd3595" ], "privilegeGroup": "b45fda92-b3c3-41ff-bda1-7bc4b5e2c925", "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
Sample:
<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>013927f0-be9b-4a53-962f-daef07d595ad</ID> <OperatorID>b181e994-6b18-44f9-b3f5-8c3aaf8af258</OperatorID> <Password>sample string 4</Password> <PrivilegeGroup>b45fda92-b3c3-41ff-bda1-7bc4b5e2c925</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>d74d3cc9-0038-4607-9b89-b9ee47708c36</d2p1:guid> <d2p1:guid>d54f941d-f5c9-4779-ab26-40e7d0dd3595</d2p1:guid> </StoreScope> <TimeZone>sample string 8</TimeZone> <Verified>true</Verified> </AccountDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.