Odošle správu a uloží ju medzi odoslané správy v schránke
Changed onOdošle SKTalk správu a uloží ju medzi odoslané správy v schránke.
Nakoľko ide o dve operácie, ktoré nie je možné transakčne spojiť, možu nastať prípady keď odoslanie prebehne úspešne ale uloženie zlyhá.
Volanie neuloží správu medzi odoslané ak výsledok odoslania nemá hodnotu 0 alebo ak prišlo k vypršaniu času požiadavky na ÚPVS.
Request
- Base URLhttps://fix.slovensko-sk-api.staging.slovensko.digital
- URLhttps://fix.slovensko-sk-api.staging.slovensko.digital/api/sktalk/receive_and_save_to_outbox
- Auth
- HTTP bearer
- or HTTP bearer
Request body
Example request
{
"message": "<SKTalkMessage ..."
}Response
Úspešné odoslanie SKTalk správy a uloženie medzi odoslané správy v schránke.
Example response
{
"receive_result": 0,
"receive_timeout": false,
"save_to_outbox_result": 0,
"save_to_outbox_timeout": false
}Changes
- breaking
request body became required
- breaking
removed the media type
application/x-www-form-urlencodedfrom the request body - info
added the media type
application/jsonto the request body
- breaking
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking