...
Application Server REST Endpoints
MC2 exposes a set of REST Endpoints. The REST endpoints are exposed directly on the Application Server on
...
baseport + 207.
...
For more information about calculating the REST endpoint port number, see Calculate MC2 Endpoints Port Numbers
...
.
The basePort
...
is 20000 + 220 = 20220 and the REST API port
...
is 20427.
...
You can access the page with the list of available Swagger definitions
...
at http://appserverhostname:20427/eagle/v2/api-doc
...
. This link returns a JSON document with the list of all available APIs grouped by resources.
...
You can retrieve the full extract SWAGGER definition
...
at http://appserverhostname:20427/eagle/v2/extract/api-doc
...
.
You can retrieve the SWAGGER for a Warehouse group that only you can use
...
at http://appserverhostname:20427/eagle/v2/warehouse/api-doc.
Web Server REST Endpoints
Tip |
---|
In 2017R2 and later we exposed the REST API thru the regular Eagle Web Server using the Eagle supported authentication. |
After 2017R2 you can execute the above requests directly on the web server using either a Web Browser or a command line tool, like curl:
...
After 2017R2, you can execute the above requests directly on the Eagle Web Server. Upon providing Eagle supported authentication credentials, you can access the web server using a web browser or a command-line tool, such as curl, to access https://webserver/eagle/v2/api-doc
...
When accessing the REST endpoints thru Eagle Web Server proper Eagle supported authentication credentials should be provided.
Swagger UI REST Endpoint
Swagger UI can be used to navigate the exposed REST endpoints and execute sample requests.
...