Managing Master Data with webMethods OneData : Developing for webMethods OneData : API Functions and Web Services in OneData : Generic Job Functions : getJobExecutionResult
getJobExecutionResult
This web service returns the job log of asynchronous jobs. The job token is returned during the execution of executeAsynchronousJob to retrieve the job log. Function returns job log as an XML file. The scripts are sent as an attachment.
Input Parameters
Repository
Required. Repository name.

User Id
Password
Required. User name/ password.
Schema Id
Required. ID of the required schema. Set to:
1 for Work Area
2 for Release Area
Project Id
Required. ID of the required project.
Job Type
Required. Type of job to be executed.
Job Token
Required. Job token returned during the execution of executeAsynchronousJob.
Output Parameters
None.
Sample Input
RepositoryId = DEV
UserId = admin
Password = 73ACD9A5972130B75066C82595A1FAE3
SchemaId=1
ProjectId=1
JobToken = 632
Sample Output
<?xml version="1.0" encoding="UTF-8" ?>
H-H
<JOB_OUTPUT>H-H
<JOB>
<REPOSITORY>DEV</REPOSITORY>
<ONEDATA_VERSION>5.7rc1</ONEDATA_VERSION><
JOB_RUN_IDENTIFIER>426156</JOB_RUN_IDENTIFIER>
<ID>95951</ID>
<NAME>Brand Report- Grouping</NAME>
<EXECUTIONDATE>1970-01-01 05:30:00.0</EXECUTIONDATE>
<DURATION>5</DURATION>
<RESULT>12 rows were retrieved for the report.</RESULT>
<RESULT_MESSAGE>The job executed successfully and the report has been
emailed to the following address(es): admin@abc.com</RESULT_MESSAGE>
</JOB>
</JOB_OUTPUT>
Copyright © 2011-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback