POST api/users/enable
Request Information
URI Parameters
None.
Body Parameters
UserData| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| Username | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| DisplayName | string |
None. |
|
| string |
None. |
||
| IsSuperAdmin | boolean |
None. |
|
| Commision | decimal number |
None. |
|
| Disabled | boolean |
None. |
|
| DisabledApp | boolean |
None. |
|
| Password | string |
None. |
|
| PasswordTemporal | boolean |
None. |
|
| LastLogin | date |
None. |
|
| ExtraData | Dictionary of string [key] and PropertyData [value] |
None. |
|
| UserProfileList | Collection of UserProfileData |
None. |
|
| ModifiedOn | date |
None. |
|
| Deleted | boolean |
None. |
|
| EnabledChangePriceInSale | boolean |
None. |
|
| ChangePriceInSale | ChangePriceInSaleEnum |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": "403bb5f3-2d7c-4f92-ad66-13a99473a6c4",
"Username": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"DisplayName": "sample string 4",
"Email": "sample string 5",
"IsSuperAdmin": true,
"Commision": 1.0,
"Disabled": true,
"DisabledApp": true,
"Password": "sample string 6",
"PasswordTemporal": true,
"LastLogin": "2026-02-04T02:58:44.5855853+00:00",
"ExtraData": {
"sample string 1": {
"Type": 0,
"Name": "sample string 1",
"Value": "sample string 2",
"Required": true
},
"sample string 2": {
"Type": 0,
"Name": "sample string 1",
"Value": "sample string 2",
"Required": true
},
"ChangePriceInSale": {
"Type": 2,
"Name": "ChangePriceInSale",
"Value": "NO_CHANGE",
"Required": false
}
},
"UserProfileList": [
{
"AppID": "a031a524-7290-4467-8ca9-9034851886a7",
"ApplicationBranchOfficeID": 1,
"UserID": "601d9e9d-b199-42da-a2bc-cdcb36fa5555",
"SystemProfileID": 1,
"SystemProfileName": "sample string 1",
"ProfileCodeAsEnum": 0,
"ID": 1
},
{
"AppID": "a031a524-7290-4467-8ca9-9034851886a7",
"ApplicationBranchOfficeID": 1,
"UserID": "601d9e9d-b199-42da-a2bc-cdcb36fa5555",
"SystemProfileID": 1,
"SystemProfileName": "sample string 1",
"ProfileCodeAsEnum": 0,
"ID": 1
}
],
"ModifiedOn": "2026-02-04T02:58:44.5855853+00:00",
"Deleted": true,
"EnabledChangePriceInSale": true,
"ChangePriceInSale": 0
}
text/xml
Sample:
<UserData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<ChangePriceInSale>NO_CHANGE</ChangePriceInSale>
<Commision>1</Commision>
<Deleted>true</Deleted>
<Disabled>true</Disabled>
<DisabledApp>true</DisabledApp>
<DisplayName>sample string 4</DisplayName>
<Email>sample string 5</Email>
<ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>
<Name>sample string 1</Name>
<Required>true</Required>
<Type>INT</Type>
<Value>sample string 2</Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>sample string 2</d2p1:Key>
<d2p1:Value>
<Name>sample string 1</Name>
<Required>true</Required>
<Type>INT</Type>
<Value>sample string 2</Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>ChangePriceInSale</d2p1:Key>
<d2p1:Value>
<Name>ChangePriceInSale</Name>
<Required>false</Required>
<Type>STRING</Type>
<Value>NO_CHANGE</Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
</ExtraData>
<FirstName>sample string 2</FirstName>
<ID>403bb5f3-2d7c-4f92-ad66-13a99473a6c4</ID>
<IsSuperAdmin>true</IsSuperAdmin>
<LastLogin>2026-02-04T02:58:44.5855853+00:00</LastLogin>
<LastName>sample string 3</LastName>
<ModifiedOn>2026-02-04T02:58:44.5855853+00:00</ModifiedOn>
<Password>sample string 6</Password>
<PasswordTemporal>true</PasswordTemporal>
<UserProfileList>
<UserProfileData>
<ID>1</ID>
<AppID>a031a524-7290-4467-8ca9-9034851886a7</AppID>
<ApplicationBranchOfficeID>1</ApplicationBranchOfficeID>
<ProfileCodeAsEnum>ALL</ProfileCodeAsEnum>
<SystemProfileID>1</SystemProfileID>
<SystemProfileName>sample string 1</SystemProfileName>
<UserID>601d9e9d-b199-42da-a2bc-cdcb36fa5555</UserID>
</UserProfileData>
<UserProfileData>
<ID>1</ID>
<AppID>a031a524-7290-4467-8ca9-9034851886a7</AppID>
<ApplicationBranchOfficeID>1</ApplicationBranchOfficeID>
<ProfileCodeAsEnum>ALL</ProfileCodeAsEnum>
<SystemProfileID>1</SystemProfileID>
<SystemProfileName>sample string 1</SystemProfileName>
<UserID>601d9e9d-b199-42da-a2bc-cdcb36fa5555</UserID>
</UserProfileData>
</UserProfileList>
<Username>sample string 1</Username>
</UserData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserData| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| Username | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| DisplayName | string |
None. |
|
| string |
None. |
||
| IsSuperAdmin | boolean |
None. |
|
| Commision | decimal number |
None. |
|
| Disabled | boolean |
None. |
|
| DisabledApp | boolean |
None. |
|
| Password | string |
None. |
|
| PasswordTemporal | boolean |
None. |
|
| LastLogin | date |
None. |
|
| ExtraData | Dictionary of string [key] and PropertyData [value] |
None. |
|
| UserProfileList | Collection of UserProfileData |
None. |
|
| ModifiedOn | date |
None. |
|
| Deleted | boolean |
None. |
|
| EnabledChangePriceInSale | boolean |
None. |
|
| ChangePriceInSale | ChangePriceInSaleEnum |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": "68f47f74-4f91-47c8-9bd5-6c5f0b82fe8e",
"Username": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"DisplayName": "sample string 4",
"Email": "sample string 5",
"IsSuperAdmin": true,
"Commision": 1.0,
"Disabled": true,
"DisabledApp": true,
"Password": "sample string 6",
"PasswordTemporal": true,
"LastLogin": "2026-02-04T02:58:44.5855853+00:00",
"ExtraData": {
"sample string 1": {
"Type": 0,
"Name": "sample string 1",
"Value": "sample string 2",
"Required": true
},
"sample string 2": {
"Type": 0,
"Name": "sample string 1",
"Value": "sample string 2",
"Required": true
},
"ChangePriceInSale": {
"Type": 2,
"Name": "ChangePriceInSale",
"Value": "NO_CHANGE",
"Required": false
}
},
"UserProfileList": [
{
"AppID": "86bed943-543c-4615-b75b-4614286ee08a",
"ApplicationBranchOfficeID": 1,
"UserID": "281dee5d-3bf7-4256-ae27-f5011ecba76c",
"SystemProfileID": 1,
"SystemProfileName": "sample string 1",
"ProfileCodeAsEnum": 0,
"ID": 1
},
{
"AppID": "86bed943-543c-4615-b75b-4614286ee08a",
"ApplicationBranchOfficeID": 1,
"UserID": "281dee5d-3bf7-4256-ae27-f5011ecba76c",
"SystemProfileID": 1,
"SystemProfileName": "sample string 1",
"ProfileCodeAsEnum": 0,
"ID": 1
}
],
"ModifiedOn": "2026-02-04T02:58:44.5855853+00:00",
"Deleted": true,
"EnabledChangePriceInSale": true,
"ChangePriceInSale": 0
}
text/xml
Sample:
<UserData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<ChangePriceInSale>NO_CHANGE</ChangePriceInSale>
<Commision>1</Commision>
<Deleted>true</Deleted>
<Disabled>true</Disabled>
<DisabledApp>true</DisabledApp>
<DisplayName>sample string 4</DisplayName>
<Email>sample string 5</Email>
<ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>
<Name>sample string 1</Name>
<Required>true</Required>
<Type>INT</Type>
<Value>sample string 2</Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>sample string 2</d2p1:Key>
<d2p1:Value>
<Name>sample string 1</Name>
<Required>true</Required>
<Type>INT</Type>
<Value>sample string 2</Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>ChangePriceInSale</d2p1:Key>
<d2p1:Value>
<Name>ChangePriceInSale</Name>
<Required>false</Required>
<Type>STRING</Type>
<Value>NO_CHANGE</Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
</ExtraData>
<FirstName>sample string 2</FirstName>
<ID>68f47f74-4f91-47c8-9bd5-6c5f0b82fe8e</ID>
<IsSuperAdmin>true</IsSuperAdmin>
<LastLogin>2026-02-04T02:58:44.5855853+00:00</LastLogin>
<LastName>sample string 3</LastName>
<ModifiedOn>2026-02-04T02:58:44.5855853+00:00</ModifiedOn>
<Password>sample string 6</Password>
<PasswordTemporal>true</PasswordTemporal>
<UserProfileList>
<UserProfileData>
<ID>1</ID>
<AppID>86bed943-543c-4615-b75b-4614286ee08a</AppID>
<ApplicationBranchOfficeID>1</ApplicationBranchOfficeID>
<ProfileCodeAsEnum>ALL</ProfileCodeAsEnum>
<SystemProfileID>1</SystemProfileID>
<SystemProfileName>sample string 1</SystemProfileName>
<UserID>281dee5d-3bf7-4256-ae27-f5011ecba76c</UserID>
</UserProfileData>
<UserProfileData>
<ID>1</ID>
<AppID>86bed943-543c-4615-b75b-4614286ee08a</AppID>
<ApplicationBranchOfficeID>1</ApplicationBranchOfficeID>
<ProfileCodeAsEnum>ALL</ProfileCodeAsEnum>
<SystemProfileID>1</SystemProfileID>
<SystemProfileName>sample string 1</SystemProfileName>
<UserID>281dee5d-3bf7-4256-ae27-f5011ecba76c</UserID>
</UserProfileData>
</UserProfileList>
<Username>sample string 1</Username>
</UserData>