POST api/InitiateSession

Takes an EncryptedSessionKey along with the ClientKey to initiate the session

Request Information

Parameters

NameDescriptionAdditional information
init

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SessionKey": "sample string 1",
  "EncryptedSessionkey": "sample string 2"
}

application/xml, text/xml

Sample:
<InitSessionCredModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SessionKey>sample string 1</SessionKey>
  <EncryptedSessionkey>sample string 2</EncryptedSessionkey>
</InitSessionCredModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'InitSessionCredModel'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "EncryptedSessionkey": "sample string 1",
  "Status": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<InitSessionResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Status>sample string 2</Status>
  <Message>sample string 3</Message>
  <EncryptedSessionkey>sample string 1</EncryptedSessionkey>
</InitSessionResponseModel>