Authorization: Bearer ********************
curl --location --request POST 'https://horizon-api-sb.app.rpe.tech/api/v1/sms-notice/servicos' \
--header 'accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"descricao": "Descrição do Serviço SMS",
"mensagem": "Bem-vindo ao CARTAOAYRES, MICHAEL A.",
"evento": {
"nome": "TRANSACAO_APROVADA",
"operacao": "CADASTRO"
}
}'
{
"timestamp": "2019-08-24T14:15:22Z",
"statusCode": 0,
"error": "string",
"message": "string",
"path": "string",
"fieldErrors": [
{
"objectName": "string",
"field": "string",
"message": "string"
}
]
}