All URIs are relative to https://rest.clicksend.com/v3
Method | HTTP request | Description |
---|---|---|
VoiceDeliveryReceiptAutomationDelete | DELETE /automations/voice/receipts/{receipt_rule_id} | Delete voice delivery receipt automation |
VoiceDeliveryReceiptAutomationGet | GET /automations/voice/receipts/{receipt_rule_id} | Get specific voice delivery receipt automation |
VoiceDeliveryReceiptAutomationPost | POST /automations/voice/receipts | Create voice delivery receipt automations |
VoiceDeliveryReceiptAutomationPut | PUT /automations/voice/receipts/{receipt_rule_id} | Update voice delivery receipt automation |
VoiceDeliveryReceiptAutomationsGet | GET /automations/voice/receipts | Get all voice delivery receipt automations |
string VoiceDeliveryReceiptAutomationDelete (int? receiptRuleId)
Delete voice delivery receipt automation
Delete voice delivery receipt automation
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class VoiceDeliveryReceiptAutomationDeleteExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new VoiceDeliveryReceiptRulesApi();
var receiptRuleId = 56; // int? | Receipt rule id
try
{
// Delete voice delivery receipt automation
string result = apiInstance.VoiceDeliveryReceiptAutomationDelete(receiptRuleId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling VoiceDeliveryReceiptRulesApi.VoiceDeliveryReceiptAutomationDelete: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
receiptRuleId | int? | Receipt rule id |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string VoiceDeliveryReceiptAutomationGet (int? receiptRuleId)
Get specific voice delivery receipt automation
Get specific voice delivery receipt automation
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class VoiceDeliveryReceiptAutomationGetExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new VoiceDeliveryReceiptRulesApi();
var receiptRuleId = 56; // int? | Receipt rule id
try
{
// Get specific voice delivery receipt automation
string result = apiInstance.VoiceDeliveryReceiptAutomationGet(receiptRuleId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling VoiceDeliveryReceiptRulesApi.VoiceDeliveryReceiptAutomationGet: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
receiptRuleId | int? | Receipt rule id |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string VoiceDeliveryReceiptAutomationPost (DeliveryReceiptRule body)
Create voice delivery receipt automations
Create voice delivery receipt automations
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class VoiceDeliveryReceiptAutomationPostExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new VoiceDeliveryReceiptRulesApi();
var body = new DeliveryReceiptRule(); // DeliveryReceiptRule | voice delivery receipt rule model
try
{
// Create voice delivery receipt automations
string result = apiInstance.VoiceDeliveryReceiptAutomationPost(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling VoiceDeliveryReceiptRulesApi.VoiceDeliveryReceiptAutomationPost: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | DeliveryReceiptRule | voice delivery receipt rule model |
string
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string VoiceDeliveryReceiptAutomationPut (DeliveryReceiptRule body, int? receiptRuleId)
Update voice delivery receipt automation
Update voice delivery receipt automation
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class VoiceDeliveryReceiptAutomationPutExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new VoiceDeliveryReceiptRulesApi();
var body = new DeliveryReceiptRule(); // DeliveryReceiptRule | Delivery receipt rule model
var receiptRuleId = 56; // int? | Receipt rule id
try
{
// Update voice delivery receipt automation
string result = apiInstance.VoiceDeliveryReceiptAutomationPut(body, receiptRuleId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling VoiceDeliveryReceiptRulesApi.VoiceDeliveryReceiptAutomationPut: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | DeliveryReceiptRule | Delivery receipt rule model | |
receiptRuleId | int? | Receipt rule id |
string
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string VoiceDeliveryReceiptAutomationsGet (string q = null, int? page = null, int? limit = null)
Get all voice delivery receipt automations
Get all voice delivery receipt automations
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class VoiceDeliveryReceiptAutomationsGetExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new VoiceDeliveryReceiptRulesApi();
var q = q_example; // string | Your keyword or query. (optional)
var page = 56; // int? | Page number (optional) (default to 1)
var limit = 56; // int? | Number of records per page (optional) (default to 10)
try
{
// Get all voice delivery receipt automations
string result = apiInstance.VoiceDeliveryReceiptAutomationsGet(q, page, limit);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling VoiceDeliveryReceiptRulesApi.VoiceDeliveryReceiptAutomationsGet: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
q | string | Your keyword or query. | [optional] |
page | int? | Page number | [optional] [default to 1] |
limit | int? | Number of records per page | [optional] [default to 10] |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]