°í°´¼¾ÅÍ ¹«¾ùÀ» µµ¿Íµå¸±±î¿ä? 1599-8744

Fax ¡¤ 062-350-0704
Email ¡¤ tech@smsbox.co.kr
±â¼ú»ó´ã ¡¤ ÆòÀÏ 09:00~18:00

¼­ºñ½º »ùÇÃ

  • PHP °³¹ß°¡À̵å
  • JAVA °³¹ß°¡À̵å
  • ASP °³¹ß°¡À̵å
  • PYTHON °³¹ß°¡À̵å
Àü¼Û
´Ü¹® ÀϹÝÀü¼Û
$contents = array(
   "msg_type" => "sms", //¸Þ¼¼Áö Çü½Ä
   "phone" => "01000000000", //¼ö½Å¹øÈ£
   "callback" => "0111111111", //ȸ½Å¹øÈ£
   "msg" => "SMS Àü¼Û Å×½ºÆ®\n°¡³ª´Ù", //Àü¼Û¸Þ¼¼Áö
);
$result = $MessagingService->sendMessage($contents);
´Ü¹® ¿¹¾àÀü¼Û
$contents = array(
   "msg_type" => "sms", //¸Þ¼¼Áö Çü½Ä
   "phone" => "01000000000", //¼ö½Å¹øÈ£
   "callback" => "0111111111", //ȸ½Å¹øÈ£
   "msg" => "SMS Àü¼Û Å×½ºÆ®\n°¡³ª´Ù", //Àü¼Û¸Þ¼¼Áö
   "trandate" =>"20141130193011"; //¿¹¾à½Ã°£ Çü½Ä : YYYYMMDDHHMMSS
);
$result = $MessagingService->sendMessage($contents);
Àå¹® ÀϹÝÀü¼Û
$contents = array(
   "msg_type" => "lms", //¸Þ¼¼Áö Çü½Ä
   "phone" => "01000000000", //¼ö½Å¹øÈ£
   "callback" => "0111111111", //ȸ½Å¹øÈ£
   "subject" => "LMS Àü¼Û Á¦¸ñ", //lms Á¦¸ñ
   "msg" => "SMS Àü¼Û Å×½ºÆ®\n°¡³ª´Ù", //Àü¼Û¸Þ¼¼Áö
);
$result = $MessagingService->sendMessage($contents); 
Àå¹® ¿¹¾àÀü¼Û
$contents = array(
   "msg_type" => "lms", //¸Þ¼¼Áö Çü½Ä
   "phone" => "01000000000", //¼ö½Å¹øÈ£
   "callback" => "0111111111", //ȸ½Å¹øÈ£
   "subject" => "LMS Àü¼Û Á¦¸ñ", //lms Á¦¸ñ
   "msg" => "SMS Àü¼Û Å×½ºÆ®\n°¡³ª´Ù", //Àü¼Û¸Þ¼¼Áö
   "trandate" =>"20141130193011"; //¿¹¾à½Ã°£ Çü½Ä : YYYYMMDDHHMMSS
);
$result = $MessagingService->sendMessage($contents); 
À̹ÌÁö ÀϹÝÀü¼Û
$contents = array(
   "msg_type" => "mms", //¸Þ¼¼Áö Çü½Ä
   "phone" => "01000000000", //¼ö½Å¹øÈ£
   "callback" => "0111111111", //ȸ½Å¹øÈ£
   "subject" => "MMS Àü¼Û Á¦¸ñ", //mms Á¦¸ñ
   "msg" => "SMS Àü¼Û Å×½ºÆ®\n°¡³ª´Ù", //Àü¼Û¸Þ¼¼Áö
   "image" => "./mms/sample.jpg", //mms À̹ÌÁö Àý´ë°æ·Î
);
$result = $MessagingService->sendMessage($contents); 
À̹ÌÁö ¿¹¾àÀü¼Û
$contents = array(
   "msg_type" => "mms", //¸Þ¼¼Áö Çü½Ä
   "phone" => "01000000000", //¼ö½Å¹øÈ£
   "callback" => "0111111111", //ȸ½Å¹øÈ£
   "subject" => "MMS Àü¼Û Á¦¸ñ", //mms Á¦¸ñ
   "msg" => "SMS Àü¼Û Å×½ºÆ®\n°¡³ª´Ù", //Àü¼Û¸Þ¼¼Áö
   "image" => "./mms/sample.jpg", //mms À̹ÌÁö Àý´ë°æ·Î
   "trandate" =>"20141130193011"; //¿¹¾à½Ã°£ Çü½Ä : YYYYMMDDHHMMSS
);
$result = $MessagingService->sendMessage($contents); 
[Response]
°á°ú°ª ¼³¸í
msg_serial Àü¼Û ¸Þ¼¼Áö °íÀ¯Å° (Àü¼Û³»¿ª Á¶È¸ ¹× ¿¹¾à Ãë¼Ò¸¦ À§ÇØ DB¿¡ ÀúÀåÇؼ­ º¸°üÇϼ¼¿ä)
total_count ÃÑ Àü¼Û°Ç¼ö
cost Àü¼Û Â÷°¨ ±Ý¾×
³»¿ªÁ¶È¸
Àü¼Û³»¿ª Á¶È¸
$param= array(
   "msg_serial" => "M100001_00000000000000", // Àü¼Û ¸Þ¼¼Áö °íÀ¯Å°
   "list_count" => 1, // ±âº»°ªÀº 20°³ ÃÖ´ë 1000°³±îÁö °¡´É
   "page" => 1, // ÆäÀÌÁö
);
$result = $MessagingService->getMessage ($param); 
[Response]
°á°ú°ª ¼³¸í
data.trandate Àü¼Û ½Ã°£
data.phone ¼ö½Å¹øÈ£
data.status Àü¼Û»óÅÂ
data.rsltcode °á°úÄÚµå
data.msg_type ¹®ÀÚŸÀÔ
data.telecom À̵¿Åë½Å»ç
data.rsltdate °á°ú ó¸® ½Ã°£
total_count ÃÑ Àü¼Û °Ç¼ö
¿¹¾à Ãë¼Ò
¿¹¾à Ãë¼Ò
$param= array(
   "msg_serial" => "M100001_00000000000000", // Àü¼Û ¸Þ¼¼Áö °íÀ¯Å°
);
$result = $MessagingService->cancelReservation($param);
[Response]
°á°ú°ª ¼³¸í
msg_serial Ãë¼Ò ¿Ï·áµÈ ¸Þ¼¼Áö °íÀ¯Å°
±Ý¾× Á¶È¸
ÀÜ¿©±Ý¾× Á¶È¸
$result = $MessagingService->getBalance();
[Response]
°á°ú°ª ¼³¸í
money ÀÜ¿© ±Ý¾×