/
BulkGate Entwicklerdokumentation
/
Simple API
/
Transaktions-SMS – Anfragemethoden
Transaktions-SMS – Anfragemethoden
Beispiele für Anfragen an den Endpunkt simple/transactional in allen unterstützten Methoden. Die Bedeutung der Parameter finden Sie in der Spezifikation , fertigen Code für die einzelnen Sprachen in den Beispielen .
Es ist strengstens verboten , transaktionale SMS für Werbe- oder Marketingzwecke zu missbrauchen. Sie dürfen nur zu Informationszwecken verwendet werden - als SMS-Benachrichtigung.
Methode GET
Beispiel einer vollständigen Anfrage:
https:// portal.bulkgate.com /api/1.0/simple/transactional
? application_id = 451
& application_token = NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj
& number = 420777777777
& text = test_sms
& unicode = yes
& sender_id = gText
& sender_id_value = BulkGate
& country = cz
Beispiel einer Anfrage mit Ergänzung der Ländervorwahl:
https:// portal.bulkgate.com /api/1.0/simple/transactional
? application_id = 451
& application_token = NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj
& number = 777777777
& text = test_sms
& country = cz
Methode POST - application/x-www-form-urlencoded
Beispiel einer vollständigen Anfrage:
POST /api/1.0/simple/transactional HTTP/1.1
Host : portal.bulkgate.com
Content-Type : application/x-www-form-urlencoded
application_id=451&application_token=NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj&number=420777777777&text=test_sms&unicode=yes&sender_id=gText&sender_id_value=BulkGate&country=cz
Beispiel einer Anfrage mit Ergänzung der Ländervorwahl:
POST /api/1.0/simple/transactional HTTP/1.1
Host : portal.bulkgate.com
Content-Type : application/x-www-form-urlencoded
application_id=451&application_token=NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj&number=777777777&text=test_sms&country=cz
Methode POST - application/json
Beispiel einer vollständigen Anfrage:
POST /api/1.0/simple/transactional HTTP/1.1
Host : portal.bulkgate.com
Content-Type : application/json
{
"application_id" : 451,
"application_token" : "NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj" ,
"number" : "777777777" ,
"text" : "test_sms" ,
"unicode" : true,
"sender_id" : "gText" ,
"sender_id_value" : "BulkGate" ,
"country" : "cz"
}
Beispiel einer Anfrage mit Ergänzung der Ländervorwahl:
POST /api/1.0/simple/transactional HTTP/1.1
Host : portal.bulkgate.com
Content-Type : application/json
{
"application_id" : 451,
"application_token" : "NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj" ,
"number" : "777777777" ,
"text" : "test_sms" ,
"country" : "cz"
}
War diese Seite hilfreich?
thumb_up Ja
thumb_down Nein
Vielen Dank für Ihr Feedback.