In this section, we will go deep into the process for creating APIs with Enterprise Integrator. The main difference between the APIs and the Proxies is that Proxies use the Simple Object Access Protocol protocol (SOAP), meanwhile the APIs use the Representational State Transfer protocol (REST). For this reason, the APIs are simpler to develop (we don't need to create a WSDL for the service) and have better performance and scalability than the SOAP services.
Let's take a look at the syntax:
<api name="API_NAME" context="URI_PATH_OF_API" [hostname="HOST_NAME_OF_SERVER"] [port="PORT_NUMBER"]> <resource [methods="GET|POST|PUT|DELETE|OPTIONS|HEAD|PATCH"]
[uri-template="URI_TEMPLATE"|url-mapping="URL_MAPPING"]> <inSequence> ... <...