GET api/cardService/v1/user/rewardPoints/cardHolderId/{cardHolderId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cardHolderId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
GetRewardPointsResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RewardPoints | integer |
None. |
|
| IsSuccess | boolean |
Required |
|
| ErrorCodes | Collection of string |
Required |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"RewardPoints": 1,
"IsSuccess": true,
"ErrorCodes": [
"sample string 1",
"sample string 2"
],
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<GetRewardPointsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels.User">
<ErrorCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorCodes>
<IsSuccess xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">true</IsSuccess>
<Message xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">sample string 3</Message>
<RewardPoints>1</RewardPoints>
</GetRewardPointsResponseModel>