Get Reward Expiry Reminder

This API allows you to retrieve information of all the reward expiry reminder which was set.

👍

Note

For detailed information about our APIs and for hands-on testing, refer documentation in API overview and step-by-step guide on making your first API call in Make your first API call .

Prerequisites

  • Basic or OAuth Authentication
  • Default access group

Resource information

URI/api_gateway/rewards/core/v1/reward/expiryReminder
HTTP MethodGET
PaginationYes
Batch supportNo
Rate limit informationNone

API endpoint example

https://eu.api.capillarytech.com/api_gateway/rewards/core/v1/reward/expiryReminder?filter=ACTIVE&size=10&page=0

Request query parameters

Parameter NameDatatypeDescription
filterBooleanFilters the active or inactive reward expiry reminder. Supported values: ACTIVE and INACTIVE, both in uppercase.
NOTE: If no filters are provided, the default value in the response will be set to ACTIVE.
sizeIntegerThe number of items or records returned in a single API response.
pageIntegerThe amount of the data that you want to retrieve.

Response parameters

Parameter NameDescription
idUnique identifier for the reward expiry reminder.
orgIdIdentifier for the organization associated with the reminder.
durationDuration before the expiry to send a reminder.
durationTypeType of duration.
cronTaskIdThis is the unique database identifier for each cron setup, with each cron associated with specific timing, modules, and other relevant parameters.
timingTime at which the reminder will be triggered (in HH:MM format).
isActiveIndicates whether the reminder is currently active.
createdOnTimestamp of when the reminder was created in epoch timestamp
lastUpdatedOnTimestamp of the last update in epoch timestamp.
createdByIdentifier of the user who created the reminder.
lastUpdatedByIdentifier of the user who last updated the reminder.
pagingDtoDetails of pagination.
{
    "rewardExpiryReminder": [
        {
            "id": 5,
            "orgId": 100458,
            "duration": 15,
            "durationType": "DAYS",
            "cronTaskId": 590567,
            "timing": "12:00",
            "isActive": true,
            "createdOn": 1727681940000,
            "lastUpdatedOn": 1727681946000,
            "createdBy": 75130850,
            "lastUpdatedBy": 75130850
        },
        {
            "id": 2,
            "orgId": 100458,
            "duration": 15,
            "durationType": "DAYS",
            "cronTaskId": 590564,
            "timing": "12:00",
            "isActive": true,
            "createdOn": 1727680228000,
            "lastUpdatedOn": 1727681674000,
            "createdBy": 75130850,
            "lastUpdatedBy": 75130850
        },
        {
            "id": 4,
            "orgId": 100458,
            "duration": 32,
            "durationType": "DAYS",
            "cronTaskId": 590566,
            "timing": "18:00",
            "isActive": true,
            "createdOn": 1727681405000,
            "lastUpdatedOn": 1727681405000,
            "createdBy": 75130850,
            "lastUpdatedBy": 75130850
        },
        {
            "id": 3,
            "orgId": 100458,
            "duration": 32,
            "durationType": "DAYS",
            "cronTaskId": 590565,
            "timing": "18:00",
            "isActive": true,
            "createdOn": 1727680457000,
            "lastUpdatedOn": 1727680457000,
            "createdBy": 75130850,
            "lastUpdatedBy": 75130850
        }
    ],
    "pagingDto": {
        "last": true,
        "totalElements": 4,
        "totalPages": 1,
        "numberOfElements": 4,
        "first": true,
        "size": 10,
        "number": 0
    }
}
{
    "status": {
        "success": false,
        "code": 400,
        "message": "size should be greater or equal to 1."
    }
}
{
    "status": {
        "success": false,
        "code": 400,
        "message": "page should be greater or equal to 0."
    }
}

API-specific error codes

Error codeDescription
400- Size should be greater or equal to 1.
400- Page should be greater or equal to 0.
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!