|
Topics: |
Representational state transfer (REST) is a software architectural style that defines a set of constraints to be used for creating Web services. Web services that conform to the REST architectural style, called RESTful Web services, provide interoperability between computer systems on the Internet. RESTful Web services allow the requesting systems to access and manipulate textual representations of Web resources by using a uniform and predefined set of stateless operations.
iWay Trading Partner Manager (TPM) exposes the REST API, which can be used to easily create custom web pages or display data in existing web pages. The REST API helps to perform the most common TPM operations available through the TPM user interface. That means the same transaction, pooling, and caching are available and can be using in conjunction with the TPM user interface. This appendix covers the usage of the iWay TPM REST API.
iWay TPM includes a wide selection of REST API calls that can be accessed through the Swagger UI.
After you have logged in to iWay TPM, click the TPM Console REST API icon, which is located in the upper-right corner of the iWay TPM user interface, as shown in the following image.

The TPM Console REST API opens in a new browser tab, as shown in the following image.

Swagger offers the ability for each REST API call to be test run from this console and also displays sample output.

You can access and test the following TPM REST API calls through the Swagger UI: