POST api/TransferSession

Transfers authentication from the session Id passed in to a new session. This is meant for use when a session cart times out.

Request Information

URI Parameters

None.

Body Parameters

TransferSessionRequest
NameDescriptionTypeAdditional information
SessionKey

The existing authenticated Tessitura session key.

string

Required

ResetSessionByLogin

Executes a login for the new session which will reset the MOS, SourceId and other values to their defaults.

boolean

Request Formats

application/json, text/json

Sample:
{
  "SessionKey": "sample string 1",
  "ResetSessionByLogin": true
}

application/xml, text/xml

Sample:
<TransferSessionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Session">
  <ResetSessionByLogin>true</ResetSessionByLogin>
  <SessionKey>sample string 1</SessionKey>
</TransferSessionRequest>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

TransferSessionResult

ApiSuccessOfTransferSessionResult
NameDescriptionTypeAdditional information
Success

boolean
Data

TransferSessionResult

Response Formats

application/json

Sample:
{
  "Success": true,
  "Data": {
    "SessionKey": "7BR3ADSqz5RtMTAn0WWi+pID56HCJ8vNMIOKS7sHoqERGs4kkKrHlGK7wtrUEcVjTln8539xoMjE8cXGvfwLpEfFnPa3uHzKLG+ougjOvlU="
  }
}

text/json

Sample:
{
  "Success": true,
  "Data": {
    "SessionKey": "MUhAISCqL1zs4UKENwvhgfEpqha5ZgjyE2Uvx4ipErnAa10OiNjJmEjXJ4nW2l7LXZA4Be5e8IJwv/RbLQXJtfvA+T4ZB7fY61alAEaGj3c="
  }
}

application/xml, text/xml

Sample:
<ApiSuccessOfTransferSessionResult5WS87vwN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Session">
    <d2p1:SessionKey>sample string 1</d2p1:SessionKey>
  </Data>
</ApiSuccessOfTransferSessionResult5WS87vwN>