Start a Job via PRO API using C#
Get a C# environment for developing applications. Here we assume you’re using Visual Studio.
If you don’t have Visual Studio installed, you may get it on Microsoft’s website: Install Visual Studio.
Get AIMMS PRO API via AIMMS PRO Portal
Log into AIMMS PRO
Go to Help > getting started
Download AIMMS PRO API
Move it to a convenient location, and unzip the archive
Running the example
First publish the example application.
You can find the example model in
.\pro-api-complete\examples\AimmsModel\PROApiExampleApplication.aimms. Create an aimmspack, say
PROApiExampleApplication.aimmspack, and publish it on your AIMMS PRO system, for instance using the name
Adapt application details presented on lines 14 - 30.
PRO_ENDPOINT: this might also be
when connection encrypted, start with
wss(cloud systems are always encrypted).
when connection not encrypted, start with
USER_PASSWORDshould have been supplied by your AIMMS PRO administrator.
PRO_APPLICATION_VERSION, the name and version of the app as it is published.
Build the application using Visual Studio Menu > Build > Build.
Run the application.