GET v1/Companies({CompanyId})/Entities({LocationId})/Rewards
Returns All the Loyalty Rewards for a Location in a Company
Information:
Base URL:
https://api.covasoft.net/iqloyalty
Example of a call would be:
https://api.covasoft.net/iqloyalty/v1/Companies({CompanyId})/Entities({LocationId})/Rewards
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CompanyId |
The unique Company Id that was provided in your onboarding pacakage |
integer |
Required |
LocationId |
The Location where you want Loyalty Rewards |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Loyalty Rewards for a Location in a Company
Collection of LoyaltyRewardsByCompanyReturnName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
PointsRequired | integer |
None. |
|
Type | string |
None. |
|
Value | string |
None. |
|
DiscountId | globally unique identifier |
None. |
|
LastModifiedUtc | date |
None. |
|
LastModifiedUserName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2", "PointsRequired": 3, "Type": "sample string 4", "Value": "sample string 5", "DiscountId": "854384dc-3db1-4665-8e45-0192664aa951", "LastModifiedUtc": "2024-11-25T11:34:21.4096189+00:00", "LastModifiedUserName": "sample string 8" }, { "Id": 1, "Name": "sample string 2", "PointsRequired": 3, "Type": "sample string 4", "Value": "sample string 5", "DiscountId": "854384dc-3db1-4665-8e45-0192664aa951", "LastModifiedUtc": "2024-11-25T11:34:21.4096189+00:00", "LastModifiedUserName": "sample string 8" } ]