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
TransferSessionRequestName | Description | Type | Additional 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:
Response Information
Resource Description
TransferSessionResult
ApiSuccessOfTransferSessionResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | TransferSessionResult |
Response Formats
application/json
Sample:
{ "Success": true, "Data": { "SessionKey": "IKYSHEqFF5CpcnaYAdEOT+UZVG8Cg1U191wIxoJnfkDGPBadx+PhViKNT8qQAugs734me+zgXvC+vy86TVfv9EDq87AZldthhinm8Mte7bc=" } }
text/json
Sample:
{ "Success": true, "Data": { "SessionKey": "VWifCN8z0OdJQWIhGutI9njwZyWBhVCKrTE7CPkgQ3TLvF24ki/KPv2So+JeaC5p6Tlb+JiMg0mswTjxPSDph000OsbgEpfsJrvs455zvWs=" } }
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>