POST api/Party/Revolution/UpdateParty/{repDID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repDID

string

Required

Body Parameters

RevCreatePartyViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

CustomerID

integer

None.

PartyTypeID

integer

None.

DistributionTypeID

integer

None.

IsAvailableInCart

boolean

None.

StartDateTime

string

None.

EndDateTime

string

None.

Format

string

None.

PartyName

string

None.

Directions

string

None.

Location

string

None.

EventURL

string

None.

ShippingType

string

None.

BillingType

string

None.

BillingName

string

None.

BillingStreet1

string

None.

BillingStreet2

string

None.

BillingCity

string

None.

BillingState

string

None.

BillingPostalCode

string

None.

BillingCounty

string

None.

BillingCountry

string

None.

ShippingName

string

None.

ShippingStreet1

string

None.

ShippingStreet2

string

None.

ShippingCity

string

None.

ShippingState

string

None.

ShippingPostalCode

string

None.

ShippingCounty

string

None.

ShippingCountry

string

None.

NewHostFirstName

string

None.

NewHostMI

string

None.

NewHostLastName

string

None.

NewHostEmail

string

None.

NewHostOrganization

string

None.

NewHostPassword

string

None.

NewHostPhone

string

None.

NewHostBillingStreet1

string

None.

NewHostBillingStreet2

string

None.

NewHostBillingCountry

string

None.

NewHostBillingPostalCode

string

None.

NewHostBillingCity

string

None.

NewHostBillingState

string

None.

NewHostBillingCounty

string

None.

NewHostShippingStreet1

string

None.

NewHostShippingStreet2

string

None.

NewHostShippingCountry

string

None.

NewHostShippingPostalCode

string

None.

NewHostShippingCity

string

None.

NewHostShippingState

string

None.

NewHostShippingCounty

string

None.

Email

string

None.

Phone

string

None.

Request Formats

application/xml, text/xml

Sample:
<RevCreatePartyViewModel>
  <ID>1</ID>
  <CustomerID>1</CustomerID>
  <PartyTypeID>1</PartyTypeID>
  <DistributionTypeID>1</DistributionTypeID>
  <IsAvailableInCart>True</IsAvailableInCart>
  <StartDateTime>sample string 3</StartDateTime>
  <EndDateTime>sample string 4</EndDateTime>
  <Format>sample string 5</Format>
  <PartyName>sample string 6</PartyName>
  <Directions>sample string 7</Directions>
  <Location>sample string 8</Location>
  <EventURL>sample string 9</EventURL>
  <ShippingType>sample string 10</ShippingType>
  <BillingType>sample string 11</BillingType>
  <BillingName>sample string 12</BillingName>
  <BillingStreet1>sample string 13</BillingStreet1>
  <BillingStreet2>sample string 14</BillingStreet2>
  <BillingCity>sample string 15</BillingCity>
  <BillingState>sample string 16</BillingState>
  <BillingPostalCode>sample string 17</BillingPostalCode>
  <BillingCounty>sample string 18</BillingCounty>
  <BillingCountry>sample string 19</BillingCountry>
  <ShippingName>sample string 20</ShippingName>
  <ShippingStreet1>sample string 21</ShippingStreet1>
  <ShippingStreet2>sample string 22</ShippingStreet2>
  <ShippingCity>sample string 23</ShippingCity>
  <ShippingState>sample string 24</ShippingState>
  <ShippingPostalCode>sample string 25</ShippingPostalCode>
  <ShippingCounty>sample string 26</ShippingCounty>
  <ShippingCountry>sample string 27</ShippingCountry>
  <NewHostFirstName>sample string 28</NewHostFirstName>
  <NewHostMI>sample string 29</NewHostMI>
  <NewHostLastName>sample string 30</NewHostLastName>
  <NewHostEmail>sample string 31</NewHostEmail>
  <NewHostOrganization>sample string 32</NewHostOrganization>
  <NewHostPassword>sample string 33</NewHostPassword>
  <NewHostPhone>sample string 34</NewHostPhone>
  <NewHostBillingStreet1>sample string 35</NewHostBillingStreet1>
  <NewHostBillingStreet2>sample string 36</NewHostBillingStreet2>
  <NewHostBillingCountry>sample string 37</NewHostBillingCountry>
  <NewHostBillingPostalCode>sample string 38</NewHostBillingPostalCode>
  <NewHostBillingCity>sample string 39</NewHostBillingCity>
  <NewHostBillingState>sample string 40</NewHostBillingState>
  <NewHostBillingCounty>sample string 41</NewHostBillingCounty>
  <NewHostShippingStreet1>sample string 42</NewHostShippingStreet1>
  <NewHostShippingStreet2>sample string 43</NewHostShippingStreet2>
  <NewHostShippingCountry>sample string 44</NewHostShippingCountry>
  <NewHostShippingPostalCode>sample string 45</NewHostShippingPostalCode>
  <NewHostShippingCity>sample string 46</NewHostShippingCity>
  <NewHostShippingState>sample string 47</NewHostShippingState>
  <NewHostShippingCounty>sample string 48</NewHostShippingCounty>
  <Email>sample string 49</Email>
  <Phone>sample string 50</Phone>
</RevCreatePartyViewModel>

application/json, text/json

Sample:
{
  "ID": 1,
  "CustomerID": 1,
  "PartyTypeID": 1,
  "DistributionTypeID": 1,
  "IsAvailableInCart": true,
  "StartDateTime": "sample string 3",
  "EndDateTime": "sample string 4",
  "Format": "sample string 5",
  "PartyName": "sample string 6",
  "Directions": "sample string 7",
  "Location": "sample string 8",
  "EventURL": "sample string 9",
  "ShippingType": "sample string 10",
  "BillingType": "sample string 11",
  "BillingName": "sample string 12",
  "BillingStreet1": "sample string 13",
  "BillingStreet2": "sample string 14",
  "BillingCity": "sample string 15",
  "BillingState": "sample string 16",
  "BillingPostalCode": "sample string 17",
  "BillingCounty": "sample string 18",
  "BillingCountry": "sample string 19",
  "ShippingName": "sample string 20",
  "ShippingStreet1": "sample string 21",
  "ShippingStreet2": "sample string 22",
  "ShippingCity": "sample string 23",
  "ShippingState": "sample string 24",
  "ShippingPostalCode": "sample string 25",
  "ShippingCounty": "sample string 26",
  "ShippingCountry": "sample string 27",
  "NewHostFirstName": "sample string 28",
  "NewHostMI": "sample string 29",
  "NewHostLastName": "sample string 30",
  "NewHostEmail": "sample string 31",
  "NewHostOrganization": "sample string 32",
  "NewHostPassword": "sample string 33",
  "NewHostPhone": "sample string 34",
  "NewHostBillingStreet1": "sample string 35",
  "NewHostBillingStreet2": "sample string 36",
  "NewHostBillingCountry": "sample string 37",
  "NewHostBillingPostalCode": "sample string 38",
  "NewHostBillingCity": "sample string 39",
  "NewHostBillingState": "sample string 40",
  "NewHostBillingCounty": "sample string 41",
  "NewHostShippingStreet1": "sample string 42",
  "NewHostShippingStreet2": "sample string 43",
  "NewHostShippingCountry": "sample string 44",
  "NewHostShippingPostalCode": "sample string 45",
  "NewHostShippingCity": "sample string 46",
  "NewHostShippingState": "sample string 47",
  "NewHostShippingCounty": "sample string 48",
  "Email": "sample string 49",
  "Phone": "sample string 50"
}

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

IParty
NameDescriptionTypeAdditional information
ID

integer

None.

BCKey

integer

None.

HostCustomerID

integer

None.

PartyDate

date

None.

PartyInfo

string

None.

PartyTypeID

integer

None.

PartyCloseDateTime

date

None.

PartyStartTime

string

None.

PartyEndTime

string

None.

BillName

string

None.

BillStreet1

string

None.

BillStreet2

string

None.

BillCity

string

None.

BillCounty

string

None.

BillState

string

None.

BillPostalCode

string

None.

BillCountry

string

None.

ShipName

string

None.

ShipStreet1

string

None.

ShipStreet2

string

None.

ShipCity

string

None.

ShipCounty

string

None.

ShipState

string

None.

ShipPostalCode

string

None.

ShipCountry

string

None.

Phone1

string

None.

Phone2

string

None.

Email

string

None.

Directions

string

None.

DistributionTypeID

integer

None.

RetainedEarningsEarned

decimal number

None.

REBonusPeriodID

integer

None.

REBonusPaidAmount

decimal number

None.

REBonusPaidDate

date

None.

DataRepairNotes

string

None.

PartyStatusID

integer

None.

DateFinalBooking

date

None.

DateVoided

date

None.

PartyGUID

globally unique identifier

None.

Format

string

None.

Location

string

None.

IsAvailableInCart

boolean

None.

ShippingType

string

None.

BillingType

string

None.

EventURL

string

None.

EndDateTime

date

None.

InternalNote

string

None.

ShoppingShortenURL

string

None.

OriginalPartyDate

date

None.

Response Formats

application/xml, text/xml

Sample:
<Party>
  <ID>0</ID>
  <BCKey>0</BCKey>
  <HostCustomerID />
  <PartyInfo />
  <PartyTypeID>1</PartyTypeID>
  <PartyStatusID>-1</PartyStatusID>
  <DistributionTypeID />
  <PartyDate>01/01/0001 00:00:00</PartyDate>
  <PartyStartTime />
  <PartyEndTime />
  <BillName />
  <BillStreet1 />
  <BillStreet2 />
  <BillCity />
  <BillCounty />
  <BillState />
  <BillPostalCode />
  <BillCountry />
  <ShipName />
  <ShipStreet1 />
  <ShipStreet2 />
  <ShipCity />
  <ShipCounty />
  <ShipState />
  <ShipPostalCode />
  <ShipCountry />
  <Phone1 />
  <Phone2 />
  <Email />
  <Directions />
  <PartyCloseDateTime />
  <RetainedEarningsEarned />
  <REBonusPeriodID />
  <REBonusPaidAmount />
  <REBonusPaidDate />
  <DataRepairNotes />
  <DateFinalBooking />
  <DateVoided />
  <PartyGUID>00000000-0000-0000-0000-000000000000</PartyGUID>
  <Format />
  <Location />
  <IsAvailableInCart>False</IsAvailableInCart>
  <ShippingType />
  <BillingType />
  <EventURL />
  <EndDateTime />
  <InternalNote />
  <ShoppingShortenURL />
  <OriginalPartyDate />
  <CreatedBy />
  <DateCreated>01/01/0001 00:00:00</DateCreated>
  <LastModifiedBy />
  <DateLastModified />
</Party>

application/json, text/json

Sample:
{
  "ID": 0,
  "BCKey": 0,
  "PartyTypeID": 1,
  "PartyStatusID": -1,
  "PartyDate": "0001-01-01T00:00:00",
  "PartyGUID": "00000000-0000-0000-0000-000000000000",
  "IsAvailableInCart": false,
  "DateCreated": "0001-01-01T00:00:00"
}