Pular para o conteúdo

Get notifications by status and priority

Requisição

Get notification entities by notification status and priority

Segurança
Bearer
Consulta
pageinteger

The page number for paginated results. The value is zero-based, where 0 represents the first page.
Set it to 0 to get the first page of results.

Padrão:0
sizeinteger, [ 1 .. 100 ]

Number of notification objects to return per page.

Padrão:10
notification_statusstring

Status of ripplenet notifications.

Padrão:"DELIVERED"
Enum:"CREATED""DELIVERED""READ""DELETED"
notification_prioritystring

Priority of ripplenet notifications.

Padrão:"ALL"
Enum:"ALL""ERROR""INFO""WARN"
sort_fieldstring

describes how to sort the results.

Padrão:"CREATED_DTTM"
Enum:"CREATED_DTTM""MODIFIED_DTTM"
sort_directionstring

Direction of sorted results.

Padrão:"ASC"
Enum:"ASC""DESC"
curl -i -X GET \
  'https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/ripplenet/notifications?page=0&size=10&notification_status=CREATED&notification_priority=ALL&sort_field=CREATED_DTTM&sort_direction=ASC' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Respostas

Successfully returned notifications for the request

Corpoapplication/json
firstboolean

true if this is the first page.

lastboolean

true if this is the last page.

numberinteger

page number

numberOfElementsinteger

Number Of elements in this request

sizeinteger

page size

totalElementsinteger, (int64)

Total number of elements for the given request

totalPagesinteger

Total number of pages for the given request

sortArray of objects

Sort details of this page

contentArray of objects
Resposta
{ "first": true, "last": true, "number": 0, "numberOfElements": 0, "size": 0, "totalElements": 0, "totalPages": 0, "sort": [ { … } ], "content": [ { … } ] }