GET api/v1/rewards/{userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RewardsPartnersName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
PartnerName | string |
None. |
|
Description | string |
None. |
|
ImageURL | string |
None. |
|
Denomination | Collection of integer |
None. |
|
MinValue | integer |
None. |
|
IsMailVisible | boolean |
None. |
|
IsEdenRed | boolean |
None. |
|
PayPalId | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "partnerName": "sample string 2", "description": "sample string 3", "imageURL": "sample string 4", "denomination": [ 1, 2 ], "minValue": 5, "isMailVisible": true, "isEdenRed": true, "payPalId": "sample string 8" }, { "id": 1, "partnerName": "sample string 2", "description": "sample string 3", "imageURL": "sample string 4", "denomination": [ 1, 2 ], "minValue": 5, "isMailVisible": true, "isEdenRed": true, "payPalId": "sample string 8" } ]
text/xml
Sample:
<ArrayOfRewardsPartners xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMSBL.Entity"> <RewardsPartners> <Denomination xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </Denomination> <Description>sample string 3</Description> <Id>1</Id> <ImageURL>sample string 4</ImageURL> <IsEdenRed>true</IsEdenRed> <IsMailVisible>true</IsMailVisible> <MinValue>5</MinValue> <PartnerName>sample string 2</PartnerName> <PayPalId>sample string 8</PayPalId> </RewardsPartners> <RewardsPartners> <Denomination xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </Denomination> <Description>sample string 3</Description> <Id>1</Id> <ImageURL>sample string 4</ImageURL> <IsEdenRed>true</IsEdenRed> <IsMailVisible>true</IsMailVisible> <MinValue>5</MinValue> <PartnerName>sample string 2</PartnerName> <PayPalId>sample string 8</PayPalId> </RewardsPartners> </ArrayOfRewardsPartners>