Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 2.21 KB

DeliveryReportApi.md

File metadata and controls

76 lines (53 loc) · 2.21 KB

MessenteApi::DeliveryReportApi

All URIs are relative to https://api.messente.com/v1

Method HTTP request Description
retrieve_delivery_report GET /omnimessage/{omnimessageId}/status Retrieves the delivery report for the Omnimessage

retrieve_delivery_report

retrieve_delivery_report(omnimessage_id)

Retrieves the delivery report for the Omnimessage

Examples

require 'time'
require 'messente_api'
# setup authorization
MessenteApi.configure do |config|
  # Configure HTTP basic authorization: basicAuth
  config.username = 'YOUR USERNAME'
  config.password = 'YOUR PASSWORD'
end

api_instance = MessenteApi::DeliveryReportApi.new
omnimessage_id = 'omnimessage_id_example' # String | UUID of the omnimessage to for which the delivery report is to be retrieved

begin
  # Retrieves the delivery report for the Omnimessage
  result = api_instance.retrieve_delivery_report(omnimessage_id)
  p result
rescue MessenteApi::ApiError => e
  puts "Error when calling DeliveryReportApi->retrieve_delivery_report: #{e}"
end

Using the retrieve_delivery_report_with_http_info variant

This returns an Array which contains the response data, status code and headers.

<Array(, Integer, Hash)> retrieve_delivery_report_with_http_info(omnimessage_id)

begin
  # Retrieves the delivery report for the Omnimessage
  data, status_code, headers = api_instance.retrieve_delivery_report_with_http_info(omnimessage_id)
  p status_code # => 2xx
  p headers # => { ... }
  p data # => <DeliveryReportResponse>
rescue MessenteApi::ApiError => e
  puts "Error when calling DeliveryReportApi->retrieve_delivery_report_with_http_info: #{e}"
end

Parameters

Name Type Description Notes
omnimessage_id String UUID of the omnimessage to for which the delivery report is to be retrieved

Return type

DeliveryReportResponse

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json