All URIs are relative to https://api.messente.com/v1
Method | HTTP request | Description |
---|---|---|
CancelScheduledMessage | DELETE /omnimessage/{omnimessage_id} | Cancels a scheduled Omnimessage |
SendOmnimessage | POST /omnimessage | Sends an Omnimessage |
void CancelScheduledMessage (Guid? omnimessageId)
Cancels a scheduled Omnimessage
using System;
using System.Diagnostics;
using com.Messente.Omnichannel.Api;
using com.Messente.Omnichannel.Client;
using com.Messente.Omnichannel.Model;
namespace Example
{
public class CancelScheduledMessageExample
{
public static void Main()
{
// Configure HTTP basic authorization: basicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new OmnimessageApi();
var omnimessageId = new Guid?(); // Guid? | UUID of the scheduled Omnimessage to be cancelled
try
{
// Cancels a scheduled Omnimessage
apiInstance.CancelScheduledMessage(omnimessageId);
}
catch (Exception e)
{
Debug.Print("Exception when calling OmnimessageApi.CancelScheduledMessage: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
omnimessageId | Guid? | UUID of the scheduled Omnimessage to be cancelled |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OmniMessageCreateSuccessResponse SendOmnimessage (Omnimessage omnimessage)
Sends an Omnimessage
using System;
using System.Diagnostics;
using com.Messente.Omnichannel.Api;
using com.Messente.Omnichannel.Client;
using com.Messente.Omnichannel.Model;
namespace Example
{
public class SendOmnimessageExample
{
public static void Main()
{
// Configure HTTP basic authorization: basicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new OmnimessageApi();
var omnimessage = new Omnimessage(); // Omnimessage | Omnimessage to be sent
try
{
// Sends an Omnimessage
OmniMessageCreateSuccessResponse result = apiInstance.SendOmnimessage(omnimessage);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OmnimessageApi.SendOmnimessage: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
omnimessage | Omnimessage | Omnimessage to be sent |
OmniMessageCreateSuccessResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]