POST api/access/change-my-access
Request Information
URI Parameters
None.
Body Parameters
ChangeMyAccessData| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
None. |
|
| OldPassword | string |
None. |
|
| NewPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"OldPassword": "sample string 2",
"NewPassword": "sample string 3"
}
text/xml
Sample:
<ChangeMyAccessData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data"> <NewPassword>sample string 3</NewPassword> <OldPassword>sample string 2</OldPassword> <Username>sample string 1</Username> </ChangeMyAccessData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SessionData| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
None. |
|
| AppID | globally unique identifier |
None. |
|
| ApplicationBranchOfficeID | integer |
None. |
|
| TerminalID | integer |
None. |
|
| UserID | globally unique identifier |
None. |
|
| ProfileCodeAsEnum | UserProfileEnum |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| ExpirationDate | date |
None. |
|
| ExternalToken | string |
None. |
|
| EnabledChangePriceInSale | boolean |
None. |
|
| Username | string |
None. |
|
| UserDisplayName | string |
None. |
|
| IsSuperAdmin | boolean |
None. |
|
| ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Token": "sample string 1",
"AppID": "93168530-db26-4447-adbc-a4504ad868c1",
"ApplicationBranchOfficeID": 1,
"TerminalID": 1,
"UserID": "994460cd-81c1-4df2-a56c-a2540b5ec781",
"ProfileCodeAsEnum": 0,
"StartDate": "2026-03-21T22:25:40.2699232+00:00",
"EndDate": "2026-03-21T22:25:40.2699232+00:00",
"ExpirationDate": "2026-03-21T22:25:40.2699232+00:00",
"ExternalToken": "sample string 2",
"EnabledChangePriceInSale": true,
"Username": "sample string 3",
"UserDisplayName": "sample string 4",
"IsSuperAdmin": false,
"ID": 1
}
text/xml
Sample:
<SessionData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data"> <ID>1</ID> <AppID>93168530-db26-4447-adbc-a4504ad868c1</AppID> <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID> <EnabledChangePriceInSale>true</EnabledChangePriceInSale> <EndDate>2026-03-21T22:25:40.2699232+00:00</EndDate> <ExpirationDate>2026-03-21T22:25:40.2699232+00:00</ExpirationDate> <ExternalToken>sample string 2</ExternalToken> <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum> <StartDate>2026-03-21T22:25:40.2699232+00:00</StartDate> <TerminalID>1</TerminalID> <Token>sample string 1</Token> <UserDisplayName>sample string 4</UserDisplayName> <UserID>994460cd-81c1-4df2-a56c-a2540b5ec781</UserID> <Username>sample string 3</Username> </SessionData>