Raghavendra Rao
Raghavendra Rao

Reputation: 130

How to get all existing device registrations of push in IBM MFP

I have followed rest API(linked below) tutorial to get all the device registrations of push notifications in MFP. But I am getting maximum size of 5000 records, but I need all the device registrations. Kindly help me. restapi_push_device_registrations_get

Upvotes: 0

Views: 54

Answers (1)

Vittal Pai
Vittal Pai

Reputation: 3563

There is no way to get all the device registration records in a single REST call as 5000 is the maximum limit.

However you can achieve this using offset and size parameter of Mobilefirst Push Device Registrations (GET) Endpoint.

  • Pass size as 5000 and offset as 0 returns first 5000 device registration records
  • Pass size as 5000 and offset as 5000 returns next 5000 device registration records.

Upvotes: 0

Related Questions