POST api/rewards/issue
Issue a specific reward.
Request Information
URI Parameters
Query String: overrideIneligible={overrideIneligible}
Name | Description | Type | Additional information |
---|---|---|---|
overrideIneligible |
Allows you to override eligiblity date rules. Issue rewards with eligibility dates in the future. Optional. |
boolean |
Default value is False |
Body Parameters
Data needed for issuing a reward. Required.
Type: IssueRewardInfo
Name | Description | Type | Additional information |
---|---|---|---|
rewardId |
The unique ID of the reward to issue. |
string |
Required |
recipientInfo |
(deprecated) Additional info about the reward to issue. In most cases, this can be left blank. For PayPal, include the email address of the recipient. Optional. |
string |
None. |
note |
A message to be sent to the recipient of the reward. Optional. |
string |
None. |
Request Formats
application/json, text/json
{ "rewardId": "sample string 1", "recipientInfo": "sample string 2", "note": "sample string 3" }
application/xml, text/xml
<issueReward xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <note>sample string 3</note> <recipientInfo>sample string 2</recipientInfo> <rewardId>sample string 1</rewardId> </issueReward>
Response Information
Resource Description
[HTTP Status 200 - OK]
Type: IssueRewardResult
Name | Description | Type | Additional information |
---|---|---|---|
reward |
The reward, after the attempt to issue it has been received. |
Reward |
None. |
resultInfo |
Details about the results of the request. |
ResultInfo |
None. |
Response Formats
application/json, text/json
{ "reward": { "id": "0f137f8f-5894-4f9c-b20e-589f2b5408e6", "payoutId": "fabf2afe-4e3e-4187-85e6-58f17efa1cdb", "payoutDescription": "sample string 3", "programId": "90228c02-abdb-4dcd-840d-d29c6ed54ad3", "programName": "sample string 5", "memberId": "af775305-d804-4675-ae51-06e915e740e4", "referralId": "f3911930-f8d9-4ec5-87af-717c64d5d672", "type": "sample string 6", "recipientId": "5e8d46d3-3592-4326-b385-58c9a77a5bd4", "recipientName": "sample string 7", "recipientEmailAddress": "sample string 8", "recipientExternalIdentifier": "sample string 9", "externalIdentifier": "sample string 10", "status": "sample string 11", "amount": 12.0, "createDate": "2025-02-22T08:32:16.6615496Z", "issueDate": "2025-02-22T08:32:16.6615496Z", "eligibilityDate": "2025-02-22T08:32:16.6615496Z", "description": "sample string 15", "transactionID": "8ee13ec3-c8ed-4be2-9165-c4e9a1f686fa", "updateDate": "2025-02-22T08:32:16.6615496Z", "referralDisplayName": "sample string 17", "currencyCode": "sample string 18", "source": "sample string 19", "programRewardRuleId": "03f92fa9-71cb-4c33-92d7-81b653dfe897", "paymentType": "sample string 20", "paymentCode": "sample string 21", "completeNote": "sample string 22" }, "resultInfo": { "Status": "sample string 1", "Message": "sample string 2" } }
application/xml, text/xml
<issueRewardResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <resultInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/ReferralRock.Api.Models.Response"> <d2p1:Message>sample string 2</d2p1:Message> <d2p1:Status>sample string 1</d2p1:Status> </resultInfo> <reward> <id>0f137f8f-5894-4f9c-b20e-589f2b5408e6</id> <payoutId>fabf2afe-4e3e-4187-85e6-58f17efa1cdb</payoutId> <payoutDescription>sample string 3</payoutDescription> <programId>90228c02-abdb-4dcd-840d-d29c6ed54ad3</programId> <programName>sample string 5</programName> <memberId>af775305-d804-4675-ae51-06e915e740e4</memberId> <referralId>f3911930-f8d9-4ec5-87af-717c64d5d672</referralId> <type>sample string 6</type> <recipientId>5e8d46d3-3592-4326-b385-58c9a77a5bd4</recipientId> <recipientName>sample string 7</recipientName> <recipientEmailAddress>sample string 8</recipientEmailAddress> <recipientExternalIdentifier>sample string 9</recipientExternalIdentifier> <externalIdentifier>sample string 10</externalIdentifier> <status>sample string 11</status> <amount>12</amount> <createDate>2025-02-22T08:32:16.6615496+00:00</createDate> <issueDate>2025-02-22T08:32:16.6615496+00:00</issueDate> <eligibilityDate>2025-02-22T08:32:16.6615496+00:00</eligibilityDate> <description>sample string 15</description> <transactionID>8ee13ec3-c8ed-4be2-9165-c4e9a1f686fa</transactionID> <updateDate>2025-02-22T08:32:16.6615496+00:00</updateDate> <referralDisplayName>sample string 17</referralDisplayName> <currencyCode>sample string 18</currencyCode> <source>sample string 19</source> <programRewardRuleId>03f92fa9-71cb-4c33-92d7-81b653dfe897</programRewardRuleId> <paymentType>sample string 20</paymentType> <paymentCode>sample string 21</paymentCode> <completeNote>sample string 22</completeNote> </reward> </issueRewardResult>