|
|
Anında Cevap JSON API Kullanım Kılavuzunu indirmek için TIKLAYINIZ! |
{
"Response": {
"code": 0,
"description": ""
}
}
Hata Kodu |
Açıklama |
0 |
Başarılı İşlem |
1 |
Hatalı, geçersiz serviceId bilgisi |
2 |
Gönderim Content bilgisi bulunamadı |
3 |
MSISDNArray bilgisi hatalı / eksik |
4 |
Hatalı / Eksik Parametre (hatalı parametre detaylı olarak açıklama alanında belirtilecektir.) |
5 |
GetInput alanı eksik |
6/8 |
SendSMS alanı eksik |
7 |
SelectInput alanı eksik |
9 |
Call MSISDN eksik |
10 |
GetInput2 alanı eksik |
11 |
SelectInput2 alanı eksik |
12 |
Hatalı / Geçersiz PacketID bilgisi |
Statü |
Açıklama |
OK / Success |
If all SIM service OTA short messages are delivered OK is returned as the result.
|
NOT_SUBSCRIBER |
The SIM Profile assigned to the MSISDN of service recipient subscriber does not support dynamic SIM services. |
OTA_ENCRYPTION_FAILED |
OTA could NOT encrypt the SIM service APDUs. This is most probably because of missing OTA keys. |
NOK |
If for any reason a SIM service OTA short message cannot be delivered to the recipient by SMSC, NOK is returned as the result. The primary reason for NOK is that SMSC cannot deliver the short message until the end of short message validity period. (The handset is turned off or is out of GSM coverage.) One other possibility is that the static SIM Service to be sent does not have any content. |
TIMEOUT |
A request timeout was detected by Interactive application. This result is returned when OTA does return a response for a request. (Very low probability.) |
SYSTEM ERROR |
A system failure that unexpectedly terminates the processing of SIM Service request is detected. (Very low probability.) |
Statü |
Açıklama |
0 |
Gönderim beklemede |
1 |
Gönderim tamamlandı |
6 |
Hata oluştu (hata detayı error message alanında belirtilir) |
7 |
Hatalı JSON / XML formatı |
9 |
Gönderiliyor. |
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 3,
"Content": {
"DisplayText": "Sayin Ozan Özgür ERDOĞAN, Lutfen kayitlarimizda eksik bulunan TC Kimlik Numaranizi giriniz.",
"GetInput": {
"SMSText": "TCKN ",
"Text": "TCKN : ",
"Format": "NUMERIC",
"MinLength": 11,
"MaxLength": 11
},
"SendSMS": "Kimlik numaraniz gonderiliyor..."
},
"MSISDNArray": ["5331234567"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 4,
"Content": {
"DisplayText": "13.06.2012 10:56'da ABC'de yaptiginiz 150TL tutarindaki alisverisinizi taksitlendirmek ister misiniz?",
"SelectInput": {
"SMSText": "TAKSIT ",
"Text": "SECIMINIZ : ",
"OptionList": ["Taksit İstemiyorum", "3 Taksit", "6 Taksit", "12 Taksit"],
"OptionValue": ["<EXIT>", "3", "6", "12"],
},
"SendSMS": "Tercihiniz gonderiliyor..."
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 5,
"Content": {
"DisplayText": "Sayın Ma Donna, Anketimize katilmanizi rica ederiz.",
"GetInput": {
"SMSText": "YAS ",
"Text": "YASINIZ:",
"Format": "NUMERIC",
"MinLength": 1,
"MaxLength": 3
},
"SelectInput": {
"SMSText": "TAKIM ",
"Text": "TAKIMINIZ:",
"OptionList": ["BESIKTAS", "FENERBAHCE", "GALATASARAY", "DIGER"],
"OptionValue": ["BJK", "FB", "GS", "DIGER"],
},
"SendSMS": "Anketimize Katildiginiz icin tesekkurler..."
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 6,
"Content": {
"DisplayText": "Sayın Ma Donna, Anketimize katilmanizi rica ederiz.",
"SelectInput": {
"SMSText": "TAKIM ",
"Text": "TAKIMINIZ:",
"OptionList": ["BESIKTAS", "FENERBAHCE", "GALATASARAY", "DIGER"],
"OptionValue": ["BJK", "FB", "GS", "DIGER"],
},
"GetInput": {
"SMSText": "YAS ",
"Text": "YASINIZ:",
"Format": "NUMERIC",
"MinLength": 1,
"MaxLength": 3
},
"SendSMS": "Anketimize Katildiginiz icin tesekkurler..."
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 7,
"Content": {
"DisplayText": "Sayin Ma Donna, ABC'de Haziran ayi boyunca size ozel %50 indirim yapiyoruz.",
"DisplayText2": "ABC kartinizi yaninizda bulundurmayi unutmayin. En iyi dileklerimizle.",
"SendSMS": "Bilgileriniz Gönderiliyor..."
},
"MSISDNArray": [
"5321234567",
"5321234568",
"5321234568",
"5321234569"
],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 10,
"Content": {
"DisplayText": "Sayin Ma Donna, ABC'de Haziran ayi boyunca size ozel %50 indirim yapiyoruz."
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 11,
"Content": {
"DisplayText": "Sayin Ma Donna, ABC'de Haziran ayi boyunca size ozel %50 indirim yapiyoruz.",
"SendSMS": "Mesaj gonderiliyor..."
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 12,
"Content": {
"DisplayText": "Sayın Ma Donna, Anketimize katilmanizi rica ederiz.",
"GetInput": {
"SMSText": "YAS ",
"Text": "YASINIZ:",
"Format": "NUMERIC",
"MinLength": 1,
"MaxLength": 3
},
"GetInput2": {
"SMSText": "BOY ",
"Text": "BOY:",
"Format": "NUMERIC",
"MinLength": 1,
"MaxLength": 3
},
"SendSMS": "Bilgiler gonderiliyor..."
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 13,
"Content": {
"DisplayText": "Sayin Ma Donna, ABC'de Haziran ayi boyunca size ozel %50 indirim yapiyoruz.",
"SelectInput": {
"SMSText": "TAKIM ",
"Text": "TAKIMINIZ:",
"OptionList": ["BESIKTAS", "FENERBAHCE", "GALATASARAY", "DIGER"],
"OptionValue": ["BJK", "FB", "GS", "DIGER"]
},
"SelectInput2": {
"SMSText": "SERVIS ",
"Text": "FUTBOL SERVISI ILE",
"OptionList": ["ILGILENIYORUM", "ILGILENMIYORUM"],
"OptionValue": ["EVET", "HAYIR"]
},
"SendSMS": "Anketimize Katildiginiz icin tesekkurler..."
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 14,
"Content": {
"DisplayText": "Sayin Ma Donna, ABC'de Haziran ayi boyunca size ozel %50 indirim yapiyoruz.",
"SMSText": "Mesaj gonderiliyor...",
"Call": "5321234567"
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 15,
"Content": {
"DisplayText": "Sayin Ma Donna, ABC'de Haziran ayi boyunca size ozel %50 indirim yapiyoruz.",
"DisplayText": "Indirimlerimiz hakkinda bilgi almak icin aramaya yonlendirileceksiniz onayliyormusunuz",
"SendSMS": "Bilgileriniz Gönderiliyor...",
"Call": "5321234567"
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 16,
"Content": {
"DisplayText": "Sayın Ma Donna, Anketimize katilmanizi rica ederiz.",
"DisplayText2": "Ankete katilmak ucretsizdir katiliminiz icin tesekkur ederiz.",
"GetInput": {
"SMSText": "YAS ",
"Text": "YASINIZ:",
"Format": "NUMERIC",
"MinLength": 1,
"MaxLength": 3
}, "SelectInput": {
"SMSText": "TAKIM ",
"Text": "TAKIMINIZ:",
"OptionList": ["BESIKTAS", "FENERBAHCE", "GALATASARAY", "DIGER"],
"OptionValue": ["BJK", "FB", "GS", "DIGER"]
},
"SendSMS": "Bilgiler gonderiliyor..."
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 17,
"Content": {
"DisplayText": "Sayın Ma Donna, Anketimize katilmanizi rica ederiz.",
"DisplayText2": "Ankete katilmak ucretsizdir katiliminiz icin tesekkur ederiz.",
"SelectInput": {
"SMSText": "TAKIM ",
"Text": "TAKIMINIZ:",
"OptionList": ["BESIKTAS", "FENERBAHCE", "GALATASARAY", "DIGER"],
"OptionValue": ["BJK", "FB", "GS", "DIGER"]
},
"SendSMS": "Bilgiler gonderiliyor..."
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 18,
"Content": {
"DisplayText": "Sayın Ma Donna, Anketimize katilmanizi rica ederiz.",
"DisplayText2": "Ankete katilmak ucretsizdir katiliminiz icin tesekkur ederiz.",
"GetInput": {
"SMSText": "YAS ",
"Text": "YASINIZ:",
"Format": "NUMERIC",
"MinLength": 1,
"MaxLength": 3
},
"SendSMS": "Bilgiler gonderiliyor..."
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 21,
"Content": {
"DisplayText": "Sayın Ma Donna, Anketimize katilmanizi rica ederiz.",
"DisplayText2": "Ankete katilmak ucretsizdir katiliminiz icin tesekkur ederiz."
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 22,
"Content": {
"DisplayText": "Sayın Ma Donna, Anketimize katilmanizi rica ederiz.",
"DisplayText2": "Ankete katilmak ucretsizdir katiliminiz icin tesekkur ederiz.",
"DisplayText3": "En kisa surede geri bildirim alacaksiniz."
},
"MSISDNArray": ["5321234567", "5321234568", "5321234568", "5321234569"],
"Description": "",
"Senddate": "2014-09-15 03:12:00"
}
{
"Response": {
"code": 0,
"description": ""
},
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 1,
"PacketId": "b8a2469f586a47c5acffdaa2e3c26e"
}
{
"Response": {
"code": 0,
"description": ""
},
"Packet": {
"packetId": "b8a2469f586a47c5acffdaa2e3c26e",
"serviceId": 3,
"logdate": "15.09.2014 16:29",
"senddate": "15.09.2014 16:29",
"status": 1,
"errormessage": "",
"recordcount": 1,
"description": "",
"ipaddress": "0:0:0:0:0:0:0:1"
},
"Content": {
"DisplayText": "Sayin Ozan Özgür ERDOĞAN, Lutfen kayitlarimizda eksik bulunan TC Kimlik Numaranizi giriniz.",
"GetInput": {
"SMSText": "TCKN ",
"Text": "TCKN : ",
"Format": "NUMERIC",
"MinLength": 11,
"MaxLength": 11
},
"SendSMS": "Kimlik numaraniz gonderiliyor..."
},
"Logs": [
{
"msisdn": "5335801834",
"status": "SUCCESS",
"senddate": "15.09.2014 16:38",
"deliverydate": "",
"hasresponse": true,
"response": " TCKN61669457802"
}
]
}
{
"Authentication": {
"username": "",
"vendor_code": "",
"password": ""
},
"ServiceId": 2,
"Start": "2014-09-01 00:00:00",
"End": "2014-10-01 23:59:59"
}
{
"Response": {
"code": 0,
"description": ""
},
"RecordCount": 1,
"Logs": [
{
"packetId": "b8a2469f586a47c5acffdaa2e3c26e",
"msisdn": "5335801834",
"status": "SUCCESS",
"senddate": "15.09.2014 16:38",
"deliverydate": "",
"hasresponse": true,
"response": " TCKN61669457802"
}
]
}
Test Hesabı AlProjem Var! |