getResultForDeploymentJob
This web service returns the job log of asynchronous jobs. We provide the job token returned during the execution of the executeAsynchronousDeploymentJob service to retrieve the job log. The job log is returned as an XML file. The scripts are sent as an attachment.
Input Parameters
Repository | Optional. Defaults to the first repository from the list of available repositories if not provided. |
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 Token | Required. Job token returned by the executeAsynchronousDeploymentJob service. |
Output Parameters
None.
Sample Input
RepositoryId = CAPITOL
UserId = adminPassword = 73ACD9A5972130B75066C82595A1FAE3Schema Id = 2Project
Id = 1JobToken = 861
Sample Output
<?xml version="1.0" encoding="UTF-8"?>
<DATAEXCHANG E_JOB_OUTPUT>
<DATAEXCHANGE_JOB>
<REPOSITORY>CAPITOL</REPOSITORY>
<ONEDATA_VERSION>4.3.1</ONEDATA_VERSION>
<JOB_RUN_IDENTIFIER>861</JOB _RUN_IDENTIFIER>
<ID>4520</ID>
<NAME>TestAsyncD eployJob</NAME>
<EXECUTIONDATE> 2007-09-12 13:0 5:36.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>4524</ID>
<NAME>TestAsyncDeployJobStep</NAME>
<RESULT_MESSAGE>The job step TestAsyncDeployJobStep 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>