PUT api/Content/v3/ClaimRewards

Request Information

URI Parameters

None.

Body Parameters

APIClaimRewards
NameDescriptionTypeAdditional information
CustomerId

integer

None.

UniqueId

globally unique identifier

None.

UserUniqueId

integer

None.

RewardId

integer

None.

Points

integer

None.

Pin

string

None.

Title

string

None.

Size

string

None.

LanguageId

integer

None.

IsProfileAddressUpdated

boolean

None.

IsShippingAddressUpdated

boolean

None.

FirstName

string

None.

LastName

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

State

string

None.

Zipcode

string

None.

Country

string

None.

Phone

string

None.

ColorId

integer

None.

SizeId

integer

None.

PaymentCheckOutMappingId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "UniqueId": "763316fb-af65-40a0-91ba-86e06994e783",
  "UserUniqueId": 3,
  "RewardId": 4,
  "Points": 5,
  "Pin": "sample string 6",
  "Title": "sample string 7",
  "Size": "sample string 8",
  "LanguageId": 9,
  "IsProfileAddressUpdated": true,
  "IsShippingAddressUpdated": true,
  "FirstName": "sample string 12",
  "LastName": "sample string 13",
  "Address1": "sample string 14",
  "Address2": "sample string 15",
  "City": "sample string 16",
  "State": "sample string 17",
  "Zipcode": "sample string 18",
  "Country": "sample string 19",
  "Phone": "sample string 20",
  "ColorId": 21,
  "SizeId": 22,
  "PaymentCheckOutMappingId": 1
}

application/xml, text/xml

Sample:
<APIClaimRewards xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <Address1>sample string 14</Address1>
  <Address2>sample string 15</Address2>
  <City>sample string 16</City>
  <ColorId>21</ColorId>
  <Country>sample string 19</Country>
  <CustomerId>1</CustomerId>
  <FirstName>sample string 12</FirstName>
  <IsProfileAddressUpdated>true</IsProfileAddressUpdated>
  <IsShippingAddressUpdated>true</IsShippingAddressUpdated>
  <LanguageId>9</LanguageId>
  <LastName>sample string 13</LastName>
  <PaymentCheckOutMappingId>1</PaymentCheckOutMappingId>
  <Phone>sample string 20</Phone>
  <Pin>sample string 6</Pin>
  <Points>5</Points>
  <RewardId>4</RewardId>
  <Size>sample string 8</Size>
  <SizeId>22</SizeId>
  <State>sample string 17</State>
  <Title>sample string 7</Title>
  <UniqueId>763316fb-af65-40a0-91ba-86e06994e783</UniqueId>
  <UserUniqueId>3</UserUniqueId>
  <Zipcode>sample string 18</Zipcode>
</APIClaimRewards>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResult
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <Message>sample string 2</Message>
  <Status>true</Status>
</APIResult>