POST api/users/enable

Request Information

URI Parameters

None.

Body Parameters

UserData
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

Username

string

None.

FirstName

string

None.

LastName

string

None.

DisplayName

string

None.

Email

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": "fd91cc9f-9cd0-40b1-bcb9-16efdb1a36e6",
  "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": "2025-08-02T19:11:58.101826+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": "d4e31b56-cf4d-4b8f-bf36-e1bda9ca5f47",
      "ApplicationBranchOfficeID": 1,
      "UserID": "cd2310c5-bec4-4eec-822c-c5dc56c33a17",
      "SystemProfileID": 1,
      "SystemProfileName": "sample string 1",
      "ProfileCodeAsEnum": 0,
      "ID": 1
    },
    {
      "AppID": "d4e31b56-cf4d-4b8f-bf36-e1bda9ca5f47",
      "ApplicationBranchOfficeID": 1,
      "UserID": "cd2310c5-bec4-4eec-822c-c5dc56c33a17",
      "SystemProfileID": 1,
      "SystemProfileName": "sample string 1",
      "ProfileCodeAsEnum": 0,
      "ID": 1
    }
  ],
  "ModifiedOn": "2025-08-02T19:11:58.101826+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>fd91cc9f-9cd0-40b1-bcb9-16efdb1a36e6</ID>
  <IsSuperAdmin>true</IsSuperAdmin>
  <LastLogin>2025-08-02T19:11:58.101826+00:00</LastLogin>
  <LastName>sample string 3</LastName>
  <ModifiedOn>2025-08-02T19:11:58.101826+00:00</ModifiedOn>
  <Password>sample string 6</Password>
  <PasswordTemporal>true</PasswordTemporal>
  <UserProfileList>
    <UserProfileData>
      <ID>1</ID>
      <AppID>d4e31b56-cf4d-4b8f-bf36-e1bda9ca5f47</AppID>
      <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID>
      <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum>
      <SystemProfileID>1</SystemProfileID>
      <SystemProfileName>sample string 1</SystemProfileName>
      <UserID>cd2310c5-bec4-4eec-822c-c5dc56c33a17</UserID>
    </UserProfileData>
    <UserProfileData>
      <ID>1</ID>
      <AppID>d4e31b56-cf4d-4b8f-bf36-e1bda9ca5f47</AppID>
      <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID>
      <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum>
      <SystemProfileID>1</SystemProfileID>
      <SystemProfileName>sample string 1</SystemProfileName>
      <UserID>cd2310c5-bec4-4eec-822c-c5dc56c33a17</UserID>
    </UserProfileData>
  </UserProfileList>
  <Username>sample string 1</Username>
</UserData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserData
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

Username

string

None.

FirstName

string

None.

LastName

string

None.

DisplayName

string

None.

Email

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": "98623024-4881-4dc4-a6f3-826997c86d7a",
  "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": "2025-08-02T19:11:58.101826+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": "3eed24c1-98ac-433c-9255-069d97f53b36",
      "ApplicationBranchOfficeID": 1,
      "UserID": "98401476-01a8-4424-8137-5cae4fed9f3d",
      "SystemProfileID": 1,
      "SystemProfileName": "sample string 1",
      "ProfileCodeAsEnum": 0,
      "ID": 1
    },
    {
      "AppID": "3eed24c1-98ac-433c-9255-069d97f53b36",
      "ApplicationBranchOfficeID": 1,
      "UserID": "98401476-01a8-4424-8137-5cae4fed9f3d",
      "SystemProfileID": 1,
      "SystemProfileName": "sample string 1",
      "ProfileCodeAsEnum": 0,
      "ID": 1
    }
  ],
  "ModifiedOn": "2025-08-02T19:11:58.101826+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>98623024-4881-4dc4-a6f3-826997c86d7a</ID>
  <IsSuperAdmin>true</IsSuperAdmin>
  <LastLogin>2025-08-02T19:11:58.101826+00:00</LastLogin>
  <LastName>sample string 3</LastName>
  <ModifiedOn>2025-08-02T19:11:58.101826+00:00</ModifiedOn>
  <Password>sample string 6</Password>
  <PasswordTemporal>true</PasswordTemporal>
  <UserProfileList>
    <UserProfileData>
      <ID>1</ID>
      <AppID>3eed24c1-98ac-433c-9255-069d97f53b36</AppID>
      <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID>
      <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum>
      <SystemProfileID>1</SystemProfileID>
      <SystemProfileName>sample string 1</SystemProfileName>
      <UserID>98401476-01a8-4424-8137-5cae4fed9f3d</UserID>
    </UserProfileData>
    <UserProfileData>
      <ID>1</ID>
      <AppID>3eed24c1-98ac-433c-9255-069d97f53b36</AppID>
      <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID>
      <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum>
      <SystemProfileID>1</SystemProfileID>
      <SystemProfileName>sample string 1</SystemProfileName>
      <UserID>98401476-01a8-4424-8137-5cae4fed9f3d</UserID>
    </UserProfileData>
  </UserProfileList>
  <Username>sample string 1</Username>
</UserData>