SubmitJob
Submits a job for placement in the job queue.
URL (general format)
SERVER:PORT/lawson-ios/action/SubmitJob? <parameter=key>
Required Parameters
| Parameter Key | Value Type | Parameter Description |
|---|---|---|
| jobOwner | Alphanumeric string | The owner of the job to be submitted. Maximum length for strings is 10. |
| jobName | Alphanumeric string | The name of the job submitted. Maximum length for strings is 10. |
Optional Parameters
| Parameter Key | Value Type | Parameter Description |
|---|---|---|
| jobQueue | Alphanumeric string | The job queue to place the submitted job on. If blank, the default queue is used. Maximum length for strings is 10. |
| startDate | Date format of YYYYMMDD | A future date to submit the job on . If blank, defaults to "submit now." |
| startTime | Time format of HHMMSS | A future time to submit the job on . If blank, defaults to "submit now." |
| wait | Boolean (true, false) |
If set to true, the web service will not exit until the job has been performed. |
Example URL
SERVER:PORT/lawson-ios/action/SubmitJob?jobOwner=LAWSON\lawsonuser&jobName=TESTJOB&jobQueue=TQUEUE&startDate=20151212&startTime=120000&wait=false
Deprecated CGI information
This service replaces the CGI jobrun.exe.
CGI URL: SERVER:PORT/cgi-lawson/jobrun.exe?FUNC=RUN&JOB=TESTJOB&USER=LAWSON\lawsonuser&QUEUE=TQUEUE&DATE=20151212&TIME=120000&WAIT=FALSE
| CGI parameters | SubmitJob equivalents |
|---|---|
| USER | jobOwner |
| JOB | jobName |
| QUEUE | jobQueue |
| DATE | startDate |
| TIME | startTime |
| WAIT | wait |