Summary
Description
In the POSTMAN application in the right-hand panel there is a collapsed column that can be expanded to view the code snippet (i.e., PowerShell -RestMethod). This information can be used to setup a windows task scheduler


Cause
Resolution
CAUTION: Use caution when working with the below product functionality. Always create a backup of your data before proceeding with advanced solutions. If necessary, seek the assistance of a qualified Sage business partner, network administrator, or Sage customer support analyst.It can be done with REST services.
Using API1 service call for versions 2017Rx / 2018R1 and future V12 (POST method)
http://SERVER/NAME/api1/syracuse/collaboration/syracuse/batchServers(code eq "BATCH-SERVER-CODE")/$service/stop
http://SERVER/NAME/api1/syracuse/collaboration/syracuse/batchServers(code eq "BATCH-SERVER-CODE")/$service/stopAll
http://SERVER/NAME/api1/syracuse/collaboration/syracuse/batchServers(code eq "BATCH-SERVER-CODE")/$service/start
http://SERVER/NAME/api1/syracuse/collaboration/syracuse/batchServers(code eq "BATCH-SERVER-CODE")/$service/status
Using batch server dispatcher for 2017Rx / 2018R1, V11 and future V12 (GET method)
http://SERVERNAME/batch/stop/?code=BATCH-SERVER-CODE
http://SERVERNAME/batch/stopAll/?code=BATCH-SERVER-CODE
http://SERVERNAME/batch/start/?code=BATCH-SERVER-CODE
http://SERVERNAME/batch/status/?code=BATCH-SERVER-CODE - status command only for 2017Rx / 2018R1 and future V12