POST api/culvers/tacojohn/AddEntry?clientId={clientId}&offerId={offerId}&includeCode={includeCode}&limitOneCheck={limitOneCheck}&addEntry={addEntry}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

string

Required

offerId

string

Required

includeCode

boolean

Required

limitOneCheck

boolean

Required

addEntry

boolean

Required

Body Parameters

tacojohnSweepStakeEntry
NameDescriptionTypeAdditional information
afterEntry

boolean

None.

SweepstakesCode

string

Max length: 25

ExternalID

string

Required

Max length: 100

Email

string

Max length: 255

FirstName

string

Max length: 25

LastName

string

Max length: 25

Address1

string

Max length: 50

Address2

string

Max length: 50

City

string

Max length: 30

State

string

Max length: 2

PostalCode

string

Max length: 10

County

string

Max length: 25

Country

string

Max length: 25

Phone

string

Max length: 10

AltPhone

string

Max length: 10

BirthDate

date

None.

OptIn1

boolean

None.

OptIn2

boolean

None.

OptIn3

boolean

None.

Company

string

Max length: 50

StoreName

string

Max length: 50

TagInfo

string

Max length: 150

TrxNumber

string

Max length: 50

UserDefined1

string

Max length: 250

UserDefined2

string

Max length: 250

UserDefined3

string

Max length: 250

EntryUserDefined1

string

Max length: 250

EntryUserDefined3

string

Max length: 250

EntryAdditionalData

string

None.

IpAddress

string

None.

Browser

string

None.

Captcha

string

None.

token

string

None.

tokenseed

string

None.

EntryOrigin

string

None.

EntryMethodID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "afterEntry": true,
  "SweepstakesCode": "sample string 2",
  "ExternalID": "sample string 3",
  "Email": "sample string 4",
  "FirstName": "sample string 5",
  "LastName": "sample string 6",
  "Address1": "sample string 7",
  "Address2": "sample string 8",
  "City": "sample string 9",
  "State": "sample string 10",
  "PostalCode": "sample string 11",
  "County": "sample string 12",
  "Country": "sample string 13",
  "Phone": "sample string 14",
  "AltPhone": "sample string 15",
  "BirthDate": "2019-11-12T05:29:22.9546209-06:00",
  "OptIn1": true,
  "OptIn2": true,
  "OptIn3": true,
  "Company": "sample string 17",
  "StoreName": "sample string 18",
  "TagInfo": "sample string 19",
  "TrxNumber": "sample string 20",
  "UserDefined1": "sample string 21",
  "UserDefined2": "sample string 22",
  "UserDefined3": "sample string 23",
  "EntryUserDefined1": "sample string 24",
  "EntryUserDefined3": "sample string 25",
  "EntryAdditionalData": "sample string 26",
  "IpAddress": "sample string 27",
  "Browser": "sample string 28",
  "Captcha": "sample string 29",
  "token": "sample string 30",
  "tokenseed": "sample string 31",
  "EntryOrigin": "sample string 32",
  "EntryMethodID": "sample string 33"
}

application/xml, text/xml

Sample:
<tacojohnSweepStakeEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YA.Common.SweepStakes.API.Models">
  <Address1>sample string 7</Address1>
  <Address2>sample string 8</Address2>
  <AltPhone>sample string 15</AltPhone>
  <BirthDate>2019-11-12T05:29:22.9546209-06:00</BirthDate>
  <Browser>sample string 28</Browser>
  <Captcha>sample string 29</Captcha>
  <City>sample string 9</City>
  <Company>sample string 17</Company>
  <Country>sample string 13</Country>
  <County>sample string 12</County>
  <Email>sample string 4</Email>
  <EntryAdditionalData>sample string 26</EntryAdditionalData>
  <EntryMethodID>sample string 33</EntryMethodID>
  <EntryOrigin>sample string 32</EntryOrigin>
  <EntryUserDefined1>sample string 24</EntryUserDefined1>
  <EntryUserDefined3>sample string 25</EntryUserDefined3>
  <ExternalID>sample string 3</ExternalID>
  <FirstName>sample string 5</FirstName>
  <IpAddress>sample string 27</IpAddress>
  <LastName>sample string 6</LastName>
  <OptIn1>true</OptIn1>
  <OptIn2>true</OptIn2>
  <OptIn3>true</OptIn3>
  <Phone>sample string 14</Phone>
  <PostalCode>sample string 11</PostalCode>
  <State>sample string 10</State>
  <StoreName>sample string 18</StoreName>
  <SweepstakesCode>sample string 2</SweepstakesCode>
  <TagInfo>sample string 19</TagInfo>
  <TrxNumber>sample string 20</TrxNumber>
  <UserDefined1>sample string 21</UserDefined1>
  <UserDefined2>sample string 22</UserDefined2>
  <UserDefined3>sample string 23</UserDefined3>
  <token>sample string 30</token>
  <tokenseed>sample string 31</tokenseed>
  <afterEntry>true</afterEntry>
</tacojohnSweepStakeEntry>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.