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
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
Sample:
{
"id": "77103f2c-758c-4eeb-836c-db75af68189b",
"operatorID": "3ff310cb-63c3-4d79-9c69-f6558762f8c4",
"email": "sample string 3",
"password": "sample string 4",
"confirmPassword": "sample string 5",
"verified": true,
"disabled": true,
"timeZone": "sample string 8",
"storeScope": [
"1f8904d1-b2b5-4f96-853b-e6cfa23c32bc",
"29aa1c4a-5310-4fa4-8643-43737f1c0b63"
],
"privilegeGroup": "c9cdc13d-1c5a-43d1-ad7b-3bcc305cbbae",
"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>77103f2c-758c-4eeb-836c-db75af68189b</ID>
<OperatorID>3ff310cb-63c3-4d79-9c69-f6558762f8c4</OperatorID>
<Password>sample string 4</Password>
<PrivilegeGroup>c9cdc13d-1c5a-43d1-ad7b-3bcc305cbbae</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>1f8904d1-b2b5-4f96-853b-e6cfa23c32bc</d2p1:guid>
<d2p1:guid>29aa1c4a-5310-4fa4-8643-43737f1c0b63</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.