{"id":5181,"date":"2018-10-13T21:19:14","date_gmt":"2018-10-13T21:19:14","guid":{"rendered":"https:\/\/zappysys.com\/blog\/?p=5181"},"modified":"2018-11-07T17:23:32","modified_gmt":"2018-11-07T17:23:32","slug":"call-rest-api-in-microstrategy-json-soap-xml","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/","title":{"rendered":"How to call REST API in MicroStrategy (JSON \/ XML SOAP)"},"content":{"rendered":"<h2>\u00a0Introduction<\/h2>\n<p><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-logo.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5187 alignleft\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-logo.png\" alt=\"MicroStrategy logo\" width=\"86\" height=\"86\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-logo.png 225w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-logo-150x150.png 150w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a>In this new article, we will show how to call REST API in MicroStrategy.\u00a0MicroStrategy is a Business Intelligence company that provides powerful software\u00a0to create nice charts, reports to take decisions. It started in 1993 and now it\u00a0is one of the most popular Business Intelligence tools in the world because it\u00a0is simple, intuitive and friendly. Also, It can connect to almost any\u00a0database. We will use ZappySys ODBC PowerPack. Zappysys ODBC is a pretty nice\u00a0software used to connect to REST API.\u00a0 ZappySys ODBC is an excellent plugin\u00a0for MicroStrategy, because, with this plugin, you can connect to almost any\u00a0application that supports REST API.<\/p>\n<h2>Requirements<\/h2>\n<ol>\n<li>First of all, we will need\u00a0<a href=\"https:\/\/www.microstrategy.com\/us\/get-started\/desktop\" target=\"_blank\" rel=\"noopener\">MicroStrategy Desktop<\/a> installed.<\/li>\n<li>Secondly, you will require\u00a0<a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/download\/\" target=\"_blank\" rel=\"noopener\">ZappySys PowerPack for\u00a0ODBC<\/a> installed.<\/li>\n<\/ol>\n<h2>Getting started<\/h2>\n<p>First of all, we will need to configure the ODBC ZappySys to connect to\u00a0REST API. Once the ODBC connection is created, we will invoke the ODBC\u00a0connection in Microstrategy.<\/p>\n<h3>Configuring the ODBC Zappysys<\/h3>\n<ol>\n<li>Search &#8220;odbc&#8221; in start menu and select <strong>ODBC Data sources (64-bit)<\/strong><\/li>\n<li>First of all, we will open the ODBC Data Source Administrator in the\u00a0<strong>System DSN<\/strong> and press Add:\n<div id=\"attachment_5190\" style=\"width: 599px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/ODBC-Data-source-add-data-source.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5190\" class=\"size-full wp-image-5190\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/ODBC-Data-source-add-data-source.jpg\" alt=\"Driver to connect to REST API\" width=\"589\" height=\"319\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/ODBC-Data-source-add-data-source.jpg 589w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/ODBC-Data-source-add-data-source-300x162.jpg 300w\" sizes=\"(max-width: 589px) 100vw, 589px\" \/><\/a><p id=\"caption-attachment-5190\" class=\"wp-caption-text\">ODBC Connect to REST API<\/p><\/div>\n<div class=\"su-note\"  style=\"border-color:#e5da9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#fff4b7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">Use 64 bits if your machine supports it.<\/div><\/div><\/li>\n<li>Secondly, add a new ZappySys JSON Driver:\n<div id=\"attachment_5191\" style=\"width: 473px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/select-zappysys-json-driver-data-source.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5191\" class=\"size-full wp-image-5191\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/select-zappysys-json-driver-data-source.jpg\" alt=\"ODBC driver list\" width=\"463\" height=\"350\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/select-zappysys-json-driver-data-source.jpg 463w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/select-zappysys-json-driver-data-source-300x227.jpg 300w\" sizes=\"(max-width: 463px) 100vw, 463px\" \/><\/a><p id=\"caption-attachment-5191\" class=\"wp-caption-text\">List of drivers supported<\/p><\/div><\/li>\n<li>Also, we will add the following URL to the Simple View:\n<pre class=\"lang:default highlight:0 decode:true\">https:\/\/services.odata.org\/V3\/Northwind\/Northwind.svc\/Invoices?$format=json<\/pre>\n<div id=\"attachment_5193\" style=\"width: 805px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/odbc-url-configuration.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5193\" class=\"size-full wp-image-5193\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/odbc-url-configuration.jpg\" alt=\"Configuration to connect to REST\" width=\"795\" height=\"619\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/odbc-url-configuration.jpg 795w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/odbc-url-configuration-300x234.jpg 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/odbc-url-configuration-768x598.jpg 768w\" sizes=\"(max-width: 795px) 100vw, 795px\" \/><\/a><p id=\"caption-attachment-5193\" class=\"wp-caption-text\">ODBC configuration to connect to REST API<\/p><\/div><\/li>\n<\/ol>\n<h3>Configuring MicroStrategy<\/h3>\n<ol>\n<li>In MicroStrategy Desktop, press the <strong>New Dossier<\/strong> button:\n<div id=\"attachment_5194\" style=\"width: 1101px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/new-dossier.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5194\" class=\"size-full wp-image-5194\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/new-dossier.jpg\" alt=\"call REST API in Microstrategy\" width=\"1091\" height=\"427\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/new-dossier.jpg 1091w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/new-dossier-300x117.jpg 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/new-dossier-768x301.jpg 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/new-dossier-1024x401.jpg 1024w\" sizes=\"(max-width: 1091px) 100vw, 1091px\" \/><\/a><p id=\"caption-attachment-5194\" class=\"wp-caption-text\">Create a new dossier in MicroStrategy<\/p><\/div><\/li>\n<li>Secondly, in the Dossier, press the <strong>New Data<\/strong> button:\n<div id=\"attachment_5195\" style=\"width: 1098px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-new-data.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5195\" class=\"size-full wp-image-5195\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-new-data.jpg\" alt=\"Use MicroStrategy to add new data\" width=\"1088\" height=\"506\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-new-data.jpg 1088w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-new-data-300x140.jpg 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-new-data-768x357.jpg 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-new-data-1024x476.jpg 1024w\" sizes=\"(max-width: 1088px) 100vw, 1088px\" \/><\/a><p id=\"caption-attachment-5195\" class=\"wp-caption-text\">Add new data in Microstrategy<\/p><\/div><\/li>\n<li>Also, in Data Sources select <strong>Databases<\/strong>:\n<div class=\"mceTemp\"><\/div>\n<div id=\"attachment_5198\" style=\"width: 1010px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstratege-data-sources-databases.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5198\" class=\"size-full wp-image-5198\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstratege-data-sources-databases.jpg\" alt=\"Use MicroStrategy to connect to Databases\" width=\"1000\" height=\"445\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstratege-data-sources-databases.jpg 1000w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstratege-data-sources-databases-300x134.jpg 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstratege-data-sources-databases-768x342.jpg 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><p id=\"caption-attachment-5198\" class=\"wp-caption-text\">Select the option to connect to Databases in Microstrategy<\/p><\/div><\/li>\n<li>In addition, select the option to <strong>Type a Query<\/strong>:\n<div id=\"attachment_5197\" style=\"width: 517px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-type-a-query.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5197\" class=\"size-full wp-image-5197\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-type-a-query.jpg\" alt=\"MicroStrategy query\" width=\"507\" height=\"388\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-type-a-query.jpg 507w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-type-a-query-300x230.jpg 300w\" sizes=\"(max-width: 507px) 100vw, 507px\" \/><\/a><p id=\"caption-attachment-5197\" class=\"wp-caption-text\">Create a query to get Database data<\/p><\/div><\/li>\n<li>Next, in Data Sources press the <strong>+<\/strong> icon:\n<div id=\"attachment_5199\" style=\"width: 336px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-data-sources.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5199\" class=\"size-full wp-image-5199\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-data-sources.jpg\" alt=\"Data sources in MicroStrategy\" width=\"326\" height=\"73\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-data-sources.jpg 326w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-data-sources-300x67.jpg 300w\" sizes=\"(max-width: 326px) 100vw, 326px\" \/><\/a><p id=\"caption-attachment-5199\" class=\"wp-caption-text\">Add Data Source in MicroStrategy<\/p><\/div><\/li>\n<li>Finally, in Data Source, select DSN Data Sources and select the data\u00a0source created in the previous section using the ZappySys ODBC Driver. In\u00a0version, select <strong>Generic DBMS<\/strong> and write any username and password:\n<div id=\"attachment_5201\" style=\"width: 539px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/select-data-source.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5201\" class=\"size-full wp-image-5201\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/select-data-source.jpg\" alt=\"Select DSN and type of connection\" width=\"529\" height=\"346\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/select-data-source.jpg 529w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/select-data-source-300x196.jpg 300w\" sizes=\"(max-width: 529px) 100vw, 529px\" \/><\/a><p id=\"caption-attachment-5201\" class=\"wp-caption-text\">Select DSN, version<\/p><\/div><\/li>\n<\/ol>\n<h3>Call REST API in MicroStrategy<\/h3>\n<ol>\n<li>You can write different queries using the ZappySys ODBC Driver. The driver supports SQL queries to REST API data including WHERE clauses, GROUP BY, HAVING, ORDER BY, LIMIT WITH:\n<pre class=\"lang:default highlight:0 decode:true \">SELECT ShipName FROM value  \r\nWHERE ShipName=\"Around the Horn\"<\/pre>\n<div id=\"attachment_5203\" style=\"width: 925px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-query-tables-tables.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5203\" class=\"size-full wp-image-5203\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-query-tables-tables.jpg\" alt=\"Call REST API in MicroStrategy\" width=\"915\" height=\"464\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-query-tables-tables.jpg 915w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-query-tables-tables-300x152.jpg 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-query-tables-tables-768x389.jpg 768w\" sizes=\"(max-width: 915px) 100vw, 915px\" \/><\/a><p id=\"caption-attachment-5203\" class=\"wp-caption-text\">Query to REST API using MicroStrategy<\/p><\/div><\/li>\n<li>Secondly, you can connect online (Live) or use an in-memory Dataset:\n<div id=\"attachment_5204\" style=\"width: 471px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/connect-live-import-in-memory-microstrategy.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5204\" class=\"size-full wp-image-5204\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/connect-live-import-in-memory-microstrategy.jpg\" alt=\"Connect in MicroStrategy live or in-memory dataset\" width=\"461\" height=\"346\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/connect-live-import-in-memory-microstrategy.jpg 461w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/connect-live-import-in-memory-microstrategy-300x225.jpg 300w\" sizes=\"(max-width: 461px) 100vw, 461px\" \/><\/a><p id=\"caption-attachment-5204\" class=\"wp-caption-text\">MicroStrategy connect Live<\/p><\/div><\/li>\n<li>Finally, you can use the data for your MicroStrategy reports:\n<div id=\"attachment_5206\" style=\"width: 1095px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microsoft-report-created.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5206\" class=\"size-full wp-image-5206\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microsoft-report-created.jpg\" alt=\"REST API data extracted to get areport\" width=\"1085\" height=\"428\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microsoft-report-created.jpg 1085w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microsoft-report-created-300x118.jpg 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microsoft-report-created-768x303.jpg 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microsoft-report-created-1024x404.jpg 1024w\" sizes=\"(max-width: 1085px) 100vw, 1085px\" \/><\/a><p id=\"caption-attachment-5206\" class=\"wp-caption-text\">MicroStrategy report created<\/p><\/div><\/li>\n<\/ol>\n<h3>Invoking a JSON file in MicroStrategy using ODBC<\/h3>\n<p>With ZappySys PowerPack, you can not only CALL REST API in Microstrategy, but you can also create queries to plain JSON files stored locally or in a web\u00a0address. We will use the following JSON file to test:<\/p>\n<ol>\n<li>First of all, in order to connect, you will need to specify on the ZappySys JSON\u00a0Driver the path of the local JSON file:\n<div id=\"attachment_5214\" style=\"width: 809px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-connect-to-json-file.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5214\" class=\"size-full wp-image-5214\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-connect-to-json-file.jpg\" alt=\"ODBC connection to a JSON file\" width=\"799\" height=\"376\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-connect-to-json-file.jpg 799w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-connect-to-json-file-300x141.jpg 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-connect-to-json-file-768x361.jpg 768w\" sizes=\"(max-width: 799px) 100vw, 799px\" \/><\/a><p id=\"caption-attachment-5214\" class=\"wp-caption-text\">Configure a JSON file connection with ODBC<\/p><\/div><\/li>\n<li>Secondly, you can create queries in MicroStrategy in the same way that\u00a0we did in the Call REST API in MicroStrategy section:\n<div id=\"attachment_5215\" style=\"width: 1046px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-query-to-json-file.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5215\" class=\"size-full wp-image-5215\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-query-to-json-file.jpg\" alt=\"Connection to a local JSON file in MicroStrategy\" width=\"1036\" height=\"464\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-query-to-json-file.jpg 1036w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-query-to-json-file-300x134.jpg 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-query-to-json-file-768x344.jpg 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-query-to-json-file-1024x459.jpg 1024w\" sizes=\"(max-width: 1036px) 100vw, 1036px\" \/><\/a><p id=\"caption-attachment-5215\" class=\"wp-caption-text\">Query to JSON file in MicroStrategy<\/p><\/div><\/li>\n<\/ol>\n<h3>Call REST API in MicroStrategy to get Gmail information<\/h3>\n<p>It is also possible to invoke and query Gmail data using REST API in\u00a0MicroStrategy using ZappySys ODBC PowerPack. With the ODBC PowerPack, you can\u00a0write SQL queries and call REST API in MicroStrategy using OAuth or HTTP<br \/>\nconnections.<\/p>\n<ol>\n<li>First of all, in the ZappySys ODBC JSON driver, write the following URL:\n<pre class=\"lang:default highlight:0 decode:true\">https:\/\/www.googleapis.com\/gmail\/v1\/users\/me\/messages\/<\/pre>\n<\/li>\n<li>Secondly, in connection type select <strong>OAuth Provider<\/strong>.<\/li>\n<li>Also, in the OAuth Parameter in OAuth Provider, select Google and in scope\u00a0<a href=\"https:\/\/mail.google.com\">https:\/\/mail.google.com<\/a> and press\u00a0generate token button and specify your credentials:\n<div id=\"attachment_5217\" style=\"width: 788px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/gmail-oauth-configuration.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5217\" class=\"size-full wp-image-5217\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/gmail-oauth-configuration.jpg\" alt=\"Get Gmail data in MicroStrategy\" width=\"778\" height=\"632\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/gmail-oauth-configuration.jpg 778w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/gmail-oauth-configuration-300x244.jpg 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/gmail-oauth-configuration-768x624.jpg 768w\" sizes=\"(max-width: 778px) 100vw, 778px\" \/><\/a><p id=\"caption-attachment-5217\" class=\"wp-caption-text\">Configuration to connect MicroStrategy with Gmail<\/p><\/div><\/li>\n<li>Additionally, in Zappysys you can write queries in MicroStrategy as we did with other REST API URLs:\n<pre class=\"lang:default highlight:0 decode:true \">SELECT * FROM messages<\/pre>\n<div id=\"attachment_5218\" style=\"width: 1031px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-gmail-report.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5218\" class=\"size-full wp-image-5218\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-gmail-report.jpg\" alt=\"Get Gmail information in Microstrategy\" width=\"1021\" height=\"444\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-gmail-report.jpg 1021w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-gmail-report-300x130.jpg 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-gmail-report-768x334.jpg 768w\" sizes=\"(max-width: 1021px) 100vw, 1021px\" \/><\/a><p id=\"caption-attachment-5218\" class=\"wp-caption-text\">Query to Gmail information in MicroStrategy<\/p><\/div><\/li>\n<\/ol>\n<h3>Problems with the boolean data type in MicroStrategy<\/h3>\n<p>In addition, there is known issue related to boolean data in Microstrategy:<\/p>\n<p>Error in accessing information from the external data source. Database Instance: (DataImport) Error Fetch Failed Error type: Invalid operation. Data of a string cell was truncated.<\/p>\n<p><a href=\"https:\/\/community.microstrategy.com\/s\/article\/KB20514-How-to-map-a-boolean-datatype-as-integer-with-PostgreSQL\" rel=\"noreferrer\">https:\/\/community.microstrategy.com\/s\/article\/KB20514-How-to-map-a-boolean-datatype-as-integer-with-PostgreSQL<\/a><\/p>\n<p>We have a workaround for this situation.<\/p>\n<ol>\n<li>First of all, you will need to change the metadata. The following article shows how to change the metadata:<a href=\"https:\/\/zappysys.com\/blog\/metadata-odbc-api-drivers-query\/\" rel=\"noreferrer\">https:\/\/zappysys.com\/blog\/metadata-odbc-api-drivers-query\/<\/a>Also, in order to fix, save your\u00a0current metadata:\n<div id=\"attachment_5229\" style=\"width: 553px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/odbc-driver-generate-metadata-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5229\" class=\"size-full wp-image-5229\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/odbc-driver-generate-metadata-1.png\" alt=\"generate metadata\" width=\"543\" height=\"526\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/odbc-driver-generate-metadata-1.png 543w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/odbc-driver-generate-metadata-1-300x291.png 300w\" sizes=\"(max-width: 543px) 100vw, 543px\" \/><\/a><p id=\"caption-attachment-5229\" class=\"wp-caption-text\">Driver ODBC metadata<\/p><\/div><\/li>\n<li>Additionally, modify your data from Boolean to String:\n<div id=\"attachment_5230\" style=\"width: 317px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/metadata.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5230\" class=\"size-full wp-image-5230\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/metadata.png\" alt=\"change metadata microstrategy\" width=\"307\" height=\"101\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/metadata.png 307w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/metadata-300x99.png 300w\" sizes=\"(max-width: 307px) 100vw, 307px\" \/><\/a><p id=\"caption-attachment-5230\" class=\"wp-caption-text\">MicroStrategy boolean to string metadata<\/p><\/div><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2>REST API \/ SOAP API Pagination Settings for MicroStrategy<\/h2>\n<div class=\"content_block\" id=\"custom_post_widget-3892\"><div style=\"margin-bottom: 1em;\">Even we set up ODBC Data Source to get the data, it may not be enough. Usually, if you are getting a huge data set from API provider, it won't give it to you in one HTTP response. Instead, it gives back only a subset of data and provides a mechanism for data pagination. The good news is that\u00a0<em>ZappySys ODBC Driver<\/em> includes many options to cover virtually any pagination method.<\/div>\r\n<div><span style=\"font-size: 16px;\">Below you will find a few examples of API pagination. If you need something more sophisticated check the below link (the article was written for SSIS PowerPack but UI options and concepts apply to ODBC Driver too):<\/span><\/div>\r\n<div style=\"margin-bottom: 1em;\"><a href=\"https:\/\/zappysys.com\/blog\/ssis-rest-api-looping-until-no-more-pages-found\/\" target=\"_blank\" rel=\"noopener\">https:\/\/zappysys.com\/blog\/ssis-rest-api-looping-until-no-more-pages-found\/<\/a><\/div>\r\n<h3>Paginate by Response Attribute<\/h3>\r\nThis example shows how to paginate API calls where you need to paginate until the last page detected. In this example, next page is indicated by some attribute called nextlink (found in response). If this attribute is missing or null then it stops fetching the next page.\r\n<pre class=\"lang:tsql decode:true codeblock\">SELECT * FROM $\r\nWITH(\r\nSRC=@'https:\/\/zappysys.com\/downloads\/files\/test\/pagination_nextlink_inarray_1.json'\r\n,NextUrlAttributeOrExpr = '$.nextlink'  --keep reading until this attribute is missing. If attribute name contains dot then use brackets like this $.['my.attr.name']\r\n)<\/pre>\r\n<h3>Paginate by URL Parameter (Loop until certain StatusCode)<\/h3>\r\nThis example shows how to paginate API calls where you need to pass page number via URL. The driver keeps incrementing page number and calls next URL until the last page detected (401 error). There are few ways to indicate the last page (e.g. By status code, By row count, By response size). If you don't specify end detection then it will use the default (i.e. No records found).\r\n<pre class=\"lang:tsql decode:true codeblock\">SELECT * FROM $\r\nWITH (\r\nSRC=@'https:\/\/zappysys.com\/downloads\/files\/test\/page-xml.aspx?page=1&amp;mode=DetectBasedOnResponseStatusCode'\r\n,PagingMode='ByUrlParameter'\r\n,PagingByUrlAttributeName='page'\r\n,PagingByUrlEndStrategy='DetectBasedOnResponseStatusCode'\r\n,PagingByUrlCheckResponseStatusCode=401\r\n,IncrementBy=1\r\n)<\/pre>\r\n<h3>Paginate by URL Path (Loop until no record)<\/h3>\r\nThis example shows how to paginate API calls where you need to pass page number via URL Path. The driver keeps incrementing page number and calls next URL until the last page is detected. There are few ways to indicate the last page (e.g. By status code, By row count, By response size). If you don't specify end detection then it will use the default (i.e. No records found).\r\n<pre class=\"lang:tsql decode:true codeblock\">SELECT * FROM $\r\nWITH (\r\nSRC=@'https:\/\/zappysys.com\/downloads\/files\/test\/cust-&lt;%page%&gt;.xml'\r\n,PagingMode='ByUrlPath'\r\n,PagingByUrlAttributeName='&lt;%page%&gt;'\r\n,PagingByUrlEndStrategy='DetectBasedOnRecordCount'\r\n,IncrementBy=1\r\n)<\/pre>\r\n<h3>Paginate by Header Link (RFC 5988)<\/h3>\r\nAPI like GitHub \/ Wordpress use Next link in Headers (<a href=\"https:\/\/tools.ietf.org\/html\/rfc5988\" target=\"_blank\" rel=\"noopener\">RFC 5988<\/a>)\r\n<pre class=\"lang:default decode:true \">SELECT * FROM $\r\nLIMIT 25\r\nWITH(\r\n\t Src='https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/categories?per_page=10'\r\n\t,PagingMode='ByResponseHeaderRfc5988'\r\n\t,WaitTimeMs='200' --\/\/wait 200 ms after each request\r\n)<\/pre>\r\n&nbsp;<\/div>\n<h2>REST API \/ SOAP Web Service Connection Settings for MicroStrategy<\/h2>\n<div class=\"content_block\" id=\"custom_post_widget-3896\"><div style=\"margin-bottom: 1em;\">If you need to authenticate or authorize your user to access a web resource, you will need to use one of\u00a0the <em>Connections:<\/em><\/div>\r\n<ul>\r\n \t<li>HTTP<\/li>\r\n \t<li>OAuth<\/li>\r\n<\/ul>\r\n<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4078 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-powerpack-authentication-authorization-e1529337108252.png\" alt=\"ZappySys XML Driver - HTTP and OAuth Connection Types\" width=\"577\" height=\"302\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-powerpack-authentication-authorization-e1529337108252.png 577w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-powerpack-authentication-authorization-e1529337108252-300x157.png 300w\" sizes=\"(max-width: 577px) 100vw, 577px\" \/>\r\n<h3>HTTP Connection<\/h3>\r\n<div style=\"margin-bottom: 1em;\">Use <em>HTTP Connection<\/em> for simple\u00a0Windows, Basic, NTLM or Kerberos authentication. Just fill in a username and a password and you are good to go!<\/div>\r\n<div style=\"margin-bottom: 1em;\">You can also use <em>HTTP Connection<\/em> for more sophisticated authentication like:<\/div>\r\n<ul>\r\n \t<li><strong>SOAP WSS<\/strong> (when accessing a SOAP WebService)<\/li>\r\n \t<li><strong>Static Token \/ API Key<\/strong> (when need to pass an API key in HTTP header)<\/li>\r\n \t<li><strong>Dynamic Token<\/strong> (same as Static Token method except that each time you need to log in\u00a0and retrieve a fresh API key)<\/li>\r\n \t<li><strong>JWT Token<\/strong> (As per RFC 7519)<\/li>\r\n<\/ul>\r\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4091 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-api-connection-type-1.png\" alt=\"\" width=\"622\" height=\"570\" \/>\r\n<h3>OAuth<\/h3>\r\nIf you are trying to access REST API resource, it is a huge chance, you will need to use <em>OAuth Connection<\/em>. <a href=\"https:\/\/zappysys.com\/blog\/rest-api-authentication-with-oauth-2-0-using-ssis\/\" target=\"_blank\" rel=\"noopener\">Read this article<\/a> to understand how OAuth authentication and authorization works and how to use it (article originally was written for <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\">SSIS PowerPack<\/a>, but the concepts and UI stay the same):\u00a0<br\/>\r\n<a href=\"https:\/\/zappysys.com\/blog\/rest-api-authentication-with-oauth-2-0-using-ssis\/\" target=\"_blank\" rel=\"noopener\">https:\/\/zappysys.com\/blog\/rest-api-authentication-with-oauth-2-0-using-ssis\/<\/a>\r\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-api-connection-type-2.png\" width=\"721\" height=\"708\" \/><\/div>\n<h2>Other settings for REST API \/ SOAP XML Call in MicroStrategy<\/h2>\n<div class=\"content_block\" id=\"custom_post_widget-3901\">There are few settings you can coder while calling Web API\r\n<h3><strong>API Limit \/ Throttling<\/strong><\/h3>\r\nWhile calling public API or other external web services one important aspect you have to check,\u00a0 how many requests are allowed by your API. Especially when you use API pagination options to pull many records you have to slow down based on API limits. For example, your API may allow you only 5 requests per second. Use Throttling Tab on Driver UI to set delay after each request.\r\n<h3><strong>2D Array Transformation<\/strong><\/h3>\r\nIf you are using JSON or XML API Driver then possible you may have to transform your data using 2D array transformation feature. <a href=\"https:\/\/zappysys.com\/blog\/parse-multi-dimensional-json-array-ssis\/\" target=\"_blank\" rel=\"noopener\">Check this link<\/a> for more information.\r\n\r\n&nbsp;<\/div>\n<h2>REST API \/ XML SOAP Performance Tips for MicroStrategy<\/h2>\n<div class=\"content_block\" id=\"custom_post_widget-4455\">While calling APIs you may face some performance issues. There are a few tips you can consider to speed up things.\r\n<h4><span style=\"font-size: 14pt;\"><strong>Use Server-side filtering if possible in URL or Body Parameters<\/strong><\/span><\/h4>\r\nMany API supports filtering your data by URL parameters or via Body. Whenever possible try to use such features.\u00a0 Here is an example of <a href=\"http:\/\/www.odata.org\/getting-started\/basic-tutorial\/\" target=\"_blank\" rel=\"noopener\">odata\u00a0API<\/a>, In the below query the first query is faster than the second query because\u00a0in the first query we filter at the\u00a0server.\r\n<pre class=\"lang:tsql decode:true\">SELECT * FROM value\r\nWITH(\r\n\t Src='https:\/\/services.odata.org\/V3\/Northwind\/Northwind.svc\/Customers?$format=json&amp;$filter=Country eq ''USA'''\r\n\t,DataFormat='Odata'\r\n)\r\n\r\n-- Slow query - Client-side filtering\r\nSELECT * FROM value\r\nWHERE Country ='USA'\r\nWITH(\r\n\t Src='https:\/\/services.odata.org\/V3\/Northwind\/Northwind.svc\/Customers?$format=json'\r\n\t,DataFormat='Odata'\r\n)<\/pre>\r\n<h4><span style=\"font-size: 14pt;\"><strong>Avoid Special features in SQL Query (e.g. WHERE, Group By, Order By)<\/strong><\/span><\/h4>\r\nZappySys API engine triggers client-side processing\u00a0if special features are used in Query. Following SQL Features will trigger Client-Side processing which is several times slower than server-side processing. So always try to use simple query (Select col1, col2 ....\u00a0from mytable\u00a0)\r\n<ul>\r\n \t<li>WHERE Clause<\/li>\r\n \t<li>GROUP BY Clause<\/li>\r\n \t<li>HAVING Clause<\/li>\r\n \t<li>ORDER BY<\/li>\r\n \t<li>FUNCTIONS (e.g. Math, String, DateTime, Regex... )<\/li>\r\n<\/ul>\r\nLIMIT clause does not trigger client-side processing.\r\n<h4><span style=\"font-size: 14pt;\"><strong>Consider using pre-generated Metadata \/ Cache File<\/strong><\/span><\/h4>\r\nUse META option in WITH Clause to use static metadata (Pre-Generated)There are two more options to speedup query processing time. Check <a href=\"https:\/\/zappysys.com\/blog\/caching-metadata-odbc-drivers-performance\/\" target=\"_blank\" rel=\"noopener\">this article<\/a> for details.\r\n<ol>\r\n \t<li>\r\n<pre class=\"lang:default decode:true\">select * from value WITH( meta='c:\\temp\\meta.txt' )\r\n--OR--\r\nselect * from value WITH( meta='my-meta-name' )\r\n--OR--\r\nselect * from value WITH( meta='[ {\"Name\": \"col1\",&amp;nbsp;\"Type\": \"String\", Length: 100},&amp;nbsp;{\"Name\": \"col2\",&amp;nbsp;\"Type\": \"Int32\"} ...... ]' )<\/pre>\r\n<\/li>\r\n \t<li>Enable Data Caching Options (Found on <strong>Property Grid<\/strong> &gt; <strong>Advanced<\/strong> Mode Only )<\/li>\r\n<\/ol>\r\n<h4><span style=\"font-size: 14pt;\"><strong>Consider using Metadata \/ Data Caching Option<\/strong><\/span><\/h4>\r\nZappySys API drivers support Caching Metadata and Data rows to speed up query processing. If your data doesn't change often then you can enable this option to speed up processing significantly.\r\n\r\nCheck <a href=\"https:\/\/zappysys.com\/blog\/caching-metadata-odbc-drivers-performance\/\" target=\"_blank\" rel=\"noopener\">this article<\/a> for details how to enable Data cache \/ metadata cache feature for datasource level or query level.\r\n\r\nTo define cache option at query level you can use like below.\r\n<pre class=\"\">SELECT * FROM $\r\nWITH \r\n(  SRC='https:\/\/myhost.com\/some-api'\r\n  ,CachingMode='All'  --cache metadata and data rows both\r\n  ,CacheStorage='File' --or Memory\r\n  ,CacheFileLocation='c:\\temp\\myquery.cache'\r\n  ,CacheEntryTtl=300 --cache for 300 seconds\r\n)\r\n<\/pre>\r\n&nbsp;\r\n\r\n&nbsp;\r\n<h4><strong><span style=\"font-size: 14pt;\">Use --FAST Option to enable Stream Mode<\/span><\/strong><\/h4>\r\nZappySys JSON \/ XML drivers support <strong>--FAST<\/strong> suffix for Filter. By using this suffix after Filter driver enables Stream Mode, <a href=\"https:\/\/zappysys.com\/blog\/caching-metadata-odbc-drivers-performance\/#Reading_Large_Files_Streaming_Mode_for_XML_JSON\" target=\"_blank\" rel=\"noopener\">Read this article<\/a> to understand how this works.\r\n<pre class=\"lang:default decode:true\">SELECT * FROM $ \r\nLIMIT 10 --\/\/add this just to test how fast you can get 10 rows\r\nWITH(\r\n  Filter='$.LargeArray[*]--FAST' --\/\/Adding --FAST option turn on STREAM mode (large files)\r\n ,SRC='https:\/\/zappysys.com\/downloads\/files\/test\/large_file_100k_largearray_prop.json.gz'\r\n --,SRC='c:\\data\\large_file.json.gz'\r\n ,IncludeParentColumns='False'  --\/\/This Must be OFF for STREAM mode (read very large files)\r\n ,FileCompressionType='GZip' --Zip or None (Zip format only available for Local files)\r\n)<\/pre>\r\n&nbsp;<\/div>\n<h2>Calling SOAP Web Service in MicroStrategy<\/h2>\n<div class=\"content_block\" id=\"custom_post_widget-3870\">To call SOAP API you need to know Request XML Body Structure.\u00a0If you are not sure how to create SOAP Request body then no worries. <a href=\"https:\/\/zappysys.com\/blog\/calling-soap-web-service-in-ssis-xml-source\/\" target=\"_blank\" rel=\"noopener\">Check this article<\/a> to learn how to generate SOAP Request body using the Free tool <a href=\"https:\/\/www.soapui.org\/downloads\/latest-release.html\" target=\"_blank\" rel=\"noopener\">SoapUI<\/a>. Basically, you have to use SoapUI to generate Request XML and after that, you can replace parameters as needed in the generated body.\r\n<h3>What is SOAP Web Service?<\/h3>\r\nIf you are new to SOAP Web Service sometimes referred as XML Web Service then please read some concept\u00a0about\u00a0SOAP\u00a0Web service standard <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ms996507.aspx?f=255&amp;MSPPError=-2147217396\" target=\"_blank\" rel=\"noopener\">from this link<\/a>\r\n\r\nThere are two important aspects in SOAP Web service.\r\n<ol>\r\n \t<li>Getting WSDL file or URL<\/li>\r\n \t<li>Knowing exact Web Service URL<\/li>\r\n<\/ol>\r\n<h3>What is WSDL<\/h3>\r\nIn very simple term WSDL (often pronounced as whiz-dull) is nothing but a document which describes Service metadata (e.g. Functions you can call, Request parameters, response structure etc). Some service simply give you WSDL as xml file you can download on local machine and then\u00a0analyze or sometimes you may get direct URL (e.g. http:\/\/api.mycompany.com\/hr-soap-service\/?wsdl )\r\n<h3>Example SQL Query for SOAP API call using ZappySys XML Driver<\/h3>\r\nHere is an example SQL query you can write to call SOAP API. If you not sure about many details then check next few sections on how to use XML Driver User Interface to build desired SQL query to POST data to XML SOAP Web Service without any coding.\r\n<pre class=\"lang:tsql decode:true\">SELECT * FROM $\r\nWITH(\r\n\t Src='http:\/\/www.holidaywebservice.com\/HolidayService_v2\/HolidayService2.asmx'\r\n\t,DataConnectionType='HTTP'\r\n\t,CredentialType='Basic' --OR SoapWss\r\n\t,SoapWssPasswordType='PasswordText'\r\n\t,UserName='myuser'\r\n\t,Password='pass$$w123'\r\n\t,Filter='$.soap:Envelope.soap:Body.GetHolidaysAvailableResponse.GetHolidaysAvailableResult.HolidayCode[*]'\r\n\t,ElementsToTreatAsArray='HolidayCode'\t\r\n\t,RequestMethod='POST'\t\r\n\t,Header='Content-Type: text\/xml;charset=UTF-8 || SOAPAction: \"http:\/\/www.holidaywebservice.com\/HolidayService_v2\/GetHolidaysAvailable\"'\r\n\t,RequestData='\r\n&lt;soapenv:Envelope xmlns:soapenv=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\" xmlns:hol=\"http:\/\/www.holidaywebservice.com\/HolidayService_v2\/\"&gt;\r\n   &lt;soapenv:Header\/&gt;\r\n   &lt;soapenv:Body&gt;\r\n      &lt;hol:GetHolidaysAvailable&gt;\r\n         &lt;!--type: Country - enumeration: [Canada,GreatBritain,IrelandNorthern,IrelandRepublicOf,Scotland,UnitedStates]--&gt;\r\n         &lt;hol:countryCode&gt;UnitedStates&lt;\/hol:countryCode&gt;\r\n      &lt;\/hol:GetHolidaysAvailable&gt;\r\n   &lt;\/soapenv:Body&gt;\r\n&lt;\/soapenv:Envelope&gt;'\r\n)<\/pre>\r\nNow let's look at steps to create SQL query to call SOAP API. Later we will see how to generate code for your desired programming language (e.g. C# or SQL Server)\r\n<h3>Video Tutorial - Introduction to SOAP Web Service and SoapUI tool<\/h3>\r\nBefore we dive into details about calling SOAP API using ZappySys XML Driver, lets first understand what is SOAP API and how to create SOAP requests using SoapUI tool. You will learn more about this process in the\u00a0later section. The video contains some fragment about using SOAP API in SSIS but just ignore that part because we will be calling Soap API using ZappySys ODBC Driver rather than SSIS Components.\r\n\r\n&nbsp;\r\n\r\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/d_x5bgGjg0Y?rel=0&amp;showinfo=0\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe>\r\n<h3>Using SoapUI to test SOAP API call \/ Create Request Body XML<\/h3>\r\nAssuming you have downloaded and installed <a href=\"https:\/\/www.soapui.org\/downloads\/latest-release.html\" target=\"_blank\" rel=\"noopener\">SoapUI from here<\/a>, now we are ready to use WSDL for your SOAP Web Service Calls. If you do not have WSDL file or URL handy then contact your API provider (sometimes you just have to add <strong>?wsdl\u00a0<\/strong>at the end of your Service URL to get WSDL so try that. Example: http:\/\/mycompany\/myservice?wsdl ).\r\n\r\nIf you don't\u00a0know what is WSDL then in short, WSDL is <strong>Web service Description Language<\/strong> (i.e. XML file which describes your SOAP Service). WSDL helps to craft SOAP API request Body for ZappySys XML Driver. So Let's get started.\r\n<ol>\r\n \t<li>Open SoapUI and click SOAP button to create new SOAP Project<\/li>\r\n \t<li>Enter WSDL URL or File Path of WSDLFor example WSDL for our sample service can be accessed via this URL\r\n<pre class=\"lang:default highlight:0 decode:true\">http:\/\/www.dneonline.com\/calculator.asmx?wsdl<\/pre>\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/calling-soap-api-import-wsdl-new-soapui-project.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3871\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-14.png\" alt=\"Create new SOAP API Project in SoapUI tool for SOAP API Testing\" width=\"486\" height=\"349\" \/><\/a>\r\n<div style=\"margin-bottom: 1em;\">Create new SOAP API Project in SoapUI tool for SOAP API Testing<\/div><\/li>\r\n \t<li>Once WSDL is loaded you will see possible operations you can call for your SOAP Web Service.<\/li>\r\n \t<li>If your web service requires credentials then you have to configure it. There are two common credential types for public services (<strong>SOAP WSS<\/strong> or <strong>BASIC<\/strong> )\r\n<ol>\r\n \t<li>\r\n<div style=\"margin-bottom: 1em;\">To use <strong>SOAP WSS Credentials<\/strong> select request node and enter UserId, Password, and <strong>WSS-PasswordType<\/strong> (PasswordText or PasswordHash)<\/div>\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/calling-soap-api-pass-soap-wss-credentials-userid-password.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3872 alignnone\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-2.png\" alt=\"Configure SOAP WSS Credentials for SoapUI (SOAP API Testing Tool)\" width=\"294\" height=\"544\" \/><\/a>\r\n<div style=\"display: block;\">Configure SOAP WSS Credentials for SoapUI (SOAP API Testing Tool)<\/div><\/li>\r\n \t<li>To use <strong>BASIC Auth<\/strong> Credentials select request node and double-click it.\u00a0At the bottom click on Auth (Basic) and From Authorization dropdown click Add New and Select Basic.<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/calling-soap-api-pass-basic-authentication-userid-password.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3873\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-2.png\" alt=\"Configure Basic Authorization for SoapUI (SOAP API Testing Tool)\" width=\"616\" height=\"653\" \/><\/a>\r\n<div style=\"margin-bottom: 1em;\">Configure Basic Authorization for SoapUI (SOAP API Testing Tool)<\/div><\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Now you can test your request first Double-click on the request node to open request editor.<\/li>\r\n \t<li>Change necessary parameters, remove optional or unwanted parameters. If you want to regenerate request you can click on <strong>Recreate default request toolbar icon<\/strong>.\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/06\/create-soap-request-with-optional-parameters-soapui.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2812\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-4.png\" alt=\"Create SOAP Request XML (With Optional Parameters)\" width=\"807\" height=\"315\" \/><\/a>\r\n<div style=\"margin-bottom: 1em;\">Create SOAP Request XML (With Optional Parameters)<\/div><\/li>\r\n \t<li>Once your SOAP Request XML is ready, <strong>Click the Play button<\/strong> in the toolbar to execute SOAP API Request and Response will appear in Right side panel.\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/soapui-test-soap-api-request-response-edit-xml-body.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3874\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-5.png\" alt=\"Test SOAP API using SoapUI Tool (Change Default XML Body \/ Parameters, Execute and See Response)\" width=\"1216\" height=\"511\" \/><\/a>\r\nTest SOAP API using SoapUI Tool (Change Default XML Body \/ Parameters, Execute and See Response)<\/li>\r\n<\/ol>\r\n<h3>Create DSN using ZappySys XML Driver to call SOAP API<\/h3>\r\nOnce you have tested your SOAP API in SoapUI tool, we are ready to use ZappySys XML driver to call SOAP API in your preferred BI tool or Programming language.\r\n<ol>\r\n \t<li>First open <strong>ODBC Data Sources<\/strong> (search ODBC in your start menu\u00a0or go under ZappySys &gt; ODBC PowerPack &gt; <strong>ODBC 64 bit<\/strong>)<\/li>\r\n \t<li>Goto <strong>System DSN<\/strong> Tab (or User DSN which is not used by Service account)<\/li>\r\n \t<li>Click <strong>Add<\/strong> and Select ZappySys XML Driver\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/zappysys-odbc-xml-soap-api-driver.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3875\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-6.png\" alt=\"ZappySys ODBC Driver for XML \/ SOAP API\" width=\"593\" height=\"459\" \/><\/a>\r\nZappySys ODBC Driver for XML \/ SOAP API<\/li>\r\n \t<li>Configure API URL, Request Method and Request Body as below\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/calling-soap-web-service-zappysys-xml-driver.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3876\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-7.png\" alt=\"ZappySys XML Driver - Calling SOAP API - Configure URL, Method, Body\" width=\"916\" height=\"874\" \/><\/a>\r\nZappySys XML Driver - Calling SOAP API - Configure URL, Method, Body<\/li>\r\n \t<li><strong>(This step is Optional)<\/strong> If your SOAP API requires credentials then Select Connection Type to HTTP and configure as below.\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/soap-api-call-credential-basic-soap-wss-zappysys-xml-driver.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3877\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-8.png\" alt=\"ZappySys XML Driver - Configure SOAP WSS Credentials or Basic Authorization (Userid, Password)\" width=\"564\" height=\"483\" \/><\/a>\r\n<div style=\"display: block;\">ZappySys XML Driver - Configure SOAP WSS Credentials or Basic Authorization (Userid, Password)<\/div><\/li>\r\n \t<li>Configure-Request Headers as below (You can get it from Request &gt; Raw tab from SoapUI after you test the request by clicking the Play button)\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/set-soap-api-request-headers-zappysys-xml-driver.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3881\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-9.png\" alt=\"Configure SOAP API Request Headers - ZappySys XML Driver\" width=\"1009\" height=\"747\" \/><\/a>\r\nConfigure SOAP API Request Headers - ZappySys XML Driver<\/li>\r\n \t<li>Once credentials entered you can select Filter to extract data from the desired node. Make sure to select array node (see special icon) or select the node which contains all necessary columns if you don't have array node.\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/soap-api-query-select-filter-zappysys-xml-driver.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3882\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-10.png\" alt=\"Select Filter - Extract data from nested XML \/ SOAP API Response (Denormalize Hierarchy)\" width=\"809\" height=\"594\" \/><\/a>\r\nSelect Filter - Extract data from nested XML \/ SOAP API Response (Denormalize Hierarchy)<\/li>\r\n \t<li>If prompted select yes to treat selected node as Array (This is helpful when you expect one or more record for selected node)\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/xml-api-array-handling-zappysys-xml-driver.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3883\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-11.png\" alt=\"Treat selected node as XML Array Option for SOAP API Response XML\" width=\"655\" height=\"572\" \/><\/a>\r\nTreat selected node as XML Array Option for SOAP API Response XML<\/li>\r\n<\/ol>\r\n<h3>Preview SOAP API Response \/ Generate SQL Code for SOAP API Call<\/h3>\r\nOnce you configure settings for XML Driver now you can preview data or generate example code for desired language (e.g. C#, Python, Java, SQL Server).\r\n\r\nGo to Preview tab and you will see default query generated based on settings you entered in previous sections. Attributes listed in WITH clause are optional. If you omit attribute in WITH clause it will use it from Properties tab.\r\n<h3>Preview Data<\/h3>\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/calling-soap-web-service-zappysys-xml-api-driver.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3884\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-12.png\" alt=\"Preview SOAP API Response in ZappySys XML Driver\" width=\"808\" height=\"780\" \/><\/a>\r\nPreview SOAP API Response in ZappySys XML Driver\r\n<h3>Generate Code Option<\/h3>\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/zappysys-driver-code-generator.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3885\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/odbc-call-soap-api-13.png\" alt=\"Generate Example Code for ZappySys Driver\" width=\"572\" height=\"618\" \/><\/a>\r\n<div style=\"display: block;\">Generate Example Code for ZappySys Driver<\/div><\/div>\n<h2>Conclusion<\/h2>\n<p>To conclude, we can say that the process to call REST API in MicroStrategy\u00a0using ZappySys ODBC PowerPack is straightforward. With the REST API and Web\u00a0service support, Microstrategy can connect to almost any source.\u00a0If you liked this article and you want to try our product, you can download\u00a0it <a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/download\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<h2>References<\/h2>\n<p>Finally, if you need more information about the process to call REST API in MicroStrategy,\u00a0refer to the following links:<\/p>\n<ul>\n<li><a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/\" target=\"_blank\" rel=\"noopener\">ODBC PowerPack \u2013 Drivers for REST API, JSON, XML, SOAP<\/a><\/li>\n<li><a href=\"https:\/\/www.microstrategy.com\/us\/get-started\/desktop\" target=\"_blank\" rel=\"noopener\">Get started with MicroStrategy Desktop<\/a><\/li>\n<li><a href=\"https:\/\/zappysys.com\/onlinehelp\/odbc-powerpack\/scr\/json-odbc-driver-sql-query-examples.htm\" target=\"_blank\" rel=\"noopener\">SQL Query Examples with ODBC ZappySys PowerPack<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0Introduction In this new article, we will show how to call REST API in MicroStrategy.\u00a0MicroStrategy is a Business Intelligence company that provides powerful software\u00a0to create nice charts, reports to take decisions. It started in 1993 and now it\u00a0is one of the most popular Business Intelligence tools in the world because it\u00a0is simple, intuitive and friendly. [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":5187,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[277,276,401,176,225,278],"tags":[272,396,279,271],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>How to call REST API in MicroStrategy (JSON \/ XML SOAP) | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"In this article, we will show how to call REST API in Microstrategy. We will show how to user ZapppySys PowerPack to invoke REST API or JSON files.\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"How to call REST API in MicroStrategy (JSON \/ XML SOAP) | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"In this article, we will show how to call REST API in Microstrategy. We will show how to user ZapppySys PowerPack to invoke REST API or JSON files.\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:published_time\" content=\"2018-10-13T21:19:14+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2018-11-07T17:23:32+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-logo.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"225\" \/>\r\n\t<meta property=\"og:image:height\" content=\"225\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys Team\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/\",\"url\":\"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/\",\"name\":\"How to call REST API in MicroStrategy (JSON \/ XML SOAP) | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-logo.png\",\"datePublished\":\"2018-10-13T21:19:14+00:00\",\"dateModified\":\"2018-11-07T17:23:32+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/91b041e2dcf7ece5f068893c1a68ac6e\"},\"description\":\"In this article, we will show how to call REST API in Microstrategy. We will show how to user ZapppySys PowerPack to invoke REST API or JSON files.\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-logo.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-logo.png\",\"width\":225,\"height\":225,\"caption\":\"MicroStrategy logo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to call REST API in MicroStrategy (JSON \/ XML SOAP)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/91b041e2dcf7ece5f068893c1a68ac6e\",\"name\":\"ZappySys Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/746bec9c9d27f1b90bb181aa516ee234?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/746bec9c9d27f1b90bb181aa516ee234?s=96&d=mm&r=g\",\"caption\":\"ZappySys Team\"},\"sameAs\":[\"https:\/\/zappysys.com\"],\"url\":\"https:\/\/zappysys.com\/blog\/author\/dcalbimonte\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to call REST API in MicroStrategy (JSON \/ XML SOAP) | ZappySys Blog","description":"In this article, we will show how to call REST API in Microstrategy. We will show how to user ZapppySys PowerPack to invoke REST API or JSON files.","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:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/","og_locale":"en_US","og_type":"article","og_title":"How to call REST API in MicroStrategy (JSON \/ XML SOAP) | ZappySys Blog","og_description":"In this article, we will show how to call REST API in Microstrategy. We will show how to user ZapppySys PowerPack to invoke REST API or JSON files.","og_url":"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/","og_site_name":"ZappySys Blog","article_published_time":"2018-10-13T21:19:14+00:00","article_modified_time":"2018-11-07T17:23:32+00:00","og_image":[{"width":225,"height":225,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-logo.png","type":"image\/png"}],"author":"ZappySys Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ZappySys Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/","url":"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/","name":"How to call REST API in MicroStrategy (JSON \/ XML SOAP) | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-logo.png","datePublished":"2018-10-13T21:19:14+00:00","dateModified":"2018-11-07T17:23:32+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/91b041e2dcf7ece5f068893c1a68ac6e"},"description":"In this article, we will show how to call REST API in Microstrategy. We will show how to user ZapppySys PowerPack to invoke REST API or JSON files.","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-logo.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/10\/microstrategy-logo.png","width":225,"height":225,"caption":"MicroStrategy logo"},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to call REST API in MicroStrategy (JSON \/ XML SOAP)"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/91b041e2dcf7ece5f068893c1a68ac6e","name":"ZappySys Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/746bec9c9d27f1b90bb181aa516ee234?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/746bec9c9d27f1b90bb181aa516ee234?s=96&d=mm&r=g","caption":"ZappySys Team"},"sameAs":["https:\/\/zappysys.com"],"url":"https:\/\/zappysys.com\/blog\/author\/dcalbimonte\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/5181"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=5181"}],"version-history":[{"count":29,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/5181\/revisions"}],"predecessor-version":[{"id":5248,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/5181\/revisions\/5248"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/5187"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=5181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=5181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=5181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}