GET api/membership/GetMembershipReward?CustomerId={CustomerId}&MembershipId={MembershipId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerId

integer

Required

MembershipId

integer

Required

Body Parameters

None.

Response Information

Resource Description

APICommonWrapperOfListOfMembershipReward
NameDescriptionTypeAdditional information
Status

HttpStatusCode

None.

Message

string

None.

Data

Collection of MembershipReward

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": [
    {
      "Id": 1,
      "CustomerId": 2,
      "Title": "sample string 3",
      "Description": "sample string 4",
      "Image": "sample string 5",
      "Size": "sample string 6"
    },
    {
      "Id": 1,
      "CustomerId": 2,
      "Title": "sample string 3",
      "Description": "sample string 4",
      "Image": "sample string 5",
      "Size": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<APICommonWrapperOfArrayOfMembershipRewardZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <Data>
    <MembershipReward>
      <CustomerId>2</CustomerId>
      <Description>sample string 4</Description>
      <Id>1</Id>
      <Image>sample string 5</Image>
      <Size>sample string 6</Size>
      <Title>sample string 3</Title>
    </MembershipReward>
    <MembershipReward>
      <CustomerId>2</CustomerId>
      <Description>sample string 4</Description>
      <Id>1</Id>
      <Image>sample string 5</Image>
      <Size>sample string 6</Size>
      <Title>sample string 3</Title>
    </MembershipReward>
  </Data>
  <Message>sample string 1</Message>
  <Status>Continue</Status>
</APICommonWrapperOfArrayOfMembershipRewardZdSfSp5S>