POST api/lead/sweepstakeapplication/buyer
Request Information
URI Parameters
None.
Body Parameters
SweepstakeApplicationName | Description | Type | Additional information |
---|---|---|---|
bonus | boolean |
None. |
|
facebookPageId | string |
None. |
|
leadActivityType | LeadActivityType |
None. |
|
productType | ProductType |
None. |
|
firstName | string |
None. |
|
lastName | string |
None. |
|
totalEntries | integer |
None. |
|
sweepstakesId | integer |
None. |
|
buyerId | integer |
None. |
|
active | boolean |
None. |
|
agentId | integer |
None. |
|
cookieId | globally unique identifier |
None. |
|
string |
None. |
||
Email_Sort | string |
None. |
|
phone | string |
None. |
|
id | string |
None. |
|
leadActivityTypeDescription | string |
None. |
|
LeadActivityTypeDescription_Sort | string |
None. |
|
name | string |
None. |
|
Name_Sort | string |
None. |
|
productTypeDescription | string |
None. |
|
ProductTypeDescription_Sort | string |
None. |
|
timestamp | date |
None. |
|
platform | string |
None. |
|
partner | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "bonus": true, "facebookPageId": "sample string 2", "leadActivityType": 5, "productType": 4, "firstName": "sample string 3", "lastName": "sample string 4", "totalEntries": 5, "sweepstakesId": 6, "buyerId": 1, "active": true, "agentId": 8, "cookieId": "5fefe6ba-5379-4731-881a-3f3d40253689", "email": "sample string 9", "Email_Sort": "sample string 9", "phone": "sample string 10", "id": "sample string 11", "leadActivityTypeDescription": "Sweepstake Application", "LeadActivityTypeDescription_Sort": "sweepstake application", "name": "sample string 12", "Name_Sort": "sample string 12", "productTypeDescription": "Dream Sweeps", "ProductTypeDescription_Sort": "dream sweeps", "timestamp": "2024-09-08T02:01:23.4612385+00:00", "platform": "sample string 14", "partner": "sample string 15" }
text/html
Sample:
{"bonus":true,"facebookPageId":"sample string 2","leadActivityType":5,"productType":4,"firstName":"sample string 3","lastName":"sample string 4","totalEntries":5,"sweepstakesId":6,"buyerId":1,"active":true,"agentId":8,"cookieId":"5fefe6ba-5379-4731-881a-3f3d40253689","email":"sample string 9","Email_Sort":"sample string 9","phone":"sample string 10","id":"sample string 11","leadActivityTypeDescription":"Sweepstake Application","LeadActivityTypeDescription_Sort":"sweepstake application","name":"sample string 12","Name_Sort":"sample string 12","productTypeDescription":"Dream Sweeps","ProductTypeDescription_Sort":"dream sweeps","timestamp":"2024-09-08T02:01:23.4612385+00:00","platform":"sample string 14","partner":"sample string 15"}
application/xml, text/xml
Sample:
<SweepstakeApplication xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models"> <Active>true</Active> <AgentId>8</AgentId> <BuyerId>1</BuyerId> <CookieId>5fefe6ba-5379-4731-881a-3f3d40253689</CookieId> <Email>sample string 9</Email> <Id>sample string 11</Id> <LeadActivityType>SweepstakeApplication</LeadActivityType> <Name>sample string 12</Name> <Partner>sample string 15</Partner> <Phone>sample string 10</Phone> <Platform>sample string 14</Platform> <TimeStamp>2024-09-08T02:01:23.4612385+00:00</TimeStamp> <SweepstakesId>6</SweepstakesId> <Bonus>true</Bonus> <FacebookPageId>sample string 2</FacebookPageId> <FirstName>sample string 3</FirstName> <LastName>sample string 4</LastName> <TotalEntries>5</TotalEntries> </SweepstakeApplication>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.