POST api/ChangeSourceId
Changes the mode of sale of a Tessitura session.
Request Information
URI Parameters
None.
Body Parameters
ChangeSourceIdRequestName | Description | Type | Additional information |
---|---|---|---|
SessionKey |
The existing authenticated Tessitura session key. |
string |
Required |
NewSourceId |
The new source id for the session. |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "SessionKey": "sample string 1", "NewSourceId": 2 }
application/xml, text/xml
Sample:
<ChangeSourceIdRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Session"> <NewSourceId>2</NewSourceId> <SessionKey>sample string 1</SessionKey> </ChangeSourceIdRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ChangeModeOfSaleResult
ApiSuccessOfChangeSourceIdResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | ChangeSourceIdResult |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Data": { "NewSourceId": 1 } }
application/xml, text/xml
Sample:
<ApiSuccessOfChangeSourceIdResult5WS87vwN 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:NewSourceId>1</d2p1:NewSourceId> </Data> </ApiSuccessOfChangeSourceIdResult5WS87vwN>