Bongo API
Back to Bongous.com
United Kingdom / English
Contact Info.
Name:
E-mail:
Phone:
Website URL:
Message:

Getting Started with the Export API

First and foremost, make sure that you are using the most recent version of the API and associated Examples.

Currently you basically have 2 options (in order of ease of use):

  • API Examples -use one of the many examples in our downloads area to get started quickly. These typically have the natural feel of the language you are using.
  • SOAP (style:RPC) - find the library that executes SOAP in your language of choice and work on implementing it. This approach may require a little more setup time & learning curve, but will likely make your life easier in the long run.

Finally, do ERROR CHECKING like a crazy!
We know mentioning this is like beating a dead horse, but we have also found that 60% - 70% of the support requests we receive are things that folks would have quickly and easily noticed if they were making good use of the errors being returned. Just do it!.

General Notes

If you are not a big coder or are looking to integrate Bongo service with your current CMS, etc., you will soon be able to check out our Plugins page and see when someone has released code for your system. If not, keep reading...

Know something that we don't or do not have listed here? Send us a note and we will probably post it here (or where ever it is appropriate).

Php PHP 5 Notes

SOAP (Style:RPC) - there are plenty of PHP XML-RPC libraries, classes, etc. out there, however we are going to recommend one: Soap Client. This Libary comes pre-installed with PHP.

  • Sending Requests: A SOAP transaction begins with an application making a call to a remote procedure. The SOAP client script then encodes the procedure request as an XML payload and sends it over the transport protocol to a server script.
  • Return Formats:The response is encoded as XML by the server and returned as a response to the client, which parses the response and passes the result to the original function.

Aspdotnet .Net (ASP, C#, VB, etc) Notes

The advantage of using the SOAP interface over the XML interface from statically-typed languages like C# and VB.NET is that there is less XML processing to do, since the web services infrastructure in .NET handles deserializing the SOAP XML responses from the SOAP interface into strongly-typed .NET collections.

To use the SOAP interface from a .NET project, you can use the Add Web Reference functionality in Visual Studio to consume the Export API WSDL found at https://api.bongous.com/services/v4?wsdl. For more information, see Using SOAP.

Aspdotnet Java Notes

In java to send SOAP message to the server you need to import following classes.

These are the Classes use for sending and receiving Soap message.

import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;

These are the classes use for some file and stream operation.

import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;

Once you imports all above classes, create one Class of your choice and in main() function of your class start writing following statements one by one.