POST api/PrizeClaim/Update

Request Information

URI Parameters

None.

Body Parameters

UpdateWinnerRequest
NameDescriptionTypeAdditional information
CampaignID

integer

None.

ConsumerGuid

string

None.

Phone

string

None.

Email

string

None.

FirstName

string

None.

LastName

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

State

string

None.

PostalCode

string

None.

AltPhone

string

None.

CountryCode

string

None.

DateOfBirth

date

None.

AgreeToRules

boolean

None.

UpdatedBy

string

None.

UpdatedByPgm

string

None.

CurrentItemCodeID

integer

None.

PrizeItemCodeID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CampaignID": 1,
  "ConsumerGuid": "sample string 2",
  "Phone": "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",
  "AltPhone": "sample string 12",
  "CountryCode": "sample string 13",
  "DateOfBirth": "2019-11-12T04:52:58.5558203-06:00",
  "AgreeToRules": true,
  "UpdatedBy": "sample string 16",
  "UpdatedByPgm": "sample string 17",
  "CurrentItemCodeID": 18,
  "PrizeItemCodeID": 19
}

application/xml, text/xml

Sample:
<UpdateWinnerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YA.Common.SweepStakes.API.Data">
  <Address1>sample string 7</Address1>
  <Address2>sample string 8</Address2>
  <AgreeToRules>true</AgreeToRules>
  <AltPhone>sample string 12</AltPhone>
  <CampaignID>1</CampaignID>
  <City>sample string 9</City>
  <ConsumerGuid>sample string 2</ConsumerGuid>
  <CountryCode>sample string 13</CountryCode>
  <CurrentItemCodeID>18</CurrentItemCodeID>
  <DateOfBirth>2019-11-12T04:52:58.5558203-06:00</DateOfBirth>
  <Email>sample string 4</Email>
  <FirstName>sample string 5</FirstName>
  <LastName>sample string 6</LastName>
  <Phone>sample string 3</Phone>
  <PostalCode>sample string 11</PostalCode>
  <PrizeItemCodeID>19</PrizeItemCodeID>
  <State>sample string 10</State>
  <UpdatedBy>sample string 16</UpdatedBy>
  <UpdatedByPgm>sample string 17</UpdatedByPgm>
</UpdateWinnerRequest>

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.