Skip to content

Instantly share code, notes, and snippets.

Avatar

Express-Mailing expressmailing

View GitHub Profile
View audio_push_response.xml
<request login="demo" password="demo">
<notifications media="voice"
seek="id-notification"
max="100" />
</request>
@expressmailing
expressmailing / api_voice_campaign_exemple_push.xml
Last active Jan 3, 2018
API campagne audio exemple push XML
View api_voice_campaign_exemple_push.xml
<request login="demo" password="demo">
<push media="voice / messaging"
type="campaign / on_demand"
name="ref-alphanum"
start_date="01/01/2018 15:00:00"><!--n'oubliez pas le chevron de fermeture !)-->
<message type="wav">000000-wav-base64-000000</message>
<recipients>
<add target="+33 100000000" ref_target="uniq-id-for-report"/>
</recipients>
</push>
@expressmailing
expressmailing / api_voice_unit_exemple_push.xml
Created Jan 3, 2018
API audio unitaire exemple push XML
View api_voice_unit_exemple_push.xml
<request login="demo" password="demo">
<push media="voice"
type="on_demand"
name="Annonce audio au décrochage">
<message type="wav">000000-base64-000000</message>
<voice_config sender_id="0102030405">
<recipients>
<add target="+33 123456788" ref_target="uniq-id-for-report" />
</recipients>
</push>
@expressmailing
expressmailing / send_sms_unit_vb6.vb
Last active Jan 3, 2018
Exemple en VB 4/5/6 d'envoi de SMS unitaire
View send_sms_unit_vb6.vb
Private Sub Form_Load()
' Création du XML à poster
Dim xml As String
xml = "<request login=""your-login"" password=""your-password"">" & _
"<push media=""sms"" type=""on_demand"" name=""Test API Sms VB6"">" & _
"<message type=""text"">Mon premier test sms</message>" & _
"<recipients>" & _
"<add target=""+33 600000000"" />" & _
"</recipients>" & _
@expressmailing
expressmailing / send_sms_unit.vb
Created Jan 3, 2018
Exemple en VB d'envoi de SMS unitaire
View send_sms_unit.vb
Public Sub Main(ByVal Args() As String)
' Création du XML à poster
Dim xml As String = "<request login=""your-login"" password=""your-password"">" & _
"<push media=""sms"" type=""on_demand"" name=""Test API Sms VB.NET"">" & _
"<message type=""text"">Mon premier test sms</message>" & _
"<recipients>" & _
"<add target=""+33 600000000"" />" & _
"</recipients>" & _
"</push>" & _
"</request>"
@expressmailing
expressmailing / send_sms_unit.cs
Created Jan 2, 2018
Exemple en C# d'envoi de SMS unitaire
View send_sms_unit.cs
static void Main(string[] args)
{
// Création du XML à poster
var xml = @"<request login=""your-login"" password=""your-password"">
<push media=""sms"" type=""on_demand"" name=""Test API Sms C#"">
<message type=""text"">Mon premier test sms</message>
<recipients>
<add target=""+33 600000000""/>
</recipients>
</push>
@expressmailing
expressmailing / api_sms_unit_exemple_push.php
Last active Jan 2, 2018
API SMS unitaire exemple push PHP
View api_sms_unit_exemple_push.php
<?php
// Création du XML à poster
$xml = '<request login="your-login" password="your-password">
<push media="sms" type="on_demand" name="Test API Sms PHP">
<message type="text">Mon premier test sms</message>
<recipients>
<add target="+33 600000000"/>
</recipients>
</push>
</request>';
@expressmailing
expressmailing / api_sms_unit_exemple_push.xml
Last active Jan 2, 2018
API SMS unitaire exemple push
View api_sms_unit_exemple_push.xml
<request login="your-login" password="your-password">
<push media="sms" type="on_demand" name="Test API Sms">
<message type="text">Mon premier test sms</message>
<recipients>
<add target="+33 600000000"/>
</recipients>
</push>
</request>
@expressmailing
expressmailing / add_sms_redlist.xml
Last active Dec 21, 2017
Structure de la commande
View add_sms_redlist.xml
<personnal_redlist media="sms">
<add target="+33 600000001" comment="Le client a renvoyé STOP par SMS"/>
<remove target="+33 600000002"/>
</personnal_redlist>
@expressmailing
expressmailing / SMS_notification_request.xml
Created Dec 18, 2017
Récupération des notifications SMS
View SMS_notification_request.xml
<request login="demo" password="demo">
<notifications media="sms"
seek="id-notification"
max="100" />
</request>