Please enable JS

Examples

API Programming Examples

The API allows you to read and write data on your ERP in a simple and secure way

Any questions please contact us, our technical team will be happy to help you!
Download examples source code
WHAT IS THE REST API?

The API allows you to read and write data in the ERP.


For technical information see the example page:

Examples


On the example page you can find source code to invoke the API.

In addition, you can also download the source code presented and use it in your tests or as a starting point for the development of your system.

Examples shown include:

HOW CAN I USE THE REST API?

The API can be invoked from any system in any programming language.

You can access the REST API at:

https://e2e.pt/api


The REST API allows:

  • Test API invocations
  • Identify the read and write operations available in the API
  • Identify the input parameters for each operation
  • Identify the response codes for each operation and their meaning
  • Identify the properties of each model (account, document, product, etc.)


To invoke the API you need to authenticate with a valid API KEY and COMPANY KEY.

Contact us to get your API KEY and COMPANY KEY.


In the REST API press the "Authorize" button and then:

  1. Insert API KEY and press the respective authorize button.
  2. Insert COMPANY KEY and press the respective authorize button.


WHO IS THE TARGET AUDIENCE?

The API is intended for programmers who want to read or write data in the ERP system.

WHY OPEN API FORMAT?

The OpenAPI Initiative (OAI) was created by a consortium of forward-looking industry experts who recognize the immense value of standardizing on how APIs are described. As an open governance structure under the Linux Foundation, the OAI is focused on creating, evolving and promoting a vendor neutral description format. The OpenAPI Specification was originally based on the Swagger Specification, donated by SmartBear Software.

APIs form the connection link between modern applications. Almost all applications use APIs to connect to corporate data sources, third-party data services or other applications. Creating an open description format for API services that is neutral, portable and open to the supplier is critical to accelerating the vision of a truly connected world.

Read more: Homepage

Read more: About

DEVELOPMENT IN JAVASCRIPT

To develop in Javascript you must make AJAX requests to the server in JSON format.

We recommend using a library like jQuery or Angular.


For technical informations please check the examples page:

Examples

DEVELOPMENT IN PHP

The library for PHP project development is available as a package through Packagist.

The package is available at the following address:

https://packagist.org/packages/e2e/e2e-sdk-php


Packagist is a PHP package repository.

Packages are libraries with a certain well-identified functionality that can be added to a project.

Read more: https://packagist.org/


Composer is a dependency management tool for PHP.

Composer downloads packages from the Packagist repository where the E2E.pt package is published.

Read more: https://getcomposer.org/


For technical informations please check the examples page:

Examples

DEVELOPMENT IN JAVA

Java development library.

Download


For technical informations please check the examples page:

Examples

DEVELOPMENT IN C#

C# development library.

Download


For technical informations please check the examples page:

Examples