get Alerts
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
accepted Since
alerts that have been accepted between current time and (current time - acceptedSince) will be retrieved.
cancelled Since
alerts that have been cancelled between current time and (current time - cancelledSince) will be retrieved.
expired Since
alerts that have been expired between current time and (current time - expiredSince) will be retrieved.