POST api/Account/RenewSession

Renew user session.

Request Information

URI Parameters

None.

Body Parameters

Service token issued to user

ServiceTokenDto
NameDescriptionTypeAdditional information
UserName

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Token": "sample string 2"
}

application/xml, text/xml

Sample:
<ServiceTokenDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto.User">
  <Token>sample string 2</Token>
  <UserName>sample string 1</UserName>
</ServiceTokenDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Renewed user session

ResponseOfAuthTicket
NameDescriptionTypeAdditional information
StatusCode

StatusCode

None.

Message

string

None.

Data

AuthTicket

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1000,
  "Message": "sample string 1",
  "Data": null
}

application/xml, text/xml

Sample:
<ResponseOfAuthTicketkvwhp91_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto.User" i:nil="true" />
  <Message>sample string 1</Message>
  <Result />
  <StatusCode>Success</StatusCode>
</ResponseOfAuthTicketkvwhp91_P>