POST api/account/items

Request Information

URI Parameters

None.

Body Parameters

AddItemViewModel
NameDescriptionTypeAdditional information
ClientId

string

None.

OfferId

string

None.

ConsumerGuid

string

None.

Code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientId": "sample string 1",
  "OfferId": "sample string 2",
  "ConsumerGuid": "sample string 3",
  "Code": "sample string 4"
}

application/xml, text/xml

Sample:
<AddItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YA.Common.SweepStakes.API.Models">
  <ClientId>sample string 1</ClientId>
  <Code>sample string 4</Code>
  <ConsumerGuid>sample string 3</ConsumerGuid>
  <OfferId>sample string 2</OfferId>
</AddItemViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.