POST api/TransferSession

Request Information

URI Parameters

None.

Body Parameters

TransferSessionRequest
NameDescriptionTypeAdditional information
SessionKey

string

Required

ResetSessionByLogin

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

ApiSuccessOfTransferSessionResult
NameDescriptionTypeAdditional information
Success

boolean
Data

TransferSessionResult

Response Formats

application/json

Sample:
{
  "Success": true,
  "Data": {
    "SessionKey": "fPAgTHoS3qFI0aK0LtAwnJ075NpiFPNPA1lbHLniaIfjLL1Ymcse/gEP5CnZNNMDzCqG+Oj+djU4e8dVlBhuACfszSdG3z27P3cz7VLfRNc="
  }
}

text/json

Sample:
{
  "Success": true,
  "Data": {
    "SessionKey": "Tqsq6vhsnxTV0LFdNFN/7+cXBRh03BCHR0P/3DJSJKrMocP/SgV+OrLUnGMbXUBxiMGz3p0aXk3fOqAit483ziUedDJfVBPyMaA6nzUyVNg="
  }
}

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>