Get Subscriptions

The following endpoint can be used to retrieve the details of Subscriptions within the Hyfin application.

Punto Final

The following endpoint can be used to retrieve Subscriptions. You must replace the {base_url} , {site_id} and {updated_after} variables with the appropriate values.

GET
{base_url}/api/v4/site/{site_id}/subscriptions?updated_after={updated_after}
Solicitar parámetros de consulta
Campo
Tipo
Requerido
Descripción
updated_after
Date
--
A timestamp to be used as the start of the date range (exclusive) of the query. On subsequent requests, you should pass in the `next_updated_after` value that was in the response of the previous request. Format = YYYY-MM-DDTHH:mm:ss.SSSZ
Respuesta
Campo
Tipo
Descripción
records_matched
Number
El número de registros que coincidieron con los parámetros de la consulta.
records_returned
Number
El número de registros que fueron devueltos.
next_updated_after
Date
Un sello de tiempo que se utilizará como el inicio del rango de fechas (exclusivo) de la próxima consulta para el mismo punto final. Esto se utiliza para la paginación al consultar con un parámetro updated_after. Format = YYYY-MM-DDTHH:mm:ss.SSSZ
records
La lista de contactos que coinciden con los parámetros de la consulta.