POST api/Security/RefreshToken

Request Information

URI Parameters

None.

Body Parameters

RequestBase
NameDescriptionTypeAdditional information
PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientID": "7d6dcc52-73b5-4b55-9124-392cfd4f052c",
  "WebApiVersion": 2,
  "Language": "sample string 3"
}

application/xml, text/xml

Sample:
<RequestBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <Language>sample string 3</Language>
  <PatientID>7d6dcc52-73b5-4b55-9124-392cfd4f052c</PatientID>
  <WebApiVersion>2</WebApiVersion>
</RequestBase>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RefreshTokenResponse
NameDescriptionTypeAdditional information
Token

TupleOfStringAndString

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Token": {
    "m_Item1": "sample string 1",
    "m_Item2": "sample string 2"
  },
  "WebApiVersion": 1
}

application/xml, text/xml

Sample:
<RefreshTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <WebApiVersion>1</WebApiVersion>
  <Token xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:m_Item1>sample string 1</d2p1:m_Item1>
    <d2p1:m_Item2>sample string 2</d2p1:m_Item2>
  </Token>
</RefreshTokenResponse>