GET api/v1/RewardAndRedeem/history/{UserId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
RewardAndRedeemResponseName | Description | Type | Additional information |
---|---|---|---|
EarnedPoints | string |
None. |
|
SpentPoints | string |
None. |
|
AvailablePoints | string |
None. |
|
ReviewPoints | string |
None. |
|
IsMobileVerified | boolean |
None. |
|
ThresholdPoints | integer |
None. |
|
EarnedPointHistory | Collection of EarnedPoints |
None. |
|
RedeemPointHistory | Collection of SpentPoints |
None. |
|
ReviewPointHistory | Collection of ReviewPoints |
None. |
Response Formats
application/json, text/json
Sample:
{ "earnedPoints": "sample string 1", "spentPoints": "sample string 2", "availablePoints": "sample string 3", "reviewPoints": "sample string 4", "isMobileVerified": true, "thresholdPoints": 6, "earnedPointHistory": [ { "projectSource": "sample string 2", "name": "sample string 9", "transactionDate": "2025-01-21T23:25:45.4846773-05:00", "points": 1, "campSource": "sample string 3", "sourceid": 5, "source": "sample string 4", "sourceStatus": "sample string 6", "honarariumEarned": 7, "comment": "sample string 8" }, { "projectSource": "sample string 2", "name": "sample string 9", "transactionDate": "2025-01-21T23:25:45.4846773-05:00", "points": 1, "campSource": "sample string 3", "sourceid": 5, "source": "sample string 4", "sourceStatus": "sample string 6", "honarariumEarned": 7, "comment": "sample string 8" } ], "redeemPointHistory": [ { "name": "sample string 1", "transactionDate": "2025-01-21T23:25:45.4846773-05:00", "points": 3, "voucherCode": "sample string 4", "redemptionStatus": "sample string 5", "redeemChoices": "sample string 6", "expiryDate": "2025-01-21T23:25:45.4846773-05:00", "imageUrl": "sample string 7", "vpassword": "sample string 8" }, { "name": "sample string 1", "transactionDate": "2025-01-21T23:25:45.4846773-05:00", "points": 3, "voucherCode": "sample string 4", "redemptionStatus": "sample string 5", "redeemChoices": "sample string 6", "expiryDate": "2025-01-21T23:25:45.4846773-05:00", "imageUrl": "sample string 7", "vpassword": "sample string 8" } ], "reviewPointHistory": [ { "projectSource": "sample string 1", "name": "sample string 2", "transactionDate": "2025-01-21T23:25:45.4846773-05:00", "points": 3, "campSource": "sample string 4", "sourceid": 5, "source": "sample string 6", "sourceStatus": "sample string 7", "honarariumEarned": 8, "comment": "sample string 9" }, { "projectSource": "sample string 1", "name": "sample string 2", "transactionDate": "2025-01-21T23:25:45.4846773-05:00", "points": 3, "campSource": "sample string 4", "sourceid": 5, "source": "sample string 6", "sourceStatus": "sample string 7", "honarariumEarned": 8, "comment": "sample string 9" } ] }
text/xml
Sample:
<RewardAndRedeemResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMSBL.Entity"> <_x003C_AvailablePoints_x003E_k__BackingField>sample string 3</_x003C_AvailablePoints_x003E_k__BackingField> <_x003C_EarnedPointHistory_x003E_k__BackingField> <EarnedPoints> <_x003C_CampSource_x003E_k__BackingField>sample string 3</_x003C_CampSource_x003E_k__BackingField> <_x003C_Comment_x003E_k__BackingField>sample string 8</_x003C_Comment_x003E_k__BackingField> <_x003C_HonarariumEarned_x003E_k__BackingField>7</_x003C_HonarariumEarned_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 9</_x003C_Name_x003E_k__BackingField> <_x003C_Points_x003E_k__BackingField>1</_x003C_Points_x003E_k__BackingField> <_x003C_ProjectSource_x003E_k__BackingField>sample string 2</_x003C_ProjectSource_x003E_k__BackingField> <_x003C_SourceStatus_x003E_k__BackingField>sample string 6</_x003C_SourceStatus_x003E_k__BackingField> <_x003C_Source_x003E_k__BackingField>sample string 4</_x003C_Source_x003E_k__BackingField> <_x003C_Sourceid_x003E_k__BackingField>5</_x003C_Sourceid_x003E_k__BackingField> <_x003C_TransactionDate_x003E_k__BackingField>2025-01-21T23:25:45.4846773-05:00</_x003C_TransactionDate_x003E_k__BackingField> </EarnedPoints> <EarnedPoints> <_x003C_CampSource_x003E_k__BackingField>sample string 3</_x003C_CampSource_x003E_k__BackingField> <_x003C_Comment_x003E_k__BackingField>sample string 8</_x003C_Comment_x003E_k__BackingField> <_x003C_HonarariumEarned_x003E_k__BackingField>7</_x003C_HonarariumEarned_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 9</_x003C_Name_x003E_k__BackingField> <_x003C_Points_x003E_k__BackingField>1</_x003C_Points_x003E_k__BackingField> <_x003C_ProjectSource_x003E_k__BackingField>sample string 2</_x003C_ProjectSource_x003E_k__BackingField> <_x003C_SourceStatus_x003E_k__BackingField>sample string 6</_x003C_SourceStatus_x003E_k__BackingField> <_x003C_Source_x003E_k__BackingField>sample string 4</_x003C_Source_x003E_k__BackingField> <_x003C_Sourceid_x003E_k__BackingField>5</_x003C_Sourceid_x003E_k__BackingField> <_x003C_TransactionDate_x003E_k__BackingField>2025-01-21T23:25:45.4846773-05:00</_x003C_TransactionDate_x003E_k__BackingField> </EarnedPoints> </_x003C_EarnedPointHistory_x003E_k__BackingField> <_x003C_EarnedPoints_x003E_k__BackingField>sample string 1</_x003C_EarnedPoints_x003E_k__BackingField> <_x003C_IsMobileVerified_x003E_k__BackingField>true</_x003C_IsMobileVerified_x003E_k__BackingField> <_x003C_RedeemPointHistory_x003E_k__BackingField> <SpentPoints> <_x003C_ExpiryDate_x003E_k__BackingField>2025-01-21T23:25:45.4846773-05:00</_x003C_ExpiryDate_x003E_k__BackingField> <_x003C_ImageUrl_x003E_k__BackingField>sample string 7</_x003C_ImageUrl_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 1</_x003C_Name_x003E_k__BackingField> <_x003C_Points_x003E_k__BackingField>3</_x003C_Points_x003E_k__BackingField> <_x003C_RedeemChoices_x003E_k__BackingField>sample string 6</_x003C_RedeemChoices_x003E_k__BackingField> <_x003C_RedemptionStatus_x003E_k__BackingField>sample string 5</_x003C_RedemptionStatus_x003E_k__BackingField> <_x003C_TransactionDate_x003E_k__BackingField>2025-01-21T23:25:45.4846773-05:00</_x003C_TransactionDate_x003E_k__BackingField> <_x003C_VoucherCode_x003E_k__BackingField>sample string 4</_x003C_VoucherCode_x003E_k__BackingField> <_x003C_Vpassword_x003E_k__BackingField>sample string 8</_x003C_Vpassword_x003E_k__BackingField> </SpentPoints> <SpentPoints> <_x003C_ExpiryDate_x003E_k__BackingField>2025-01-21T23:25:45.4846773-05:00</_x003C_ExpiryDate_x003E_k__BackingField> <_x003C_ImageUrl_x003E_k__BackingField>sample string 7</_x003C_ImageUrl_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 1</_x003C_Name_x003E_k__BackingField> <_x003C_Points_x003E_k__BackingField>3</_x003C_Points_x003E_k__BackingField> <_x003C_RedeemChoices_x003E_k__BackingField>sample string 6</_x003C_RedeemChoices_x003E_k__BackingField> <_x003C_RedemptionStatus_x003E_k__BackingField>sample string 5</_x003C_RedemptionStatus_x003E_k__BackingField> <_x003C_TransactionDate_x003E_k__BackingField>2025-01-21T23:25:45.4846773-05:00</_x003C_TransactionDate_x003E_k__BackingField> <_x003C_VoucherCode_x003E_k__BackingField>sample string 4</_x003C_VoucherCode_x003E_k__BackingField> <_x003C_Vpassword_x003E_k__BackingField>sample string 8</_x003C_Vpassword_x003E_k__BackingField> </SpentPoints> </_x003C_RedeemPointHistory_x003E_k__BackingField> <_x003C_ReviewPointHistory_x003E_k__BackingField> <ReviewPoints> <_x003C_CampSource_x003E_k__BackingField>sample string 4</_x003C_CampSource_x003E_k__BackingField> <_x003C_Comment_x003E_k__BackingField>sample string 9</_x003C_Comment_x003E_k__BackingField> <_x003C_HonarariumEarned_x003E_k__BackingField>8</_x003C_HonarariumEarned_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 2</_x003C_Name_x003E_k__BackingField> <_x003C_Points_x003E_k__BackingField>3</_x003C_Points_x003E_k__BackingField> <_x003C_ProjectSource_x003E_k__BackingField>sample string 1</_x003C_ProjectSource_x003E_k__BackingField> <_x003C_SourceStatus_x003E_k__BackingField>sample string 7</_x003C_SourceStatus_x003E_k__BackingField> <_x003C_Source_x003E_k__BackingField>sample string 6</_x003C_Source_x003E_k__BackingField> <_x003C_Sourceid_x003E_k__BackingField>5</_x003C_Sourceid_x003E_k__BackingField> <_x003C_TransactionDate_x003E_k__BackingField>2025-01-21T23:25:45.4846773-05:00</_x003C_TransactionDate_x003E_k__BackingField> </ReviewPoints> <ReviewPoints> <_x003C_CampSource_x003E_k__BackingField>sample string 4</_x003C_CampSource_x003E_k__BackingField> <_x003C_Comment_x003E_k__BackingField>sample string 9</_x003C_Comment_x003E_k__BackingField> <_x003C_HonarariumEarned_x003E_k__BackingField>8</_x003C_HonarariumEarned_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 2</_x003C_Name_x003E_k__BackingField> <_x003C_Points_x003E_k__BackingField>3</_x003C_Points_x003E_k__BackingField> <_x003C_ProjectSource_x003E_k__BackingField>sample string 1</_x003C_ProjectSource_x003E_k__BackingField> <_x003C_SourceStatus_x003E_k__BackingField>sample string 7</_x003C_SourceStatus_x003E_k__BackingField> <_x003C_Source_x003E_k__BackingField>sample string 6</_x003C_Source_x003E_k__BackingField> <_x003C_Sourceid_x003E_k__BackingField>5</_x003C_Sourceid_x003E_k__BackingField> <_x003C_TransactionDate_x003E_k__BackingField>2025-01-21T23:25:45.4846773-05:00</_x003C_TransactionDate_x003E_k__BackingField> </ReviewPoints> </_x003C_ReviewPointHistory_x003E_k__BackingField> <_x003C_ReviewPoints_x003E_k__BackingField>sample string 4</_x003C_ReviewPoints_x003E_k__BackingField> <_x003C_SpentPoints_x003E_k__BackingField>sample string 2</_x003C_SpentPoints_x003E_k__BackingField> <_x003C_ThresholdPoints_x003E_k__BackingField>6</_x003C_ThresholdPoints_x003E_k__BackingField> </RewardAndRedeemResponse>