tenant-reward-group-read
or tenant-admin
Gets a list of the Reward Groups.
Returns the Rewards Groups response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "rewardGroups": [
- {
- "rewardGroupId": "d2536a50-70ae-463a-a3c2-2c67082feeaf",
- "name": "string",
- "rewards": [
- {
- "rewardId": "string",
- "isEnabled": true
}
]
}
]
}
tenant-reward-group-write
or tenant-admin
Creates a new Reward Group.
Returns the Rewards Group response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "name": "string",
- "rewards": [
- {
- "rewardId": "string",
- "isEnabled": true
}
]
}
{- "rewardGroupId": "d2536a50-70ae-463a-a3c2-2c67082feeaf",
- "name": "string",
- "rewards": [
- {
- "rewardId": "string",
- "isEnabled": true
}
]
}
tenant-reward-group-read
or tenant-admin
Gets a Reward Group by the rewardGroupId
.
Returns the Rewards Group response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "rewardGroupId": "d2536a50-70ae-463a-a3c2-2c67082feeaf",
- "name": "string",
- "rewards": [
- {
- "rewardId": "string",
- "isEnabled": true
}
]
}
tenant-reward-group-write
or tenant-admin
Updates a Reward Group by the rewardGroupId
.
Returns the rewards group response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "name": "string",
- "rewards": [
- {
- "rewardId": "string",
- "isEnabled": true
}
]
}
{- "rewardGroupId": "d2536a50-70ae-463a-a3c2-2c67082feeaf",
- "name": "string",
- "rewards": [
- {
- "rewardId": "string",
- "isEnabled": true
}
]
}
tenant-reward-group-write
or tenant-admin
Deletes an existing Reward Group by the rewardGroupId
.
No Content
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.