POST api/access/change-my-access

Request Information

URI Parameters

None.

Body Parameters

ChangeMyAccessData
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "bdf0f006-ad61-4225-9dbe-81fe902d6f8e",
  "ApplicationBranchOfficeID": 1,
  "TerminalID": 1,
  "UserID": "3d7b503f-fa9a-4b78-8385-dd0176bf580b",
  "ProfileCodeAsEnum": 0,
  "StartDate": "2025-08-02T19:12:58.1190878+00:00",
  "EndDate": "2025-08-02T19:12:58.1190878+00:00",
  "ExpirationDate": "2025-08-02T19:12:58.1190878+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>bdf0f006-ad61-4225-9dbe-81fe902d6f8e</AppID>
  <ApplicationBranchOfficeID>1</ApplicationBranchOfficeID>
  <EnabledChangePriceInSale>true</EnabledChangePriceInSale>
  <EndDate>2025-08-02T19:12:58.1190878+00:00</EndDate>
  <ExpirationDate>2025-08-02T19:12:58.1190878+00:00</ExpirationDate>
  <ExternalToken>sample string 2</ExternalToken>
  <ProfileCodeAsEnum>ALL</ProfileCodeAsEnum>
  <StartDate>2025-08-02T19:12:58.1190878+00:00</StartDate>
  <TerminalID>1</TerminalID>
  <Token>sample string 1</Token>
  <UserDisplayName>sample string 4</UserDisplayName>
  <UserID>3d7b503f-fa9a-4b78-8385-dd0176bf580b</UserID>
  <Username>sample string 3</Username>
</SessionData>