POST api/sweepstakes/USCConsumerUpdate

Request Information

URI Parameters

None.

Body Parameters

USCConsumerUpdate
NameDescriptionTypeAdditional information
InternalID

string

None.

OfferID

integer

None.

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: 7

BirthDate

string

None.

Device

string

None.

Email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InternalID": "sample string 1",
  "OfferID": 2,
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Address1": "sample string 5",
  "Address2": "sample string 6",
  "City": "sample string 7",
  "State": "sample string 8",
  "PostalCode": "sample string 9",
  "BirthDate": "sample string 10",
  "Device": "sample string 11",
  "Email": "sample string 12"
}

application/xml, text/xml

Sample:
<USCConsumerUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YA.Common.SweepStakes.API.Data">
  <Address1>sample string 5</Address1>
  <Address2>sample string 6</Address2>
  <BirthDate>sample string 10</BirthDate>
  <City>sample string 7</City>
  <Device>sample string 11</Device>
  <Email>sample string 12</Email>
  <FirstName>sample string 3</FirstName>
  <InternalID>sample string 1</InternalID>
  <LastName>sample string 4</LastName>
  <OfferID>2</OfferID>
  <PostalCode>sample string 9</PostalCode>
  <State>sample string 8</State>
</USCConsumerUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>