Manual for REST API in SSIS
Introduction
There are several scenarios and configurations in REST API. Facebook, Linkedin, YouTube, Amazon use several types of connections and it is difficult for users to connect the first time. You can connect to REST API using OAuth1, OAuth2, HTTP with basic authentication, dynamic tokens, base64 encryption. There are thousands or different REST API connections and our customers are sometimes lost with so many connections. That is why we decided to create a guide for different configurations and connections. Here you have a list of links of different configurations.
- How to connect SSIS to REST API using OAuth1
- How to connect SSIS to REST API using OAuth2
- How to connect SSIS to REST API using OAuth2, grant type
- How to connect SSIS to JWT
- How to convert curl to SSIS REST API calls
- How to connect SSIS to REST API using basic authentication
- How to connect SSIS to REST API using a dynamic token
- How to connect SSIS to REST API using HMAC Authentication
- How to connect SSIS to REST API using Pagination
- How to solve the SSIS REST API Error 400 Bad request error, REST API Error 401 Unauthorized error, REST API Error 404 Page not found, REST API Error 405 Method is not allowed, REST API error 415 Media Type is not supported
- How to debug SSIS REST API request
- How to connect SSIS to REST API to upload files
What is OAuth?
It is a secure protocol to access information from the website. There are two versions, OAuth 1.0 and OAuth 2.0. This mecanism for access delegation is used by many companies like Facebook, Youtube, Twitter, Gmail, etc.
How to connect SSIS to REST API using OAuth1
OAuth 1 was the first standard and it was complex than OAuth 2.0 the OAuth 1.0 is not compatible with OAuth 2.0. OAuth 1.0 was created in 2010, so it is more common to use OAuth 2.0. Twitter started using OAuth 1.0 in august of 2010.
The following article shows how to connect using OAuth 1.0:
How to connect SSIS to REST API using OAuth2
Most of the Web Services connect to the clients using OAuth 2.0. This protocol is simpler,
The following article shows how to connect SSIS to REST API using OAuth 2.0.
How to connect SSIS to REST API using OAuth2, grant type
Grant type is one of the options avaialbe when OAuth 2.0 is selected. This option generates a token each time that the connection is made. For more information about Grant Type in SSIS, refer to this link:
How to connect SSIS to REST API using OAuth2, grant type
Grant type is one of the options avaialbe when OAuth 2.0 is selected. This option generates a token each time that the connection is made. For more information about Grant Type in SSIS, refer to this link:
How to connect SSIS to JWT
JWT (JSON Web Token) is a JSON standard used to create tokens. Zappysys also can connect to JWT. For more informaton about JWT and SSIS, refer to this link:
How to convert curl to SSIS REST API calls
cURL is a project with a library and a command line to invoive REST API. For REST API calls it is common to use curl and many customers ask us how to convert CURL calls to SSIS REST API calls. The following article will provide information about converting cURL to SSIS REST API:
How to connect to REST API using SSIS basic authentication
If your REST API requires basic authentication, you will need to create an ZS HTTP connection and specify a login and password. The following article shows an example about REST API with basic authentication:
How to connect to REST API using SSIS with a dynamic token
Another way to connect is the dynamic token. It requires a login and then a token is generated. You need to use the HTTP connection for this connection. For more information, refer to this link:
How to connect SSIS to REST API using HMAC Authentication
HMAC is a hash-based message authentication code. Usually the cryptographic function to hash is MD5, SHA256 or SHA3.
For more information about HMAC Authentication, refer to this link:
How to connect SSIS to REST API using Pagination
Pagination is a method to handle large datasets. There are several ways to handle Pagination. The following article shows the most common ways using SSIS and ZappySys:
How to solve the SSIS REST API Error 400 Bad request error, REST API Error 401 Unauthorized error, REST API Error 404 Page not found, REST API Error 405 Method is not allowed, REST API error 415 Media Type is not supported
These problems may be related to wrong parameters in the URL or a Wrong body request. wrong URL, wrong body. For more information about these typical errors, refer to this link:
How to debug SSIS REST API request
The REST API debug can be done with Fiddler. This tool is external, but provide nice information for debugging. The following URL shows how to use it:
How to connect SSIS to REST API to upload files
Sometimes the REST API allows to upload files. The following article shows an example about it:
Contact Us
If you have more question(s) feel free to contact us via Live chat or email to support@zappysys.com
Comments
0 comments
Please sign in to leave a comment.