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": "357696a2-c6c7-498a-a64d-4eebb51df847", "LastModifiedUtc": "2024-11-07T08:52:41.8973136+00:00", "LastModifiedUserName": "sample string 8" }, { "Id": 1, "Name": "sample string 2", "PointsRequired": 3, "Type": "sample string 4", "Value": "sample string 5", "DiscountId": "357696a2-c6c7-498a-a64d-4eebb51df847", "LastModifiedUtc": "2024-11-07T08:52:41.8973136+00:00", "LastModifiedUserName": "sample string 8" } ]