Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Latest commit

 

History

History
70 lines (45 loc) · 2.1 KB

DeliveryReportApi.md

File metadata and controls

70 lines (45 loc) · 2.1 KB

Messente\Omnichannel\DeliveryReportApi

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

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

retrieveDeliveryReport

\Messente\Omnichannel\Model\DeliveryReportResponse retrieveDeliveryReport($omnimessageId)

Retrieves the delivery report for the Omnimessage

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure HTTP basic authorization: basicAuth
$config = Messente\Omnichannel\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');


$apiInstance = new Messente\Omnichannel\Api\DeliveryReportApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$omnimessageId = 'omnimessageId_example'; // string | UUID of the Omnimessage to for which the delivery report is to be retrieved

try {
    $result = $apiInstance->retrieveDeliveryReport($omnimessageId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeliveryReportApi->retrieveDeliveryReport: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
omnimessageId string UUID of the Omnimessage to for which the delivery report is to be retrieved

Return type

\Messente\Omnichannel\Model\DeliveryReportResponse

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

[Back to top] [Back to API list] [Back to Model list] [Back to README]