POST api/access/changeaccess
Request Information
URI Parameters
None.
Body Parameters
ChangeAccessDataName | Description | Type | Additional information |
---|---|---|---|
UserID | globally unique identifier |
None. |
|
Username | string |
None. |
|
Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": "afdd2b9e-11ad-4745-8c03-6743082627b4", "Username": "sample string 1", "Password": "sample string 2" }
text/xml
Sample:
<ChangeAccessData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data"> <Password>sample string 2</Password> <UserID>afdd2b9e-11ad-4745-8c03-6743082627b4</UserID> <Username>sample string 1</Username> </ChangeAccessData>
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": "693f89ff-1b4f-4b65-ac48-3268bf4c1f3b", "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.6018241+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": "80bed153-92c7-4d66-a188-b1873dd44b85", "ApplicationBranchOfficeID": 1, "UserID": "a6084da3-9a16-4fcf-94b8-9b82be325b63", "SystemProfileID": 1, "SystemProfileName": "sample string 1", "ProfileCodeAsEnum": 0, "ID": 1 }, { "AppID": "80bed153-92c7-4d66-a188-b1873dd44b85", "ApplicationBranchOfficeID": 1, "UserID": "a6084da3-9a16-4fcf-94b8-9b82be325b63", "SystemProfileID": 1, "SystemProfileName": "sample string 1", "ProfileCodeAsEnum": 0, "ID": 1 } ], "ModifiedOn": "2025-08-02T19:11:58.6018241+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>693f89ff-1b4f-4b65-ac48-3268bf4c1f3b</ID> <IsSuperAdmin>true</IsSuperAdmin> <LastLogin>2025-08-02T19:11:58.6018241+00:00</LastLogin> <LastName>sample string 3</LastName> <ModifiedOn>2025-08-02T19:11:58.6018241+00:00</ModifiedOn> <Password>sample string 6</Password> <PasswordTemporal>true</PasswordTemporal> <UserProfileList> <UserProfileData> <ID>1</ID> <AppID>80bed153-92c7-4d66-a188-b1873dd44b85</AppID> <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID> <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum> <SystemProfileID>1</SystemProfileID> <SystemProfileName>sample string 1</SystemProfileName> <UserID>a6084da3-9a16-4fcf-94b8-9b82be325b63</UserID> </UserProfileData> <UserProfileData> <ID>1</ID> <AppID>80bed153-92c7-4d66-a188-b1873dd44b85</AppID> <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID> <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum> <SystemProfileID>1</SystemProfileID> <SystemProfileName>sample string 1</SystemProfileName> <UserID>a6084da3-9a16-4fcf-94b8-9b82be325b63</UserID> </UserProfileData> </UserProfileList> <Username>sample string 1</Username> </UserData>