POST api/Account/ProcessChangeMainEventDraftEvent

Request Information

URI Parameters

None.

Body Parameters

ChangeMainEventDraftEventInputModel
NameDescriptionTypeAdditional information
SessionID

string

None.

SiteUserID

integer

None.

MainEventChangeEventTypeIDList

Collection of integer

None.

PurchaseID

integer

None.

PurchaseLeagueID

integer

None.

OriginalLeagueID

integer

None.

NewLeagueID

integer

None.

CreditTranID

integer

None.

CoManagerName

string

None.

CoManagerEmailAddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "SiteUserID": 2,
  "MainEventChangeEventTypeIDList": [
    1,
    2
  ],
  "PurchaseID": 3,
  "PurchaseLeagueID": 4,
  "OriginalLeagueID": 5,
  "NewLeagueID": 6,
  "CreditTranID": 7,
  "CoManagerName": "sample string 8",
  "CoManagerEmailAddress": "sample string 9"
}

text/html

Sample:
{"SessionID":"sample string 1","SiteUserID":2,"MainEventChangeEventTypeIDList":[1,2],"PurchaseID":3,"PurchaseLeagueID":4,"OriginalLeagueID":5,"NewLeagueID":6,"CreditTranID":7,"CoManagerName":"sample string 8","CoManagerEmailAddress":"sample string 9"}

application/xml, text/xml

Sample:
<ChangeMainEventDraftEventInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <CoManagerEmailAddress>sample string 9</CoManagerEmailAddress>
  <CoManagerName>sample string 8</CoManagerName>
  <CreditTranID>7</CreditTranID>
  <MainEventChangeEventTypeIDList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </MainEventChangeEventTypeIDList>
  <NewLeagueID>6</NewLeagueID>
  <OriginalLeagueID>5</OriginalLeagueID>
  <PurchaseID>3</PurchaseID>
  <PurchaseLeagueID>4</PurchaseLeagueID>
  <SessionID>sample string 1</SessionID>
  <SiteUserID>2</SiteUserID>
</ChangeMainEventDraftEventInputModel>

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 'ChangeMainEventDraftEventInputModel'.

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Data

Object

None.

ResultCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Data": {},
  "ResultCode": 4
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Data":{},"ResultCode":4}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <Data />
  <Message>sample string 1</Message>
  <ResultCode>4</ResultCode>
  <Status>true</Status>
</ResponseModel>