POST api/users/create
Request Information
URI Parameters
None.
Body Parameters
UserDataName | 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": "bd156fbf-fc7b-4f14-a32c-4eb9dabb4f17", "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:57.6018209+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": "f22e7f6f-37c7-4459-8d57-079e4258a8ad", "ApplicationBranchOfficeID": 1, "UserID": "0be82513-b79d-4bbf-8c3a-1c540807a06e", "SystemProfileID": 1, "SystemProfileName": "sample string 1", "ProfileCodeAsEnum": 0, "ID": 1 }, { "AppID": "f22e7f6f-37c7-4459-8d57-079e4258a8ad", "ApplicationBranchOfficeID": 1, "UserID": "0be82513-b79d-4bbf-8c3a-1c540807a06e", "SystemProfileID": 1, "SystemProfileName": "sample string 1", "ProfileCodeAsEnum": 0, "ID": 1 } ], "ModifiedOn": "2025-08-02T19:11:57.6018209+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>bd156fbf-fc7b-4f14-a32c-4eb9dabb4f17</ID> <IsSuperAdmin>true</IsSuperAdmin> <LastLogin>2025-08-02T19:11:57.6018209+00:00</LastLogin> <LastName>sample string 3</LastName> <ModifiedOn>2025-08-02T19:11:57.6018209+00:00</ModifiedOn> <Password>sample string 6</Password> <PasswordTemporal>true</PasswordTemporal> <UserProfileList> <UserProfileData> <ID>1</ID> <AppID>f22e7f6f-37c7-4459-8d57-079e4258a8ad</AppID> <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID> <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum> <SystemProfileID>1</SystemProfileID> <SystemProfileName>sample string 1</SystemProfileName> <UserID>0be82513-b79d-4bbf-8c3a-1c540807a06e</UserID> </UserProfileData> <UserProfileData> <ID>1</ID> <AppID>f22e7f6f-37c7-4459-8d57-079e4258a8ad</AppID> <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID> <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum> <SystemProfileID>1</SystemProfileID> <SystemProfileName>sample string 1</SystemProfileName> <UserID>0be82513-b79d-4bbf-8c3a-1c540807a06e</UserID> </UserProfileData> </UserProfileList> <Username>sample string 1</Username> </UserData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserDataName | 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": "cb260864-72dc-426f-a723-99597b0dc8b8", "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:57.633062+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": "0c7e5ffd-78d9-42fa-a86b-37c181fe3bcd", "ApplicationBranchOfficeID": 1, "UserID": "d1b1f740-a543-42ff-b59c-168a07cd8a43", "SystemProfileID": 1, "SystemProfileName": "sample string 1", "ProfileCodeAsEnum": 0, "ID": 1 }, { "AppID": "0c7e5ffd-78d9-42fa-a86b-37c181fe3bcd", "ApplicationBranchOfficeID": 1, "UserID": "d1b1f740-a543-42ff-b59c-168a07cd8a43", "SystemProfileID": 1, "SystemProfileName": "sample string 1", "ProfileCodeAsEnum": 0, "ID": 1 } ], "ModifiedOn": "2025-08-02T19:11:57.633062+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>cb260864-72dc-426f-a723-99597b0dc8b8</ID> <IsSuperAdmin>true</IsSuperAdmin> <LastLogin>2025-08-02T19:11:57.633062+00:00</LastLogin> <LastName>sample string 3</LastName> <ModifiedOn>2025-08-02T19:11:57.633062+00:00</ModifiedOn> <Password>sample string 6</Password> <PasswordTemporal>true</PasswordTemporal> <UserProfileList> <UserProfileData> <ID>1</ID> <AppID>0c7e5ffd-78d9-42fa-a86b-37c181fe3bcd</AppID> <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID> <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum> <SystemProfileID>1</SystemProfileID> <SystemProfileName>sample string 1</SystemProfileName> <UserID>d1b1f740-a543-42ff-b59c-168a07cd8a43</UserID> </UserProfileData> <UserProfileData> <ID>1</ID> <AppID>0c7e5ffd-78d9-42fa-a86b-37c181fe3bcd</AppID> <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID> <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum> <SystemProfileID>1</SystemProfileID> <SystemProfileName>sample string 1</SystemProfileName> <UserID>d1b1f740-a543-42ff-b59c-168a07cd8a43</UserID> </UserProfileData> </UserProfileList> <Username>sample string 1</Username> </UserData>