As usual, Steven is right-on.
The other option is to write an automation script that runs the Work Order Generation routine for a PM, and then call that automation script from the REST API as part of your test cases. Something like:
POST https://<maximourl>/maximo/api/script/WOGEN?lean=1&pmnum=1001&siteid=BEDFORD
apikey: <apikey>
... would call an automation script in Maximo called WOGEN and pass in parameters for PMNUM and SITEID.
Hope this helps,
------------------------------
Alex Walter
A3J Group LLC
------------------------------