POST SelfService/Redemption
Request Information
URI Parameters
None.
Body Parameters
RedemptionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceUsername | string |
Required |
|
| ServicePassword | string |
Required |
|
| MembershipNumber | string |
Required |
|
| TotalAmount | decimal number |
Required |
|
| Products | Collection of RedemptionProduct |
Required |
|
| Source | string |
Required |
|
| Reason | string |
None. |
|
| ReasonOther | string |
None. |
|
| VerifyOtp | VerifyOtpRequest |
None. |
Request Formats
application/json, text/json
Sample:
{
"TotalAmount": 4,
"Products": [
{
"Amount": 1,
"AccountNumber": "sample string 3",
"ProductCode": "sample string 2"
},
{
"Amount": 1,
"AccountNumber": "sample string 3",
"ProductCode": "sample string 2"
}
],
"VerifyOtp": {
"SessionId": "sample string 2",
"OtpCode": "sample string 1"
},
"ReasonOther": "sample string 7",
"Reason": "sample string 6",
"Source": "sample string 5",
"MembershipNumber": "sample string 3",
"ServicePassword": "sample string 2",
"ServiceUsername": "sample string 1"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RedemptionResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| MembershipNumber | integer |
None. |
|
| TrackingId | string |
None. |
|
| Status | string |
None. |
|
| StatusMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"MembershipNumber": 1,
"StatusMessage": "sample string 4",
"Status": "sample string 3",
"TrackingId": "sample string 2"
}
application/xml, text/xml
Sample:
<RedemptionResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <MembershipNumber>1</MembershipNumber> <TrackingId>sample string 2</TrackingId> <Status>sample string 3</Status> <StatusMessage>sample string 4</StatusMessage> </RedemptionResponse>