Downloading the latest Enterprise Connector version programmatically
To download the latest version of the Enterprise Connector, you can use rest services that are
exposed by the current Enterprise Connector, version 12.0.42 or later. For this
download a configured Enterprise Connector is required. The download uses the
location credentials to pick up the latest version from the Infor cloud environment. To call these methods, a grid-authenticated identity with the
grid_provisioner
security role is required. This can for
example be a client certificate or an OAuth 10.a key-pair.
GET https://<echost:port>/api/provision/v1//enterpriseconnector/version
This method provides the
installedVersion
andCloudVersion
. You can compare them to see whether a later version is available.GET https://<echost:port>/api/provision/v1/enterpriseconnector/download
Use this method to start the download of the cloud version.
GET https://<echost:port>/api/provision/v1/enterpriseconnector/download/status
Use this method to get the status of the download and the location of the downloaded installer.
POST https://<echost:port>api/provision/v1/enterpriseconnector/credentials
Use this method to upload a new set of Location credentials.
POST https://<echost:port>api/provision/v1/tenantmapping/{tenantMapping}
Use this method to change the tenant mapping