Outbound Message
Outbound Message records hold the details of Emails or Webhooks sent out from the system.
Method | Purpose |
---|---|
GET (Singular) | Return Outbound Message details |
GET (List) | Return Outbound Message details in a list |
Resend Outbound Message | Resend Outbound Message |
GET (Singular)
Action: Return Outbound Message details.
Method: GET
URL: https://api.smarterpaycloud.com/service.svc/outboundmessage/{ID}
{ID} denotes ID of record.
GET (List)
Action: Return Outbound Message details in a list.
Method: GET
URL: https://api.smarterpaycloud.com/service.svc/outboundmessages
Optional Parameters and filters are available, please see below.
Optional Parameters and filters
Optional parameters can be added to the GET URL by using a “?” in front of the first parameter and “&” in front of subsequent parameters, for example https://api.smarterpaycloud.com/Service.svc/BankAccounts?limit=2&page_no=1
Parameter | Description |
---|---|
limit | Limits the number of records returned by the request. Default=40 when not specified. Minimum=1. Maximum=500. |
page_no | Specifies which page of records are returned by the request. Default=1 when not specified. |
sort_field | specifies which field to sort on. Options are: “id”,“sun”,“created_at” (Default when not specified). |
sort_order | Specifies which order to sort on. Options are asc (ascending. Default when not specified) or desc (descending). |
Filter | Description |
---|---|
created_from | Filter the list with records created after the datetime supplied. Format is YYYY-MM-DD HH:MM:SS (2022-05-13 10:15:00). |
created_to | Filter the list with records created before the datetime supplied. Format is YYYY-MM-DD HH:MM:SS (2022-05-13 10:15:00). |
id | Filter the list using the id. Matches will exactly match the provided value. |
record_type | Filter the list using the Record Type. Can be a comma seperated list of required values. Options are “email”,“webhook” |
sent_from | Filter the list with records sent after the datetime supplied. Format is YYYY-MM-DD HH:MM:SS (2022-05-13 10:15:00). |
sent_to | Filter the list with records sent before the datetime supplied. Format is YYYY-MM-DD HH:MM:SS (2022-05-13 10:15:00). |
status | Filter the list using the status of the record. Can be a comma seperated list of required values. Options are “pending”,“successful”,“resend”,“retry”,“failed”. |
Resend Outbound Message
Action: Resend Outbound Message.
Method: POST
URL: https://api.smarterpaycloud.com/service.svc/resendoutboundmessage/{ID}
{ID} denotes ID of record.
Request Parameters
No parameters needed.