Need assistance implementing vendors API

Hi Experts,

I need to use an API utility to import objects from a certain vendor site into my database.
and got those links as references.

-      REST API: https://howto.caspio.com/integration/web-services-api/rest-api/
-      SOAP API: https://howto.caspio.com/integration/web-services-api/soap-api/

Now I would like to know if you can give me some guidance how to start this project.

FYI- I am mainly familiar with MS Access VBA programming language.

Thanks in advance.
LVL 5
bfuchsAsked:
Who is Participating?
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
There's a plugin for Microsoft Office:

https://howto.caspio.com/integration/plugin-for-microsoft-office/

Looks like once you implement the plugin you can set it autorefresh, which would give you essentially real-time data.
0
 
PatHartmanCommented:
The only relevant examples I found were the soap/VB example and the REST/Excel example  It is very likely that you can implement one of those in VBA with minimal modifications.  VB and VBA are very close.

Otherwise, you will need to hire someone or ask the vendor for a specific Access VBA example.  Since you are buying a service from them, they will probably want to help you.
0
 
Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
It's fairly straight forward.   Code is along the lines of this:


    Dim byteData() As Byte
    Dim XMLHTTP As Object

    Set XMLHTTP = CreateObject("MSXML2.XMLHTTP")

    XMLHTTP.Open "GET", sReq, False
    XMLHTTP.Send
    byteData = XMLHTTP.responseBody

    Set XMLHTTP = Nothing

 Which is sending a URL as required by the API, and then getting a response back as a string.

 You can do your own setup, or there are things out there like this:

https://github.com/VBA-tools/VBA-Web

  Which are an all around class lib for calling web services.

Jim.
0
 
bfuchsAuthor Commented:
Thank you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.