{"id":168,"date":"2018-10-11T15:09:36","date_gmt":"2018-10-11T15:09:36","guid":{"rendered":"https:\/\/help.bmtmicro.com\/vendors\/?page_id=168"},"modified":"2021-06-07T16:55:03","modified_gmt":"2021-06-07T16:55:03","slug":"xml-help","status":"publish","type":"page","link":"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/","title":{"rendered":"XML Help"},"content":{"rendered":"<p><em>If you have our server IPs locked down, please make sure that these match the IPs to which web.bmtmicro.com resolves.<\/em><\/p>\n<pre style=\"white-space: pre; margin: 2em 0 2em 0; padding: 10px; overflow: auto; background-color: #f4f9ff; border: 1px solid #dbdef2; font-size: 110%; display: block;\">\r\n&lt?php\r\n$is_bmt_server = false;\r\n$remote_address = $_SERVER['REMOTE_ADDR'];\r\n$bmt_servers = dns_get_record('web.bmtmicro.com', DNS_A);\r\nfor ($i = 0; $i < count($bmt_servers); $i++) {\r\n    if ($remote_address == $bmt_servers[$i]['ip']) {\r\n        $is_bmt_server = true;\r\n        break;\r\n    }\r\n}\r\nif ($is_bmt_server) {\r\n    echo 'Remote call is from BMT Micro';\r\n} else {\r\n    echo 'Remote call is from someone we do not know';   \r\n}\r\n?>\r\n<\/pre>\n<p><a href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/example-php-to-parse-xml\/\">Example PHP to Parse XML<\/a><\/p>\n<p><a href=\"https:\/\/help.bmtmicro.com\/vendors\/retrieve-current-balance-remotely-via-xml\/\">Retrieve Current Balance Remotely<\/a><\/p>\n<p><a href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-account-transactions-detail\/\">XML Account Transactions Detail<\/a><\/p>\n<p><a href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-notifications-encryption\/\">XML Notifications Encryption<\/a><\/p>\n<p><a href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-order-notifications\/\">XML Order Notifications<\/a><\/p>\n<p><a href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/\">XML Remote Registration<\/a><\/p>\n<p><a href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-sales-detail\/\">XML Sales Detail<\/a><\/p>\n<p><a href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-ticket-details\/\">XML Ticket Details<\/a><\/p>\n<p><a href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-cancel-subscription\/\">Cancel Subscriptions Remotely<\/a><\/p>\n<p><a href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-system-errors\/\">XML System Errors<\/a><\/p>\n<p><a href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-subscription-status\/\">XML Subscription Status<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have our server IPs locked down, please make sure that these match the IPs to which web.bmtmicro.com resolves. &#038;lt?php $is_bmt_server = false; $remote_address = $_SERVER[&#8216;REMOTE_ADDR&#8217;]; $bmt_servers = dns_get_record(&#8216;web.bmtmicro.com&#8217;, DNS_A); for ($i = 0; $i < count($bmt_servers); $i++) { if ($remote_address == $bmt_servers[$i]['ip']) { $is_bmt_server = true; break; } [&hellip;]\n<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-168","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>XML Help - BMT Micro, Inc. Vendor FAQ\/Help<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:locale\" content=\"en_US\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:type\" content=\"article\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:title\" content=\"XML Help - BMT Micro, Inc. Vendor FAQ\/Help\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:description\" content=\"If you have our server IPs locked down, please make sure that these match the IPs to which web.bmtmicro.com resolves. &amp;lt?php $is_bmt_server = false; $remote_address = $_SERVER[&#039;REMOTE_ADDR&#039;]; $bmt_servers = dns_get_record(&#039;web.bmtmicro.com&#039;, DNS_A); for ($i = 0; $i &lt; count($bmt_servers); $i++) { if ($remote_address == $bmt_servers[$i][&#039;ip&#039;]) { $is_bmt_server = true; break; } [&hellip;]\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:site_name\" content=\"BMT Micro, Inc. Vendor FAQ\/Help\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/bmt.micro\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-07T16:55:03+00:00\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:image\" content=\"https:\/\/help.bmtmicro.com\/vendors\/wp-content\/uploads\/2019\/01\/bmtmicro-logo-600x315.jpg\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta property=\"og:image:height\" content=\"315\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:site\" content=\"@BMTMicro\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" class=\"yoast-seo-meta-tag\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/\",\"url\":\"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/\",\"name\":\"XML Help - BMT Micro, Inc. Vendor FAQ\/Help\",\"isPartOf\":{\"@id\":\"https:\/\/help.bmtmicro.com\/vendors\/#website\"},\"datePublished\":\"2018-10-11T15:09:36+00:00\",\"dateModified\":\"2021-06-07T16:55:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/help.bmtmicro.com\/vendors\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"XML Help\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/help.bmtmicro.com\/vendors\/#website\",\"url\":\"https:\/\/help.bmtmicro.com\/vendors\/\",\"name\":\"BMT Micro, Inc. Vendor FAQ\/Help\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/help.bmtmicro.com\/vendors\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"XML Help - BMT Micro, Inc. Vendor FAQ\/Help","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/","og_locale":"en_US","og_type":"article","og_title":"XML Help - BMT Micro, Inc. Vendor FAQ\/Help","og_description":"If you have our server IPs locked down, please make sure that these match the IPs to which web.bmtmicro.com resolves. &lt?php $is_bmt_server = false; $remote_address = $_SERVER['REMOTE_ADDR']; $bmt_servers = dns_get_record('web.bmtmicro.com', DNS_A); for ($i = 0; $i < count($bmt_servers); $i++) { if ($remote_address == $bmt_servers[$i]['ip']) { $is_bmt_server = true; break; } [&hellip;]","og_url":"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/","og_site_name":"BMT Micro, Inc. Vendor FAQ\/Help","article_publisher":"https:\/\/www.facebook.com\/bmt.micro","article_modified_time":"2021-06-07T16:55:03+00:00","og_image":[{"width":600,"height":315,"url":"https:\/\/help.bmtmicro.com\/vendors\/wp-content\/uploads\/2019\/01\/bmtmicro-logo-600x315.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@BMTMicro","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/","url":"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/","name":"XML Help - BMT Micro, Inc. Vendor FAQ\/Help","isPartOf":{"@id":"https:\/\/help.bmtmicro.com\/vendors\/#website"},"datePublished":"2018-10-11T15:09:36+00:00","dateModified":"2021-06-07T16:55:03+00:00","breadcrumb":{"@id":"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.bmtmicro.com\/vendors\/xml-help\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/help.bmtmicro.com\/vendors\/"},{"@type":"ListItem","position":2,"name":"XML Help"}]},{"@type":"WebSite","@id":"https:\/\/help.bmtmicro.com\/vendors\/#website","url":"https:\/\/help.bmtmicro.com\/vendors\/","name":"BMT Micro, Inc. Vendor FAQ\/Help","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.bmtmicro.com\/vendors\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/pages\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/comments?post=168"}],"version-history":[{"count":15,"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/pages\/168\/revisions"}],"predecessor-version":[{"id":1672,"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/pages\/168\/revisions\/1672"}],"wp:attachment":[{"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/media?parent=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}