def execute(self, context): from infobip.api.model.omni.reports.OMNIReportsResponse import OMNIReportsResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/omni/1/reports", None, context, None, OMNIReportsResponse)
def execute(self, context): from infobip.api.model.omni.scenarios.ScenariosResponse import ScenariosResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/omni/1/scenarios", None, context, None, ScenariosResponse)
def execute(self, context): from infobip.api.model.omni.campaign.CampaignsResponse import CampaignsResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/omni/1/campaigns", None, context, None, CampaignsResponse)
def execute(self, s_m_s_binary_request): from infobip.api.model.sms.mt.send.SMSResponse import SMSResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/binary/single", None, None, s_m_s_binary_request, SMSResponse)
def execute(self, preview_request): from infobip.api.model.sms.mt.send.preview.PreviewResponse import PreviewResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/preview", None, None, preview_request, PreviewResponse)
def execute(self, n_c_request_async): from infobip.api.model.sms.nc.lookup. async .NCResponseAsync import NCResponseAsync http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/number/1/notify", None, None, n_c_request_async, NCResponseAsync)
def execute(self, context): from infobip.api.model.sms.mt.reports.SMSReportResponse import SMSReportResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/sms/1/reports", None, context, None, SMSReportResponse)
def execute(self, binary): from infobip.api.model.sms.mt.send.SMSResponse import SMSResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/binary/advanced", None, None, binary, SMSResponse)
def execute(self, context): from infobip.api.model.nc.logs.NumberContextLogsResponse import NumberContextLogsResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/number/1/logs", None, context, None, NumberContextLogsResponse)
def execute(self, textual): from infobip.api.model.sms.mt.send.SMSResponse import SMSResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/text/multi", None, None, textual, SMSResponse)
def execute(self, context): from infobip.api.model.sms.mo.logs.MOLogsResponse import MOLogsResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/sms/1/inbox/logs", None, context, None, MOLogsResponse)
def execute(self, context, update_status_request): from infobip.api.model.sms.mt.bulks.status.BulkStatusResponse import BulkStatusResponse http_client = HttpClient() return http_client.getValue("PUT", self.configuration, "/sms/1/bulks/status", None, context, update_status_request, BulkStatusResponse)
def execute(self, omni_simple_request): from infobip.api.model.omni.send.OmniResponse import OmniResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/omni/1/text", None, None, omni_simple_request, OmniResponse)
def execute(self, scenario): from infobip.api.model.omni.scenarios.Scenario import Scenario http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/omni/1/scenarios", None, None, scenario, Scenario)
def execute(self): from infobip.api.model.account.AccountBalance import AccountBalance http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/account/1/balance", None, None, None, AccountBalance)
def execute(self, messageId): from infobip.api.model.conversion.EndTagResponse import EndTagResponse pathParams = {"messageId": messageId} http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/ct/1/log/end/{messageId}", pathParams, None, None, EndTagResponse)
def execute(self, messageId): from infobip.api.model.conversion.EndTagResponse import EndTagResponse pathParams = { "messageId": messageId } http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/ct/1/log/end/{messageId}", pathParams, None, None, EndTagResponse)
def execute(self, scenarioKey, scenario): from infobip.api.model.omni.scenarios.Scenario import Scenario pathParams = {"scenarioKey": scenarioKey} http_client = HttpClient() return http_client.getValue("PUT", self.configuration, "/omni/1/scenarios/{scenarioKey}", pathParams, None, scenario, Scenario)
def execute(self, number_context_request): from infobip.api.model.nc.query.NumberContextResponse import NumberContextResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/number/1/query", None, None, number_context_request, NumberContextResponse)
def execute(self, s_m_s_advanced_textual_request): from infobip.api.model.sms.mt.send.SMSResponse import SMSResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/text/advanced", None, None, s_m_s_advanced_textual_request, SMSResponse)
def execute(self, campaignKey): from infobip.api.model.omni.campaign.Campaign import Campaign pathParams = {"campaignKey": campaignKey} http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/omni/1/campaigns/{campaignKey}", pathParams, None, None, Campaign)
def execute(self, s_m_s_advanced_textual_request): from infobip.api.model.sms.mt.send.SMSResponse import SMSResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/text/advanced", None, None, s_m_s_advanced_textual_request, SMSResponse)
def execute(self, number_context_request): from infobip.api.model.nc.query.NumberContextResponse import NumberContextResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/number/1/query", None, None, number_context_request, NumberContextResponse)
def execute(self, s_m_s_binary_request): from infobip.api.model.sms.mt.send.SMSResponse import SMSResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/binary/single", None, None, s_m_s_binary_request, SMSResponse)
def execute(self, binary): from infobip.api.model.sms.mt.send.SMSResponse import SMSResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/binary/advanced", None, None, binary, SMSResponse)
def execute(self, context): from infobip.api.model.sms.mo.logs.MOLogsResponse import MOLogsResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/sms/1/inbox/logs", None, context, None, MOLogsResponse)
def execute(self, textual): from infobip.api.model.sms.mt.send.SMSResponse import SMSResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/text/multi", None, None, textual, SMSResponse)
def execute(self, context): from infobip.api.model.sms.mt.reports.SMSReportResponse import SMSReportResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/sms/1/reports", None, context, None, SMSReportResponse)
def execute(self, context): from infobip.api.model.sms.nc.logs.NCLogsResponse import NCLogsResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/number/1/logs", None, context, None, NCLogsResponse)
def execute(self): from infobip.api.model.account.AccountBalance import AccountBalance http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/account/1/balance", None, None, None, AccountBalance)
def execute(self, n_c_request_async): from infobip.api.model.sms.nc.lookup.async.NCResponseAsync import NCResponseAsync http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/number/1/notify", None, None, n_c_request_async, NCResponseAsync)
def execute(self, context): from infobip.api.model.sms.mt.bulks.BulkResponse import BulkResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/sms/1/bulks", None, context, None, BulkResponse)