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": "c0971590-c8a9-44ad-88e4-dcdbd3693a4d",
"operatorID": "da44d796-7f6f-4cb3-b109-3a3e986fd7f3",
"email": "sample string 3",
"password": "sample string 4",
"confirmPassword": "sample string 5",
"verified": true,
"disabled": true,
"timeZone": "sample string 8",
"storeScope": [
"63cfa119-7aa8-4e09-8b95-2f6a9b3d9e7e",
"27334936-8b30-4011-ba3e-4c849a7f4c1f"
],
"privilegeGroup": "2132fe98-83c1-41ae-97da-169d61d03b4a",
"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>c0971590-c8a9-44ad-88e4-dcdbd3693a4d</ID>
<OperatorID>da44d796-7f6f-4cb3-b109-3a3e986fd7f3</OperatorID>
<Password>sample string 4</Password>
<PrivilegeGroup>2132fe98-83c1-41ae-97da-169d61d03b4a</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>63cfa119-7aa8-4e09-8b95-2f6a9b3d9e7e</d2p1:guid>
<d2p1:guid>27334936-8b30-4011-ba3e-4c849a7f4c1f</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.