Skip to content

Commit

Permalink
Add comprehensive description to outbound message sending 400 SC-4051
Browse files Browse the repository at this point in the history
  • Loading branch information
audreylesh-sap committed Oct 2, 2024
1 parent 6eb8c99 commit 2f73ef4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion openapi/sms/v1/partner-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,14 @@ paths:
'202':
$ref: './common.yaml#/components/responses/AcceptedResponse'
'400':
description: Returns error type and error context globally, for all messages, or per message
description: |
Returns error type and error context globally, for all messages, or per message.
Use the OutboundMessageBatchGlobalError schema if there is an issue with the payload as a whole, and use the OutboundMessageBatchMessageSpecificError response schema if any of the messages are invalid.
No messages should be sent or processed if the payload is invalid in any way, even if there are some valid messages among the invalid ones.
Upon recieving a OutboundMessageBatchMessageSpecificError response, the Emarsys SMS Service will treat all of the messages with errors as failed and will retry any messages that did not have errors.
content:
application/json:
schema:
Expand Down

0 comments on commit 2f73ef4

Please sign in to comment.