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": "c32dd083-7b36-4114-9de9-06322b33ca0e",
"ApplicationBranchOfficeID": 1,
"TerminalID": 1,
"UserID": "13ae630f-ca84-49ce-be56-e58a746a9295",
"ProfileCodeAsEnum": 0,
"StartDate": "2026-02-04T03:01:30.9814152+00:00",
"EndDate": "2026-02-04T03:01:30.9814152+00:00",
"ExpirationDate": "2026-02-04T03:01:30.9814152+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>c32dd083-7b36-4114-9de9-06322b33ca0e</AppID> <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID> <EnabledChangePriceInSale>true</EnabledChangePriceInSale> <EndDate>2026-02-04T03:01:30.9814152+00:00</EndDate> <ExpirationDate>2026-02-04T03:01:30.9814152+00:00</ExpirationDate> <ExternalToken>sample string 2</ExternalToken> <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum> <StartDate>2026-02-04T03:01:30.9814152+00:00</StartDate> <TerminalID>1</TerminalID> <Token>sample string 1</Token> <UserDisplayName>sample string 4</UserDisplayName> <UserID>13ae630f-ca84-49ce-be56-e58a746a9295</UserID> <Username>sample string 3</Username> </SessionData>