Invoking the POM Service
To invoke the POM ReST service, you must add an authorization header as Bearer <token>, that is:
-
The word Bearer
-
A space
-
A valid token obtained as described in Requesting the Access Token
For example, the POM nightly cycle start request would look something like the following:
curl -i -H 'Authorization: Bearer <OAuth Token>' -H 'Content-Type: application/json' --request POST 'http://<pom-server-host>/ProcessServices/services/private/executionEngine/schedules/<Schedule_Name>/execution?skipVersion' -d '{ "cycleName" : "Nightly", "flowName" : "Nightly"}'