getAlerts

fun getAlerts(acceptedSince: Long? = null, expiredSince: Long? = null, cancelledSince: Long? = null): Single<AlertContainer>

Fetches all the alerts from the specified params acceptedSince, expiredSince , cancelledSince if they are provided.

Return

A single that will emit the Alerts Container when the request is processed. In case of error, it will emit a SippoResourceError.

Parameters

acceptedSince

alerts that have been accepted between current time and (current time - acceptedSince) will be retrieved.

cancelledSince

alerts that have been cancelled between current time and (current time - cancelledSince) will be retrieved.

expiredSince

alerts that have been expired between current time and (current time - expiredSince) will be retrieved.