POST api/rewards/issue

Issue a specific reward.

Request Information

URI Parameters

Query String: overrideIneligible={overrideIneligible}

NameDescriptionTypeAdditional 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

NameDescriptionTypeAdditional 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

Sample:
{
  "rewardId": "sample string 1",
  "recipientInfo": "sample string 2",
  "note": "sample string 3"
}

application/xml, text/xml

Sample:
<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

NameDescriptionTypeAdditional 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

Sample:
{
  "reward": {
    "id": "fa714717-c8f8-4fa9-bc85-5657327b1238",
    "payoutId": "31c6c790-0ea5-4206-a23c-75eed037b214",
    "payoutDescription": "sample string 3",
    "programId": "9544a23e-c746-4f7f-ac80-f1c9fc9ebd3d",
    "programName": "sample string 5",
    "memberId": "908c1083-6787-40f4-b9bc-dd3ba27af7e2",
    "referralId": "bb4579b3-c3ec-4746-b3a7-8a8a81a96e68",
    "type": "sample string 6",
    "recipientId": "412e8122-11c8-4e41-8019-5ffc10da56e1",
    "recipientName": "sample string 7",
    "recipientEmailAddress": "sample string 8",
    "recipientExternalIdentifier": "sample string 9",
    "externalIdentifier": "sample string 10",
    "status": "sample string 11",
    "amount": 12.0,
    "createDate": "2024-04-26T04:14:27.5015913Z",
    "issueDate": "2024-04-26T04:14:27.5015913Z",
    "eligibilityDate": "2024-04-26T04:14:27.5015913Z",
    "description": "sample string 15",
    "transactionID": "4880db50-6478-491f-aafb-aa68e44cf64f",
    "updateDate": "2024-04-26T04:14:27.5015913Z",
    "referralDisplayName": "sample string 17",
    "currencyCode": "sample string 18",
    "source": "sample string 19",
    "programRewardRuleId": "dbbbea5a-4009-4490-807b-df07002eee86",
    "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

Sample:
<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>fa714717-c8f8-4fa9-bc85-5657327b1238</id>
    <payoutId>31c6c790-0ea5-4206-a23c-75eed037b214</payoutId>
    <payoutDescription>sample string 3</payoutDescription>
    <programId>9544a23e-c746-4f7f-ac80-f1c9fc9ebd3d</programId>
    <programName>sample string 5</programName>
    <memberId>908c1083-6787-40f4-b9bc-dd3ba27af7e2</memberId>
    <referralId>bb4579b3-c3ec-4746-b3a7-8a8a81a96e68</referralId>
    <type>sample string 6</type>
    <recipientId>412e8122-11c8-4e41-8019-5ffc10da56e1</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>2024-04-26T04:14:27.5015913+00:00</createDate>
    <issueDate>2024-04-26T04:14:27.5015913+00:00</issueDate>
    <eligibilityDate>2024-04-26T04:14:27.5015913+00:00</eligibilityDate>
    <description>sample string 15</description>
    <transactionID>4880db50-6478-491f-aafb-aa68e44cf64f</transactionID>
    <updateDate>2024-04-26T04:14:27.5015913+00:00</updateDate>
    <referralDisplayName>sample string 17</referralDisplayName>
    <currencyCode>sample string 18</currencyCode>
    <source>sample string 19</source>
    <programRewardRuleId>dbbbea5a-4009-4490-807b-df07002eee86</programRewardRuleId>
    <paymentType>sample string 20</paymentType>
    <paymentCode>sample string 21</paymentCode>
    <completeNote>sample string 22</completeNote>
  </reward>
</issueRewardResult>