{"definitions":{"IfMbsGw00007GetResponse":{"properties":{"onuRequestNo":{"description":"Request No","example":"201911777777 YYYYMMNNNNNN","type":"string"},"serviceId":{"description":"Internet Circuit ID","example":"C2019928349","type":"string"}},"type":"object"},"IfMbsGw00008GetResponse":{"properties":{"accountNum":{"description":"Account Number","example":"S2019182732","type":"string"},"contId":{"description":"TV SAID","example":"C2019928349","type":"string"},"creditBalanceMny":{"description":"Remained Balance","example":"6000.00","type":"string"},"creditLimitMny":{"description":"Credit Limit","example":"100000.00","type":"string"},"creditRequestNo":{"description":"Request No","example":"201911777777 YYYYMMNNNNNN","type":"string"},"membershipPoint":{"description":"MemberShip Point","example":"9999","type":"string"},"sysdate":{"description":"Reply Date","example":"2019-11-19 12:32","type":"string"}},"type":"object"},"IfMbsGw00009PostParams":{"properties":{"accountNum":{"description":"Account Number","example":"S2019182732","type":"string"},"contId":{"description":"TV SAID","example":"C2019928349","type":"string"},"couponAmount":{"description":"Coupon Amount","example":"3000","type":"integer"},"couponPercent":{"example":"","type":"string"},"couponUsedFlag":{"example":"Y or N","type":"string"},"list":{"items":{"properties":{"paymentAmount":{"description":"Payment Amount","example":"15000.00","type":"string"},"paymentMethodId":{"description":"Payment Method Type","example":"1","type":"string"},"paymentReferenceInfo":{"description":"Payment Info","example":"1","type":"string"},"seqNo":{"description":"Seq","example":"1","type":"integer"}},"type":"object"},"type":"array"},"paymentMethodCount":{"description":"Multiple Cnt","example":"9","type":"string"},"receiptTotalMny":{"description":"Total Amount","example":"240.00","type":"string"},"refOriginalReceipt":{"description":"Payment No","example":"PN00132","type":"string"},"sysdate":{"description":"Request Date","example":"2019-12-03","type":"string"}},"type":"object"},"IfMbsGw00011PostParams":{"properties":{"list":{"items":{"properties":{"accountNum":{"description":"Account Number","example":"S2019182732","type":"string"},"contId":{"description":"TV SAID","example":"C2019928349","type":"string"},"couponAmount":{"description":"Coupon Amount","example":"12000.00","type":"string"},"creditCardAmount":{"description":"Credit Card Amount","example":"25000.00","type":"string"},"membershipAmount":{"description":"Membership Amount","example":"5000.00","type":"string"},"onbillAmount":{"description":"On-Bill Amount","example":"9000.00","type":"string"},"purchaseCount":{"description":"Purchase count","example":"20","type":"string"},"qrCodeAmount":{"description":"QR Code Amount","example":"24000.00","type":"string"},"seqNo":{"description":"Seq","example":"6","type":"string"},"totalAmount":{"description":"Total Amount","example":"75000.00","type":"string"}},"type":"object"},"type":"array"},"statisticDtm":{"description":"Statistic Date","example":"2019-11-19  1:23:00 PM","type":"string"},"totalCount":{"description":"Total Cnt","example":"152000","type":"string"}},"type":"object"},"IfMbsGw00017GetResponse":{"properties":{"list":{"items":{"properties":{"phoneNumber":{"description":"Receive Phone Number","example":"01024358970","type":"string"},"retryCount":{"description":"RetryCnt","example":"1","type":"string"},"successFlag":{"description":"Success YN","example":"Y/N","type":"string"}},"type":"object"},"type":"array"},"receiveCount":{"description":"Receive Cnt","example":"22","type":"string"},"sender":{"description":"Sender","example":"3BB IPTV","type":"string"},"smsContent":{"description":"SMS Contents","example":"SEND SMS RESULT EXAMPLE","type":"string"},"smsRequestNo":{"description":"Request No","example":"200206","type":"string"},"smsTemplateId":{"description":"SMS Template ID","example":"ST","type":"string"}},"type":"object"},"IfMbsGw00020GetResponse":{"properties":{"emailContent":{"description":"Email Contents","example":"Send Email Content Example","type":"string"},"emailRequestNo":{"description":"Request No","example":"330267","type":"string"},"emailTemplateId":{"description":"Email Template ID","example":"ET","type":"string"},"list":{"items":{"properties":{"emailAddress":{"description":"Receive Email","example":"iptv@3bb.co.th","type":"string"},"successFag":{"description":"Success YN","example":"Y/N","type":"string"}},"type":"object"},"type":"array"},"receiveCount":{"description":"Receive Cnt","example":"5","type":"string"},"sender":{"description":"Sender","example":"3BB IPTV","type":"string"}},"type":"object"},"MBS_TABLE_001":{"properties":{"internetServiceId":{"type":"string"},"offeringId":{"type":"string"},"serviceId":{"type":"string"},"serviceName":{"type":"string"}},"type":"object"},"Message":{"properties":{"code":{"example":"200","type":"string"},"text":{"example":"OK","type":"string"}},"type":"object"},"empty_data":{"properties":{},"type":"object"}},"info":{"description":"This is a Api Server for 3BB_MBS","title":"3BB_MBS","version":"1.0.0"},"paths":{"/onu":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"Request ONU","operationId":"ifMbsGw00007Get","parameters":[{"description":"Request No","format":"string","in":"query","name":"onuRequestNo","required":true,"type":"string"},{"description":"IP Address","format":"string","in":"query","name":"ipAddress","required":true,"type":"string"},{"description":"Mac Address","format":"string","in":"query","name":"macAddress","required":true,"type":"string"},{"description":"Request Time","format":"string","in":"query","name":"requestDtm","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"properties":{"message":{"$ref":"#/definitions/Message"},"result":{"$ref":"#/definitions/IfMbsGw00007GetResponse"}},"type":"object"}},"400":{"description":"Inavalid Data Supplied","schema":{"properties":{"message":{"properties":{"code":{"example":"400","type":"string"},"text":{"example":"Inavalid Data Supplied","type":"string"}},"type":"object"}},"type":"object"}},"401":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"401","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"403":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"403","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"404":{"description":"Object not found","schema":{"properties":{"message":{"properties":{"code":{"example":"404","type":"string"},"text":{"example":"Object not found","type":"string"}},"type":"object"}},"type":"object"}}},"summary":"(onu)","tags":["onu"]}},"/sendemailresult":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"","operationId":"ifMbsGw00020Get","parameters":[{"description":"Request No","format":"string","in":"query","name":"emailRequestNo","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"properties":{"message":{"$ref":"#/definitions/Message"},"result":{"$ref":"#/definitions/IfMbsGw00020GetResponse"}},"type":"object"}},"400":{"description":"Inavalid Data Supplied","schema":{"properties":{"message":{"properties":{"code":{"example":"400","type":"string"},"text":{"example":"Inavalid Data Supplied","type":"string"}},"type":"object"}},"type":"object"}},"401":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"401","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"403":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"403","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"404":{"description":"Object not found","schema":{"properties":{"message":{"properties":{"code":{"example":"404","type":"string"},"text":{"example":"Object not found","type":"string"}},"type":"object"}},"type":"object"}}},"summary":"(sendemailresult)","tags":["send_email_result"]}},"/sendemail":{"post":{"consumes":["application/x-www-form-urlencoded"],"description":"","operationId":"ifMbsGw00018Post","parameters":[{"description":"Request No","format":"string","in":"formData","name":"emailRequestNo","required":true,"type":"string"},{"description":"Sender","format":"string","in":"formData","name":"sender","required":true,"type":"string"},{"description":"Email Template ID","format":"string","in":"formData","name":"emailTemplateId","required":true,"type":"string"},{"description":"Email Contents","format":"string","in":"formData","name":"emailContent","required":true,"type":"string"},{"description":"Receive Cnt","format":"string","in":"formData","name":"receiveCount","required":true,"type":"string"},{"description":"Receive Email","format":"string","in":"formData","name":"emailAddress","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"properties":{"message":{"$ref":"#/definitions/Message"},"result":{"$ref":"#/definitions/empty_data"}},"type":"object"}},"400":{"description":"Inavalid Data Supplied","schema":{"properties":{"message":{"properties":{"code":{"example":"400","type":"string"},"text":{"example":"Inavalid Data Supplied","type":"string"}},"type":"object"}},"type":"object"}},"401":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"401","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"403":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"403","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"404":{"description":"Object not found","schema":{"properties":{"message":{"properties":{"code":{"example":"404","type":"string"},"text":{"example":"Object not found","type":"string"}},"type":"object"}},"type":"object"}}},"summary":"(sendemail)","tags":["send_email"]}},"/creditstatus":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"Inquire Credit Limit / Remained Balance","operationId":"ifMbsGw00008Get","parameters":[{"description":"Request No","format":"string","in":"query","name":"creditRequestNo","required":true,"type":"string"},{"description":"TV SAID","format":"string","in":"query","name":"contId","required":true,"type":"string"},{"description":"Account Number","format":"string","in":"query","name":"accountNum","required":true,"type":"string"},{"description":"Request Date","format":"string","in":"query","name":"sysdate","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"properties":{"message":{"$ref":"#/definitions/Message"},"result":{"$ref":"#/definitions/IfMbsGw00008GetResponse"}},"type":"object"}},"400":{"description":"Inavalid Data Supplied","schema":{"properties":{"message":{"properties":{"code":{"example":"400","type":"string"},"text":{"example":"Inavalid Data Supplied","type":"string"}},"type":"object"}},"type":"object"}},"401":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"401","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"403":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"403","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"404":{"description":"Object not found","schema":{"properties":{"message":{"properties":{"code":{"example":"404","type":"string"},"text":{"example":"Object not found","type":"string"}},"type":"object"}},"type":"object"}}},"summary":"(creditstatus)","tags":["credit_status"]}},"/requestpayments":{"post":{"consumes":["application/json"],"description":"Request Payments","operationId":"ifMbsGw00009Post","parameters":[{"description":"Request Payments","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/IfMbsGw00009PostParams"}}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"properties":{"message":{"$ref":"#/definitions/Message"},"result":{"$ref":"#/definitions/empty_data"}},"type":"object"}},"400":{"description":"Inavalid Data Supplied","schema":{"properties":{"message":{"properties":{"code":{"example":"400","type":"string"},"text":{"example":"Inavalid Data Supplied","type":"string"}},"type":"object"}},"type":"object"}},"401":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"401","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"403":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"403","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"404":{"description":"Object not found","schema":{"properties":{"message":{"properties":{"code":{"example":"404","type":"string"},"text":{"example":"Object not found","type":"string"}},"type":"object"}},"type":"object"}}},"summary":"(requestpayments)","tags":["request_payments"]}},"/sendsms":{"post":{"consumes":["application/x-www-form-urlencoded"],"description":"","operationId":"ifMbsGw00015Post","parameters":[{"description":"Request No","format":"string","in":"formData","name":"smsRequestNo","required":true,"type":"string"},{"description":"Sender","format":"string","in":"formData","name":"sender","required":true,"type":"string"},{"description":"SMS Template ID","format":"string","in":"formData","name":"smsTemplateId","required":true,"type":"string"},{"description":"SMS Contents","format":"string","in":"formData","name":"smsContent","required":true,"type":"string"},{"description":"Receive Cnt","format":"string","in":"formData","name":"receiveCount","required":true,"type":"string"},{"description":"Receive Phone Number","format":"string","in":"formData","name":"phoneNumber","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"properties":{"message":{"$ref":"#/definitions/Message"},"result":{"$ref":"#/definitions/MBS_TABLE_001"}},"type":"object"}},"400":{"description":"Inavalid Data Supplied","schema":{"properties":{"message":{"properties":{"code":{"example":"400","type":"string"},"text":{"example":"Inavalid Data Supplied","type":"string"}},"type":"object"}},"type":"object"}},"401":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"401","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"403":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"403","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"404":{"description":"Object not found","schema":{"properties":{"message":{"properties":{"code":{"example":"404","type":"string"},"text":{"example":"Object not found","type":"string"}},"type":"object"}},"type":"object"}}},"summary":"(sendsms)","tags":["send_sms"]}},"/sendsmsresult":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"","operationId":"ifMbsGw00017Get","parameters":[{"description":"Request No","format":"string","in":"query","name":"smsRequestNo","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"properties":{"message":{"$ref":"#/definitions/Message"},"result":{"$ref":"#/definitions/IfMbsGw00017GetResponse"}},"type":"object"}},"400":{"description":"Inavalid Data Supplied","schema":{"properties":{"message":{"properties":{"code":{"example":"400","type":"string"},"text":{"example":"Inavalid Data Supplied","type":"string"}},"type":"object"}},"type":"object"}},"401":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"401","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"403":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"403","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"404":{"description":"Object not found","schema":{"properties":{"message":{"properties":{"code":{"example":"404","type":"string"},"text":{"example":"Object not found","type":"string"}},"type":"object"}},"type":"object"}}},"summary":"(sendsmsresult)","tags":["send_sms_result"]}},"/dailypaymentstatistic":{"post":{"consumes":["application/json"],"description":"Payment Daily Satistic","operationId":"ifMbsGw00011Post","parameters":[{"description":"Payment Daily Satistic","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/IfMbsGw00011PostParams"}}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"properties":{"message":{"$ref":"#/definitions/Message"},"result":{"$ref":"#/definitions/empty_data"}},"type":"object"}},"400":{"description":"Inavalid Data Supplied","schema":{"properties":{"message":{"properties":{"code":{"example":"400","type":"string"},"text":{"example":"Inavalid Data Supplied","type":"string"}},"type":"object"}},"type":"object"}},"401":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"401","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"403":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"403","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"404":{"description":"Object not found","schema":{"properties":{"message":{"properties":{"code":{"example":"404","type":"string"},"text":{"example":"Object not found","type":"string"}},"type":"object"}},"type":"object"}}},"summary":"(dailypaymentstatistic)","tags":["dailypayment_statistic"]}},"/resgisterationstb":{"post":{"consumes":["application/x-www-form-urlencoded"],"description":"Completion STB Registeration","operationId":"ifMbsGw00005Post","parameters":[{"description":"TV SAID","format":"string","in":"formData","name":"contId","required":true,"type":"string"},{"description":"Account Number","format":"string","in":"formData","name":"accountNum","required":true,"type":"string"},{"description":"Mac Address","format":"string","in":"formData","name":"macAddress","required":true,"type":"string"},{"description":"IP Address","format":"string","in":"formData","name":"ipAddress","required":true,"type":"string"},{"description":"Firmware Version","format":"string","in":"formData","name":"firmwareVersion","required":true,"type":"string"},{"description":"Provision Complete Time","format":"string","in":"formData","name":"provisioningDtm","required":true,"type":"string"},{"description":"Register Date","format":"string","in":"formData","name":"registerDtm","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"properties":{"message":{"$ref":"#/definitions/Message"},"result":{"$ref":"#/definitions/empty_data"}},"type":"object"}},"400":{"description":"Inavalid Data Supplied","schema":{"properties":{"message":{"properties":{"code":{"example":"400","type":"string"},"text":{"example":"Inavalid Data Supplied","type":"string"}},"type":"object"}},"type":"object"}},"401":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"401","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"403":{"description":"Forbidden","schema":{"properties":{"message":{"properties":{"code":{"example":"403","type":"string"},"text":{"example":"Forbidden","type":"string"}},"type":"object"}},"type":"object"}},"404":{"description":"Object not found","schema":{"properties":{"message":{"properties":{"code":{"example":"404","type":"string"},"text":{"example":"Object not found","type":"string"}},"type":"object"}},"type":"object"}}},"summary":"(resgisterationstb)","tags":["resgisteration_stb"]}}},"securityDefinitions":{"api_key":{"in":"header","name":"X-AUTH-TOKEN","type":"apiKey"}},"swagger":"2.0","tags":[{"description":"Completion STB Registeration","name":"resgisteration_stb"},{"description":"Request ONU","name":"onu"},{"description":"Inquire Credit Limit / Remained Balance","name":"credit_status"},{"description":"Request Payments","name":"request_payments"},{"description":"Payment Daily Satistic","name":"dailypayment_statistic"},{"description":"send_sms","name":"send_sms"},{"description":"","name":"send_sms_result"},{"description":"","name":"send_email"},{"description":"","name":"send_email_result"}],"host":"virtserver.swaggerhub.com","basePath":"/3BB/3BB_MBS/1.0.0","schemes":["https","http"]}