List Job Plans Web Service
This web service lists the job plans the calling user is entitled to see on the framework server: those owned by that user, those owned by one of their groups, and those marked "Public [all users]" - the same plans the Job Plans page shows them.
Each plan's planData is the plan definition as an escaped XML string. To read one plan with its pipelines as real XML or JSON structure, use getJobPlan instead.
Example request
GET http://localhost:8090/MidVision/ws/deployment/jobPlan/list HTTP/1.1 Accept-Encoding: gzip,deflate Authorization: ******************** Host: localhost:8090 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Example Response
<jobPlans>
<JobPlan>
<description>Execution of SCRIPS_DEMO_40 targets.</description>
<id>9</id>
<name>ScriptsDemo40</name>
<planData><![CDATA[<?xml version="1.0" encoding="UTF-8"?><JobPlanData>
<Pipeline>
<PipelineStep>
<OrchestrationJob>
<projectName>SCRIPT_DEMO_40</projectName>
<version>SCRIPT_DEMO_40-0.0.1</version>
<continueOnFailure>false</continueOnFailure>
<targetName>localhost_win.dev.Blue-Circle</targetName>
<envType live="false" name="Development"/>
</OrchestrationJob>
</PipelineStep>
</Pipeline>
<Pipeline>
<PipelineStep>
<OrchestrationJob>
<projectName>SCRIPT_DEMO_40</projectName>
<version>SCRIPT_DEMO_40-0.0.1</version>
<continueOnFailure>false</continueOnFailure>
<targetName>localhost_win.dev.Red-Square</targetName>
<envType live="false" name="Development"/>
</OrchestrationJob>
</PipelineStep>
</Pipeline>
</JobPlanData>]]></planData>
<securityName>mvadmin</securityName>
</JobPlan>
</jobPlans>