POST api/VatUsers/Refresh

обновление токена пользователя

Request Information

URI Parameters

None.

Body Parameters

VatUserRefreshTokenRequest
НаименованиеОписаниеТипДополнительная информация
RefreshToken

string

None.

IpAddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RefreshToken": "sample string 1",
  "IpAddress": "sample string 2"
}

application/xml, text/xml

Sample:
<VatUserRefreshTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiBerlioInfo.Dto.DataTypes.VatUsers">
  <IpAddress>sample string 2</IpAddress>
  <RefreshToken>sample string 1</RefreshToken>
</VatUserRefreshTokenRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Информация о ответе

Resource Description

VatUserSessionInfo
НаименованиеОписаниеТипДополнительная информация
ExpiryDate

date

None.

Flags

integer

None.

Id

integer

None.

RefreshToken

string

None.

VatUserId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ExpiryDate": "2025-04-03T05:02:27.9501495+03:00",
  "Flags": 2,
  "Id": 3,
  "RefreshToken": "sample string 4",
  "VatUserId": 5
}

application/xml, text/xml

Sample:
<VatUserSessionInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiBerlioInfo.Dto.DataTypes.VatUsers">
  <ExpiryDate>2025-04-03T05:02:27.9501495+03:00</ExpiryDate>
  <Flags>2</Flags>
  <Id>3</Id>
  <RefreshToken>sample string 4</RefreshToken>
  <VatUserId>5</VatUserId>
</VatUserSessionInfo>