POST api/pepsi/nfl/Register?clientId={clientId}&offerId={offerId}&includeCode={includeCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
clientId | string |
Required |
|
offerId | string |
Required |
|
includeCode | boolean |
Required |
Body Parameters
SweepStakeEntryName | Description | Type | Additional information |
---|---|---|---|
SweepstakesCode | string |
Max length: 25 |
|
ExternalID | string |
Required Max length: 100 |
|
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. |
|
CaptchaType | string |
None. |
|
EntryType | string |
None. |
|
ItemCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SweepstakesCode": "sample string 1", "ExternalID": "sample string 2", "Email": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "Address1": "sample string 6", "Address2": "sample string 7", "City": "sample string 8", "State": "sample string 9", "PostalCode": "sample string 10", "County": "sample string 11", "Country": "sample string 12", "Phone": "sample string 13", "AltPhone": "sample string 14", "BirthDate": "2021-01-26T16:42:34.9382335-06:00", "OptIn1": true, "OptIn2": true, "OptIn3": true, "Company": "sample string 16", "StoreName": "sample string 17", "TagInfo": "sample string 18", "TrxNumber": "sample string 19", "UserDefined1": "sample string 20", "UserDefined2": "sample string 21", "UserDefined3": "sample string 22", "EntryUserDefined1": "sample string 23", "EntryUserDefined3": "sample string 24", "EntryAdditionalData": "sample string 25", "IpAddress": "sample string 26", "Browser": "sample string 27", "Captcha": "sample string 28", "token": "sample string 29", "tokenseed": "sample string 30", "EntryOrigin": "sample string 31", "EntryMethodID": "sample string 32", "CaptchaType": "sample string 33", "EntryType": "sample string 34", "ItemCode": "sample string 35" }
application/xml, text/xml
Sample:
<SweepStakeEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YA.Common.SweepStakes.API.Models"> <Address1>sample string 6</Address1> <Address2>sample string 7</Address2> <AltPhone>sample string 14</AltPhone> <BirthDate>2021-01-26T16:42:34.9382335-06:00</BirthDate> <Browser>sample string 27</Browser> <Captcha>sample string 28</Captcha> <CaptchaType>sample string 33</CaptchaType> <City>sample string 8</City> <Company>sample string 16</Company> <Country>sample string 12</Country> <County>sample string 11</County> <Email>sample string 3</Email> <EntryAdditionalData>sample string 25</EntryAdditionalData> <EntryMethodID>sample string 32</EntryMethodID> <EntryOrigin>sample string 31</EntryOrigin> <EntryType>sample string 34</EntryType> <EntryUserDefined1>sample string 23</EntryUserDefined1> <EntryUserDefined3>sample string 24</EntryUserDefined3> <ExternalID>sample string 2</ExternalID> <FirstName>sample string 4</FirstName> <IpAddress>sample string 26</IpAddress> <ItemCode>sample string 35</ItemCode> <LastName>sample string 5</LastName> <OptIn1>true</OptIn1> <OptIn2>true</OptIn2> <OptIn3>true</OptIn3> <Phone>sample string 13</Phone> <PostalCode>sample string 10</PostalCode> <State>sample string 9</State> <StoreName>sample string 17</StoreName> <SweepstakesCode>sample string 1</SweepstakesCode> <TagInfo>sample string 18</TagInfo> <TrxNumber>sample string 19</TrxNumber> <UserDefined1>sample string 20</UserDefined1> <UserDefined2>sample string 21</UserDefined2> <UserDefined3>sample string 22</UserDefined3> <token>sample string 29</token> <tokenseed>sample string 30</tokenseed> </SweepStakeEntry>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.