Search Earning Rules
1 min
GET
https://api.b.preview.loyaltyservices.io/api/v3/earning-rules
namestring<p>Filter by earning rule name (case-insensitive contains match)</p>
statusCodestring<p>Filter by status (A = Active, I = Inactive). Values for this field need to match datacodes setup with a CodeType of: EarningRuleStatus</p>
fromDatestring<date><p>Filter by start date (inclusive)</p>
toDatestring<date><p>Filter by end date (inclusive)</p>
dataReleaseNamestringFilter by data release name
pageNumberinteger<p>requested results page (1 if not present)</p>
pageSizeintegerrequested number of items per page
acceptstringGenerated from available response content types
200Success
400Bad request
401Unauthorized
403Forbidden
500Internal error
curl --request GET \
--url 'https://api.b.preview.loyaltyservices.io/api/v3/earning-rules?pageNumber=1&pageSize=50' \
--header 'accept: application/json'