iGRPIGRP 3.0Documentation

Entregas e estatísticas

Estado manual das entregas OFFLINE e contagens agrupadas.

POST
/api/v1/deliveries/{id}/status

Permissão: igrp.notification.manual_status.

Autorização

bearer-jwt
headerAutorizaçãoBearer <token>

Token do Access Management. Os envios são M2M (client_credentials); a inbox usa o token do utilizador.

Parâmetros de caminho

id*string
Formatouuid

Corpo do pedido

application/json
  1. body
status*string
Valor em"PENDING""QUEUED""SENDING""SENT""DELIVERED""READ""FAILED""CANCELLED""EXPIRED"
reason?string
applicationCode?string

Corpo da resposta

OK

*/*
  1. response
[key: string]?unknown
curl -X POST 'http://localhost:2575/gateway-api/igrp-notification-service/api/v1/deliveries/497f6eca-6276-4993-bfeb-53cbbbba6f08/status' \  -H 'Content-Type: application/json' \  -d '{  "status": "PENDING"}'
{  "property1": null,  "property2": null}

Estatísticas de entregas

GET
/api/v1/stats/deliveries

Permissão: igrp.notification.read. groupBy é obrigatório: CHANNEL, STATUS ou APPLICATION.

Autorização

bearer-jwt
headerAutorizaçãoBearer <token>

Token do Access Management. Os envios são M2M (client_credentials); a inbox usa o token do utilizador.

Parâmetros de query

groupBy*string
Valor em"CHANNEL""STATUS""APPLICATION"
from?string
Formatodate-time
to?string
Formatodate-time
allApplications?boolean
Predefinidofalse
applicationCode?string

Corpo da resposta

OK

*/*
  1. response
[index: integer]?
curl -X GET 'http://localhost:2575/gateway-api/igrp-notification-service/api/v1/stats/deliveries?groupBy=CHANNEL'
[  {    "key": "string",    "count": 0  }]
How is this guide?

Última atualização: