We are proud to share our inclusion in the 2024 Gartner Magic Quadrant for Data Integration Tools. We believe this recognition reflects the differentiated business outcomes CData delivers to our customers.
Get the Report →Import GMO MakeShop Data into Microsoft Power Query
The CData API Server offers standards-based Web service endpoints that allow a variety of applications to access GMO MakeShop data. In this article, you will use the OData format to import GMO MakeShop data into Microsoft Power Query.
The API Server, when paired with the ADO.NET Provider for GMO MakeShop (or any of 200+ other ADO.NET Providers), enables you to use Web services to connect to and query GMO MakeShop data. This article details how to import an OData feed of GMO MakeShop data into Microsoft Power Query.
Set Up the API Server
Follow the steps below to begin producing secure GMO MakeShop OData services:
Deploy
The API Server runs on your own server. On Windows, you can deploy using the stand-alone server or IIS. On a Java servlet container, drop in the API Server WAR file. See the help documentation for more information and how-tos.
The API Server is also easy to deploy on Microsoft Azure, Amazon EC2, and Heroku.
Connect to GMO MakeShop
After you deploy the API Server and the ADO.NET Provider for GMO MakeShop, provide authentication values and other connection properties needed to connect to GMO MakeShop by clicking Settings -> Connections and adding a new connection in the API Server administration console.
Configuring Access to GMO MakeShop
GMO MakeShop requires AccessCode for each API. To obtain MembersAccessCode, OrdersAccessCode, ProductsAccessCode, and ShopId, follow the steps below:
- Log in to the GMO MakeShop Store Manager and click Create Shop.
- Click any target connection setting from External System Connection in the left-hand navigation menu. If you cannot find it in the menu, please contact GMO Makeshop.
- Product Data Connection Settings: Click Issue to retrieve the authentication code and ProductsAccessCode.
- Order Data Connection Settings: First select Get Order Information > Change Order Information settings. Then click Issue to retrieve the authentication code and OrdersAccessCode.
- Members Data Connection Settings: Select Get/Post/Update/Delete Members Information settings. Then click Issue to retrieve the authentication code and MembersAccessCode. < li>Members Authentication Connection Settings: Click Issue to retrieve the authentication code and ProductsAccessCode.
Authenticating to GMO MakeShop Account
Set the following connection properties to connect:
- ShopId: Set the GMO MakeShop Store ID of the connection destination. The GMO MakeShop Store ID is the same as the ID for login.
- OrdersAccessCode: Set the orders access code retrieved from Order Data Connection Settings. This property is required to access the Orders table.
- ProductsAccessCode: Set the products access code retrieved from Product Data Connection Settings. This property is required to access the Products table.
- MembersAccessCode: Set the members access code retrieved from Members Data Connection Settings. This property is required to access the Members table.
- MemberAuthenticationCode: Set the member authentication code retrieved from Members Authentication Connection Settings. This property is required to execute MemberAuthenticationConfirm.
- Password: Specify the password for the GMO MakeShop Store Manager login user. This property is required to execute ProductCategoryRegistrationOrModification, ProductMemberGroupPriceRegistrationOrModification, ProductOptionRegistrationOrModification, and ProductRegistrationOrModification.
You can then choose the GMO MakeShop entities you want to allow the API Server access to by clicking Settings -> Resources.
Authorize API Server Users
After determining the OData services you want to produce, authorize users by clicking Settings -> Users. The API Server uses authtoken-based authentication and supports the major authentication schemes. Access can also be restricted based on IP address; by default, only connections to the local machine are allowed. You can authenticate as well as encrypt connections with SSL.
Connect to GMO MakeShop Data from Power Query
Follow the steps below to import tables that can be refreshed on demand:
- Configure the API Server to use a version of the OData protocol that is recognized by Power Query. In the API Server administration console, click Settings -> Server and change the value of the Default Version property to 3.0.
-
From the ribbon in Excel, click Power Query -> From Other Data Sources -> From OData Feed, and enter the OData URL:
https://your-server:8032/api.rsc
-
In the next step of the wizard, define authentication credentials and set privacy levels. Select Basic authentication and enter the credentials for a user authorized to make requests. Specify the Username field and enter the user's authtoken in the Password field.
To change the authentication scheme that Power Query will use, click Power Query -> Data Source Settings. Select the OData feed from the list and then click Edit Credential. Select the privacy level from the menu on the Data Source Settings page.
-
You can now access GMO MakeShop data in Power Query. In the Navigator expand the node for the OData feed, right-click a table, and click Edit to open the Query Editor. This will display the table data.