Managing Master Data with webMethods OneData : Developing for webMethods OneData : API Functions and Web Services in OneData : Data Deployment Functions : executeSynchronousDeploymentJob
executeSynchronousDeploymentJob
This function performs the synchronous execution of a defined job and returns the job log as an XML file. The script files are sent as attachments.
Input Parameters
Repository
Optional. If you do not provide this parameter, the first repository from the list of available repositories is used.

User Id
Password
Optional. To be provided if service layer security is enabled.
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 Name
Required. Name of the job to be executed.

Incremental From Date
Incremental
To Date

Optional. Specify the from/to date.
Output Parameters
None.
Sample Input
RepositoryId = CAPITOL
UserId = admin
Password = 73ACD9A5972130B75066C82595A1FAE3
Schema Id = 2
Project Id = 1
JobName = TestSyncDeployJob
Sample Output
<?xml version="1.0" encoding="UTF-8"?>
<DATAEXCHANGE_JOB_OUTPUT>
<DATAEXCHANGE_JOB>
<REPOSITORY>CAPITOL</REPOSITORY>
<ONEDATA_VERSION>4.3.1</ONEDATA_VERSION>
<JOB_RUN_IDENTIFIER>855</JOB_RUN_IDENTIFIER>
<ID>4516</ID>
<NAME>TestSyncDeployJob</NAME>
<EXECUTIONDATE>2007-09-12 12:47:48.0</EXECUTIONDATE>
<DURATION>1</DURATION>
<RESULT>Completed Successfully</RESULT>
<RESULT_MESSAGE>All the job steps in the job completed successfully.
</RESULT_MESSAGE>
<DATAEXCHANGE_JOBSTEP>
<ID>4523</ID>
<NAME>TestSyncDeployJobStep</NAME>
<RESULT_MESSAGE>The job step TestSyncDeployJobStep completed
successfully. 1207 records were written successfully to the file.
</RESULT_MESSAGE>
<SUCCESSFUL_RECORDCOUNT>0</SUCCESSFUL_RECORDCOUNT>
<FAILURE_RECORDCOUNT>0</FAILURE_RECORDCOUNT>
</DATAEXCHANGE_JOBSTEP>
</DATAEXCHANGE_JOB>
</DATAEXCHANGE_JOB_OUTPUT>
Copyright © 2011-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback