{"id":7490,"date":"2019-07-20T10:01:04","date_gmt":"2019-07-20T10:01:04","guid":{"rendered":"https:\/\/zappysys.com\/blog\/?p=7490"},"modified":"2019-08-11T11:24:40","modified_gmt":"2019-08-11T11:24:40","slug":"import-sap-s-4hana-odata-service-sql-server","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/","title":{"rendered":"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver"},"content":{"rendered":"<h2><span id=\"Introduction\">Introduction<\/span><\/h2>\n<p><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/SAP_S4HANA.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7491 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/SAP_S4HANA.png\" alt=\"SAP S\/4HANA\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>In our previous blog we saw how to <a href=\"https:\/\/zappysys.com\/blog\/load-jira-data-sql-server-odbc-call-rest-api\/\" target=\"_blank\" rel=\"noopener\">read JIRA data in SQL Server<\/a>. Now let\u2019s learn how to Import SAP S\/4HANA OData Service Data Into Sql Server. SAP S\/4HANA provides OData REST API interface to access data in your application using HTTP Protocol. We will use\u00a0<a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/odbc-xml-soap-api-driver\/\" target=\"_blank\" rel=\"noopener\">ODBC XML Driver<\/a>\u00a0to read SAP data and load into SQL Server.<\/p>\n<p>So, let\u2019s get started.<\/p>\n<div id=\"custom_post_widget-2523\" class=\"content_block\">\n<h2><\/h2>\n<h2><\/h2>\n<h2><span id=\"Requirements\">Requirements<\/span><\/h2>\n<ol>\n<li>A first requirement will be to SQL Server Database Engine Installed<\/li>\n<li>The second requirement will be SSMS installed<\/li>\n<li>Finally, make sure to have\u00a0<a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/\" target=\"_blank\" rel=\"noopener\">ZappySys ODBC PowerPack<\/a>\u00a0installed.<\/li>\n<\/ol>\n<\/div>\n<h2><span id=\"About_SAP_HANA_OData_REST_API_Service\">About SAP HANA \/ OData REST API Service<\/span><\/h2>\n<p>You can expose your SAP Data using ODATA REST API Service. Here is a\u00a0<a href=\"https:\/\/www.erpworkbench.com\/sap-webapps\/segw-odata-gateway-service.htm\" target=\"_blank\" rel=\"noopener\">good article<\/a>\u00a0which shows how to expose data as OData Service.\u00a0 \u00a0For more information on SAP OData Service feature check this\u00a0<a href=\"https:\/\/help.sap.com\/doc\/05d53b2d3bbb43d2ab5efa23829b2777\/1610%20001\/en-US\/frameset.htm?ecaeea50ca692309e10000000a445394.html\" target=\"_blank\" rel=\"noopener\">SAP help page<\/a>. If you are new to OData Standard then\u00a0<a href=\"https:\/\/www.odata.org\/getting-started\/basic-tutorial\/\" target=\"_blank\" rel=\"noopener\">read here<\/a>\u00a0to know more how OData can facilitate data extraction using HTTP REST API. If you need Sample XML based OData Service then use below test URLs.<\/p>\n<pre class=\"lang:default decode:true \">https:\/\/services.odata.org\/Northwind\/Northwind.svc\/\r\nhttps:\/\/services.odata.org\/Northwind\/Northwind.svc\/Customers\r\nhttps:\/\/services.odata.org\/Northwind\/Northwind.svc\/Orders\r\nhttps:\/\/services.odata.org\/Northwind\/Northwind.svc\/Invoices\r\nhttps:\/\/services.odata.org\/Northwind\/Northwind.svc\/Products<\/pre>\n<p>Now let\u2019s look at how to read SAP Data using ODBC Driver. At this point we assume you have exposed your data as OData Endpoint.<\/p>\n<h2><span id=\"Read_SAP_HANA_data_using_XML_Source\">Read\u00a0SAP S\/4HANA data using XML Driver<\/span><\/h2>\n<p>First let\u2019s look at steps to configure XML Driver. We will read data from SAP S\/4HANA OData Service and then in next section we will look at how to load data into SQL Server or other target.<\/p>\n<ol>\n<li>To do this, first of all, we will open the ZappySys Data Gateway Configuration:\n<div id=\"attachment_5283\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/start-menu-open-zappysys-data-gateway.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5283\" class=\"wp-image-5283 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/start-menu-open-zappysys-data-gateway.png\" alt=\"Open ZappySys Data Gateway\" width=\"400\" height=\"315\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/start-menu-open-zappysys-data-gateway.png 400w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/start-menu-open-zappysys-data-gateway-300x236.png 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-5283\" class=\"wp-caption-text\">Open ZappySys Data Gateway<\/p><\/div><\/li>\n<li>Add the Native &#8211; ZappySys XML Driver Data source.\n<div id=\"attachment_5284\" style=\"width: 568px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/zappysys-data-gateway-add-data-source.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5284\" class=\"wp-image-5284 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/zappysys-data-gateway-add-data-source.png\" alt=\"Add Gateway Data Source\" width=\"558\" height=\"533\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/zappysys-data-gateway-add-data-source.png 558w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/zappysys-data-gateway-add-data-source-300x287.png 300w\" sizes=\"(max-width: 558px) 100vw, 558px\" \/><\/a><p id=\"caption-attachment-5284\" class=\"wp-caption-text\">Add Gateway Data Source<\/p><\/div><\/li>\n<li>Now edit that XML data source to configure it. Enter your OData Service URL its typically like below. Replace 3 parts with your own value (i.e. replace {MY-INSTANCE},\u00a0 {MY-PROJECT}, {MY-TABLE})\n<pre class=\"lang:default decode:true\">https:\/\/{MY-INSTANCE}\/sap\/opu\/odata\/sap\/{MY-PROJECT}\/{MY-TABLE}<\/pre>\n<p>For example if you are hosting SAP HANA in Cloud Instance then your URL may look like below<\/p>\n<pre class=\"lang:default decode:true\">https:\/\/myXXXXXX-api.s4hana.ondemand.com\/sap\/opu\/odata\/sap\/MyTestProject\/PurchaseOrders<\/pre>\n<p>And create New ZS-HTTP connection in it select\u00a0<a href=\"https:\/\/zappysys.com\/blog\/how-to-set-base64-encoded-authorization-header-for-http-web-request\/\" target=\"_blank\" rel=\"noopener\">Basic Authentication<\/a>\u00a0and enter your SAP HANA UserID \/ Password to call OData Service and select the desire filter.<\/p>\n<div id=\"attachment_7497\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/odbc-xml-driver-sap-hana-odata-service.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-7497\" class=\"wp-image-7497 size-medium_large\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/odbc-xml-driver-sap-hana-odata-service-768x537.png\" alt=\"XML Driver : SAP S\/4HANA OData Service Configuration\" width=\"720\" height=\"503\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/odbc-xml-driver-sap-hana-odata-service-768x537.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/odbc-xml-driver-sap-hana-odata-service-300x210.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/odbc-xml-driver-sap-hana-odata-service.png 1019w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-7497\" class=\"wp-caption-text\">XML Driver : SAP S\/4HANA OData Service Configuration<\/p><\/div><\/li>\n<li>Now go to Data Format \/ Compression (Zip\/GZip) tab and select Data Format as OData to get all the records.\n<div id=\"attachment_7498\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/odbc-driver-select-odata-data-format.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-7498\" class=\"wp-image-7498 size-medium_large\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/odbc-driver-select-odata-data-format-768x446.png\" alt=\"Data Format : Odata\" width=\"720\" height=\"418\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/odbc-driver-select-odata-data-format-768x446.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/odbc-driver-select-odata-data-format-300x174.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/odbc-driver-select-odata-data-format.png 792w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-7498\" class=\"wp-caption-text\">Data Format : Odata<\/p><\/div><\/li>\n<li>Finally, now using Query Builder and Code Generator we will generate the query.\n<div id=\"attachment_6416\" style=\"width: 766px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-json-driver-generate-quickbooks-query.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6416\" class=\"wp-image-6416 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-json-driver-generate-quickbooks-query.png\" alt=\"odbc-json-driver-generate-quickbooks-query\" width=\"756\" height=\"432\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-json-driver-generate-quickbooks-query.png 756w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-json-driver-generate-quickbooks-query-300x171.png 300w\" sizes=\"(max-width: 756px) 100vw, 756px\" \/><\/a><p id=\"caption-attachment-6416\" class=\"wp-caption-text\">Generate Query<\/p><\/div><\/li>\n<li>That\u2019s it we are ready to load SAP S\/4HANA OData Service data to SQL Server.<\/li>\n<\/ol>\n<h2>Load SAP S\/4HANA OData Service in MS SQL Server<\/h2>\n<div class=\"content_block\" id=\"custom_post_widget-6457\">Once you configured the data source in Gateway, we can now setup Linked Server in SQL Server to query API data.\r\n<ol style=\"margin-left: 10px;\">\r\n \t<li>Assuming you have installed SQL Server and SSMS. If not then get both for FREE from here:\u00a0<a href=\"https:\/\/www.microsoft.com\/en-us\/sql-server\/sql-server-editions-express\" target=\"_blank\" rel=\"noopener\">Get SQL Server Express<\/a>\u00a0and\u00a0\u00a0<a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/ssms\/download-sql-server-management-studio-ssms\" target=\"_blank\" rel=\"noopener\">Get SSMS<\/a><\/li>\r\n \t<li>Open SSMS and connect to SQL Server.<\/li>\r\n \t<li>Go to Root &gt; Server Objects &gt; Linked Servers node. Right click and click\u00a0<strong>New Linked Server...<\/strong>\r\n<div class=\"wp-caption alignnone\">\r\n\r\n<a href=\"https:\/\/i1.wp.com\/zappysys.com\/blog\/wp-content\/uploads\/2018\/03\/create-new-linked-server-ssms.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i1.wp.com\/zappysys.com\/blog\/wp-content\/uploads\/2018\/03\/create-new-linked-server-ssms.png?w=720&amp;ssl=1\" alt=\"Add Linked Server in SQL Server\" width=\"420\" height=\"262\" \/><\/a>\r\n<p class=\"wp-caption-text\">Add Linked Server in SQL Server<\/p>\r\n\r\n<\/div><\/li>\r\n \t<li>\u00a0Now enter the linked server name, select Provider as SQL Native Client<\/li>\r\n \t<li>Enter data source as\u00a0<strong><span class=\"lang:default decode:true crayon-inline\">GatewayServerName, PORT_NUMBER<\/span><\/strong>\u00a0where server name is where ZappySys Gateway is running (Can be same as SQL Server machine or remote machine). Default PORT_NUMBER is 5000 but confirm on Data gateway &gt; General tab in case its different.<\/li>\r\n \t<li>Enter Catalog Name. This must match name from Data gateway Data sources grid &gt; Name column\r\n<div class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/ssms-sql-server-configure-linked-server-2.png\">\r\n<img decoding=\"async\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/ssms-sql-server-configure-linked-server-2.png\" alt=\"Configure Linked Server Provider, Catalog, Server, Port for ZappySys Data Gateway Connection\" \/>\r\n<\/a>\r\n<p class=\"wp-caption-text\">Configure Linked Server Provider, Catalog, Server, Port for ZappySys Data Gateway Connection<\/p>\r\n<\/div>\r\n<div style=\"color: #31708f;background-color: #d9edf7;border-color: #bce8f1;padding: 15px;margin-bottom: 20px;border: 1px solid transparent;border-radius: 4px;\">\r\n<strong>INFO:<\/strong><br\/>\r\n<ul>\r\n    <li>\r\n      For <strong>SQL Server 2012, 2014, 2016, 2017, and 2019<\/strong>, use the <em>SQL Server Native Client 11.0<\/em> as the Provider.\r\n    <\/li>\r\n    <li>\r\n      For <strong>SQL Server 2022 or higher<\/strong>, use the <em>Microsoft OLE DB Driver for SQL Server<\/em> as the Provider.\r\n    <\/li>\r\n  <\/ul>\r\n<\/div><\/li>\r\n \t<li>Click on Security Tab and select last option \"<strong>Be made using this security context<\/strong>\". Enter your gateway user account here.<\/li>\r\n<li>\r\n        <p>Optional: Under the Server Options Tab, Enable <b>RPC<\/b> and <b>RPC Out<\/b> and Disable Promotion of Distributed Transactions<b>(MSDTC)<\/b>.<\/p>\r\n\t\t<div class=\"wp-caption alignnone\">\r\n\t\t\t<img decoding=\"async\" class=\"block margin-bottom-10 img-thumbnail\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/linked-server-options-rpc-msdtc.png\" title=\"RPC and MSDTC Settings\" alt=\"RPC and MSDTC Settings\" \/>\r\n\t\t\t<p class=\"wp-caption-text\">RPC and MSDTC Settings<\/p>\r\n\t\t<\/div>\r\n        <hr \/>\r\n        <p>\r\n            You need to enable RPC Out if you plan to use <b><i>EXEC(...) AT [MY_LINKED_SERVER_NAME]<\/i><\/b> rather than OPENQUERY.\r\n            <br \/>\r\n            If don't enabled it, you will encounter the <i>'Server \"MY_LINKED_SERVER_NAME\" is not configured for RPC'<\/i> error.\r\n        <\/p>\r\n        <p>\r\n            Query Example:\r\n            <code class=\"sql\">EXEC('Select * from Products') AT [MY_LINKED_SERVER_NAME]<\/code>\r\n        <\/p>\r\n        <hr \/>\r\n        <p>\r\n            If you plan to use <b><i>'INSERT INTO...EXEC(....) AT [MY_LINKED_SERVER_NAME]'<\/i><\/b> in that case you need to Disable Promotion of Distributed Transactions(MSDTC).\r\n            <br \/>\r\n            If don't disabled it, you will encounter the <i>'The operation could not be performed because OLE DB provider \"SQLNCLI11\/MSOLEDBSQL\" for linked server \"MY_LINKED_SERVER_NAME\" was unable to begin a distributed transaction.'<\/i> error.\r\n        <\/p>\r\n        <p>\r\n            Query Example:\r\n<pre class=\"\">Insert Into dbo.Products \r\nEXEC('Select * from Products') AT [MY_LINKED_SERVER_NAME]<\/pre>\r\n        <\/p>\r\n        <hr \/>\r\n<\/li>\r\n \t<li>Click OK to save Linked Server<\/li>\r\n \t<li>In SSMS execute below SQL query to test your connectivity.\r\n<pre class=\"\">SELECT * FROM OPENQUERY( MY_LINKED_SERVER_NAME, 'SELECT * FROM $')<\/pre>\r\n<\/li>\r\n \t<li>Here is the preview after you run some REST API query in SQL Server. Notice that you can override default configuration by supplying\u00a0<a href=\"https:\/\/zappysys.com\/onlinehelp\/odbc-powerpack\/scr\/json-odbc-driver-connectionstring.htm\" target=\"_blank\" rel=\"noopener\">many parameters<\/a>\u00a0in WITH clause (second query example in the screenshot).\r\n<div class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc_json_driver__api_query_data_in_mssqlserver.png\" target=\"_blank\" rel=\"noopener\">\r\n<img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"354\" class=\"wp-image-6455 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc_json_driver__api_query_data_in_mssqlserver.png\" alt=\"odbc_json_driver_api_query_data_in_mssqlserver\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc_json_driver__api_query_data_in_mssqlserver.png 750w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc_json_driver__api_query_data_in_mssqlserver-300x142.png 300w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/>\r\n<\/a>\r\n<p class=\"wp-caption-text\">SSMS Output - Query REST API via Linked Server OPENQUERY statement (Connect to ZappySys Data Gateway)<\/p>\r\n\r\n<\/div><\/li>\r\n \t<li>You can wrap your queries inside View or wrap inside Stored procedure to parameterize. Here is an example of creating the view which calls REST API queries.\r\n<pre class=\"lang:tsql decode:true\">CREATE VIEW dbo.vw_MyAPICall_View \r\nAS \r\n\/*Call REST API inside SQL Server View*\/\r\nSELECT * FROM OPENQUERY( MY_LINKED_SERVER_NAME , 'SELECT * FROM $');\r\n\r\nGO\r\n<\/pre>\r\n<\/li>\r\n \t<li>Notice in above approach if you parameterize Stored Procedure then\u00a0<a href=\"https:\/\/zappysys.com\/blog\/create-csv-list-sql-server-table-columns-datatypes\/\" target=\"_blank\" rel=\"noopener\">check this article to understand Dynamic Metadata<\/a>.<\/li>\r\n \t<li>Now let's insert API data into the new data table \"tblMyAPiData\" in the SQL server database. For that, we need to execute below SQL query.\r\n<pre class=\"lang:tsql decode:true \">Select * into tblMyAPiData FROM OPENQUERY( MY_LINKED_SERVER_NAME , 'SELECT * FROM $')<\/pre>\r\n<div class=\"wp-caption alignnone\">\r\n\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/02\/odbc_json_driver_insert_data_in_sql.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"571\" class=\"wp-image-6469 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/02\/odbc_json_driver_insert_data_in_sql.png\" alt=\"odbc_json_driver_insert_data_in_sql\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/02\/odbc_json_driver_insert_data_in_sql.png 681w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/02\/odbc_json_driver_insert_data_in_sql-300x252.png 300w\" sizes=\"(max-width: 681px) 100vw, 681px\" \/><\/a>\r\n<p class=\"wp-caption-text\">Insert data into the new table<\/p>\r\n\r\n<\/div><\/li>\r\n \t<li>Let's insert and update records into the already created table <span class=\"lang:default decode:true crayon-inline\">\"tblMyAPiData\"<\/span>\r\n<ul>\r\n \t<li>To do that first we need to insert the new API data into the <span class=\"lang:default decode:true crayon-inline\">\"#temp_tblMyAPiData\"<\/span> temporary database table.<\/li>\r\n \t<li>Now let's delete the old records from the database table which are updated.<\/li>\r\n \t<li>At the last insert all new API data into the database table.<\/li>\r\n \t<li>To do that, we need\u00a0to query like below SQL queries.<\/li>\r\n<\/ul>\r\n<pre class=\"lang:default decode:true\">SELECT * into #temp_tblMyAPiData FROM OPENQUERY(MY_LINKED_SERVER_NAME, 'SELECT * FROM $')\r\n\r\nDELETE FROM [dbo].[tblMyAPiData] WHERE id in (SELECT id FROM #temp_tblMyAPiData)\r\n\r\nINSERT INTO tblMyAPiData\r\nSELECT * FROM #temp_tblMyAPiData<\/pre>\r\n&nbsp;<\/li>\r\n \t<li>In the upper step, we see how to insert and update new records. Now if you want to update particular fields records only then you need to query like this.\r\n<pre class=\"lang:default decode:true\">Update dbtbl_1\r\nset dbtbl_1.field1 = dbtbl_2.field1,\r\n    dbtbl_1.field2 = dbtbl_2.field2\r\nFROM tblMyAPiData dbtbl_1\r\nJOIN (SELECT * FROM OPENQUERY(MY_LINKED_SERVER_NAME, 'SELECT * FROM $')) dbtbl_2 on dbtbl_1.id=dbtbl_2.id<\/pre>\r\n<div class=\"su-note-inner su-clearfix\" style=\"background-color: #fff4b7;border-color: #fffdf1;color: #333333\">\r\n<blockquote>*NOTE: If you are getting error like : \"<strong>Cannot resolve the collation conflict between \u201cLatin1_General_CI_AI\u201d and \u201cSQL_Latin1_General_CP1_CI_AS\u201d in the equal to operation<\/strong>\" then you need to query like this :\r\n<pre class=\"lang:default decode:true\">Update dbtbl_1\r\nset dbtbl_1.field1 = dbtbl_2.field1,\r\n    dbtbl_1.field2 = dbtbl_2.field2\r\nFROM tblMyAPiData dbtbl_1\r\nJOIN (SELECT * FROM OPENQUERY(MY_LINKED_SERVER_NAME, 'SELECT * FROM $')) dbtbl_2 \r\non dbtbl_1.id=dbtbl_2.id \r\n<strong>COLLATE SQL_Latin1_General_CP1_CI_AS<\/strong><\/pre>\r\n&nbsp;<\/blockquote>\r\n<\/div><\/li>\r\n<\/ol><\/div>\n<h2>SAP S\/4HANA Integration with Other BI Tools (Power BI, Excel, SSRS, MS Access&#8230;)<\/h2>\n<div class=\"content_block\" id=\"custom_post_widget-7051\">ZappySys ODBC Drivers built using ODBC standard which is widely adopted by industry for a long time. Which mean the majority of BI Tools \/ Database Engines \/ ETL Tools already there will support native \/ 3rd party ODBC Drivers. Below is the small list of most popular tools \/ programming languages our Drivers support. If your tool \/ programming language doesn't appear in the below list, which means we have not documented use case but as long as your tool supports ODBC Standard, our drivers should work fine.\r\n\r\n&nbsp;\r\n\r\n<img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"\/\/zappysys.com\/images\/odbc-powerpack\/odbc-powerpack-integration.jpg\" alt=\"ZappySys ODBC Drivers for REST API, JSON, XML - Integrate with Power BI, Tableau, QlikView, QlikSense, Informatica PowerCenter, Excel, SQL Server, SSIS, SSAS, SSRS, Visual Studio \/ WinForm \/ WCF, Python, C#, VB.net, PHP. PowerShell \" width=\"750\" height=\"372\" \/>\r\n<table style=\"valign: top;\">\r\n<tbody>\r\n<tr>\r\n<td>\r\n<p style=\"text-align: center;\"><strong>BI \/ Reporting Tools\r\nIntegration<\/strong><\/p>\r\n<\/td>\r\n<td style=\"text-align: center;\"><strong>ETL Tools\r\nIntegration\r\n<\/strong><\/td>\r\n<td style=\"text-align: center;\"><strong>Programming Languages<\/strong>\r\n<strong>Integration<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\r\n<ul>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/howto-import-json-rest-api-power-bi\/\" target=\"_blank\" rel=\"noopener\">Microsoft Power BI<\/a><\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/import-rest-api-tableau-read-json-soap-xml-csv\/\">Tableau<\/a><\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/read-rest-api-using-ssrs-reports-call-json-xml-web-service\/\" target=\"_blank\" rel=\"noopener\">SSRS (SQL Reporting Services)<\/a><\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/qlik-rest-connector-examples-read-json-xml-api\/\" target=\"_blank\" rel=\"noopener\">QlikView \/Qlik Sense<\/a><\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/call-rest-api-in-microstrategy-json-soap-xml\/\" target=\"_blank\" rel=\"noopener\">MicroStrategy<\/a><\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/import-rest-api-google-sheet-call-appscript-load-json-soap-xml-csv\/\" target=\"_blank\" rel=\"noopener\">Google Sheet<\/a><\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/import-json-excel-load-file-rest-api\/\" target=\"_blank\" rel=\"noopener\">Microsoft Excel<\/a><\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/api\/integration-hub\/rest-api-connector\/access?context=connector\" target=\"_blank\" rel=\"noopener\">Microsoft Access<\/a><\/li>\r\n \t<li>Oracle OBIEE<\/li>\r\n \t<li>Many more (not in this list).....<\/li>\r\n<\/ul>\r\n<\/td>\r\n<td>\r\n<ul>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/read-json-informatica-import-rest-api-json-file\/\" target=\"_blank\" rel=\"noopener\">Informatica PowerCenter<\/a> (Windows)<\/li>\r\n \t<li>Informatica Cloud<\/li>\r\n \t<li>SSIS (SQL Integration Services)<\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/import-rest-api-json-sql-server\/\" target=\"_blank\" rel=\"noopener\">SQL Server<\/a><\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/read-write-rest-api-data-in-talend-json-xml-soap\/\" target=\"_blank\" rel=\"noopener\">Talend Data Studio<\/a><\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/pentaho-read-rest-api-in-pentaho\/\" target=\"_blank\" rel=\"noopener\">Pentaho Kettle<\/a><\/li>\r\n \t<li>Oracle OBIEE<\/li>\r\n \t<li>Many more (not in this list).....<\/li>\r\n<\/ul>\r\n<\/td>\r\n<td>\r\n<ul>\r\n \t<li>Visual Studio<\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/calling-rest-api-in-c\/\" target=\"_blank\" rel=\"noopener\">C#<\/a><\/li>\r\n \t<li>C++<\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/connect-java-to-rest-api-json-soap-xml\/\" target=\"_blank\" rel=\"noopener\">JAVA<\/a><\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/set-rest-python-client\/\" target=\"_blank\" rel=\"noopener\">Python<\/a><\/li>\r\n \t<li>PHP<\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/call-rest-api-powershell-script-export-json-csv\/\" target=\"_blank\" rel=\"noopener\">PowerShell<\/a><\/li>\r\n \t<li><a href=\"https:\/\/zappysys.com\/blog\/import-rest-api-json-sql-server\/\" target=\"_blank\" rel=\"noopener\">T-SQL (Using Linked Server)<\/a><\/li>\r\n<\/ul>\r\n<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n&nbsp;<\/div>\n<h2><span id=\"Step-by-Step_Import_REST_API_into_Power_BI\">Conclusion<\/span><\/h2>\n<p>So in this blog, we learned how to Import SAP S\/4HANA OData Service Data in MS SQL Server using\u00a0<a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/odbc-xml-soap-api-driver\/\" target=\"_blank\" rel=\"noopener\">ODBC XML \/ SOAP API Driver<\/a> in a very simple way. You can achieve many more functionalities with this tool. Check our blogs\/articles on <strong>XML File \/ REST API Driver\u00a0<\/strong><a href=\"https:\/\/zappysys.com\/blog\/category\/odbc-powerpack\/odbc-drivers\/xml-soap-api-driver\/\">https:\/\/zappysys.com\/blog\/category\/odbc-powerpack\/odbc-drivers\/xml-soap-api-driver\/<\/a> to find out what\u00a0<em>this tool<\/em>\u00a0is capable of more.<\/p>\n<h2><span id=\"References\">References<\/span><\/h2>\n<p>Finally, you can use the following links for more information about the use of SAP S\/4HANA OData Service with our tools:<\/p>\n<ul>\n<li><a href=\"https:\/\/api.sap.com\/\" target=\"_blank\" rel=\"noopener\">SAP API Business Hub<\/a><\/li>\n<li><strong>Landing Page<\/strong>\u00a0for <a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/odbc-xml-soap-api-driver\/\" target=\"_blank\" rel=\"noopener\">ODBC XML \/ SOAP API Driver<\/a>, you can also find\u00a0<a href=\"https:\/\/youtu.be\/iwezz0Z3D4U\" target=\"_blank\" rel=\"noopener\">Tutorial Video<\/a>\u00a0here.<\/li>\n<li><strong>Help File:<\/strong>\u00a0Documentation of\u00a0<a href=\"https:\/\/zappysys.com\/onlinehelp\/odbc-powerpack\/index.htm#page=xml-odbc-driver-intro.htm\" target=\"_blank\" rel=\"noopener\">XML Driver<\/a>.<\/li>\n<li><strong>Blog\/articles link<\/strong>:\u00a0<a href=\"https:\/\/zappysys.com\/blog\/category\/odbc-powerpack\/odbc-drivers\/xml-soap-api-driver\/\" target=\"_blank\" rel=\"noopener\">https:\/\/zappysys.com\/blog\/category\/odbc-powerpack\/odbc-drivers\/xml-soap-api-driver\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In our previous blog we saw how to read JIRA data in SQL Server. Now let\u2019s learn how to Import SAP S\/4HANA OData Service Data Into Sql Server. SAP S\/4HANA provides OData REST API interface to access data in your application using HTTP Protocol. We will use\u00a0ODBC XML Driver\u00a0to read SAP data and load [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":7491,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[380,347,278],"tags":[522,279,523,421,48,7],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver. Using XML Driver making SAP OData Service call and loading data in SQL Server.\" \/>\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\/import-sap-s-4hana-odata-service-sql-server\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver. Using XML Driver making SAP OData Service call and loading data in SQL Server.\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:published_time\" content=\"2019-07-20T10:01:04+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2019-08-11T11:24:40+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/SAP_S4HANA.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"150\" \/>\r\n\t<meta property=\"og:image:height\" content=\"150\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\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\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/\",\"url\":\"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/\",\"name\":\"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/SAP_S4HANA.png\",\"datePublished\":\"2019-07-20T10:01:04+00:00\",\"dateModified\":\"2019-08-11T11:24:40+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35\"},\"description\":\"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver. Using XML Driver making SAP OData Service call and loading data in SQL Server.\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/SAP_S4HANA.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/SAP_S4HANA.png\",\"width\":150,\"height\":150,\"caption\":\"SAP S\/4HANA\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver\"}]},{\"@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\/c9dc782c929d0027e2e87e3951ce9d35\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"url\":\"https:\/\/zappysys.com\/blog\/author\/hshah\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver | ZappySys Blog","description":"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver. Using XML Driver making SAP OData Service call and loading data in SQL Server.","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\/import-sap-s-4hana-odata-service-sql-server\/","og_locale":"en_US","og_type":"article","og_title":"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver | ZappySys Blog","og_description":"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver. Using XML Driver making SAP OData Service call and loading data in SQL Server.","og_url":"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/","og_site_name":"ZappySys Blog","article_published_time":"2019-07-20T10:01:04+00:00","article_modified_time":"2019-08-11T11:24:40+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/SAP_S4HANA.png","type":"image\/png"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ZappySys","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/","url":"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/","name":"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/SAP_S4HANA.png","datePublished":"2019-07-20T10:01:04+00:00","dateModified":"2019-08-11T11:24:40+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35"},"description":"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver. Using XML Driver making SAP OData Service call and loading data in SQL Server.","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/SAP_S4HANA.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/07\/SAP_S4HANA.png","width":150,"height":150,"caption":"SAP S\/4HANA"},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/import-sap-s-4hana-odata-service-sql-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Import SAP S\/4HANA OData Service Data Into Sql Server via ODBC Driver"}]},{"@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\/c9dc782c929d0027e2e87e3951ce9d35","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g","caption":"ZappySys"},"url":"https:\/\/zappysys.com\/blog\/author\/hshah\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/7490"}],"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\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=7490"}],"version-history":[{"count":8,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/7490\/revisions"}],"predecessor-version":[{"id":7703,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/7490\/revisions\/7703"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/7491"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=7490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=7490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=7490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}