Bir görevi Görev kimliğiyle iade edebilirsiniz.
Örneğin, şu adrese bir HTTP POST isteği gönderin:
http://<hostname>:7000/node/rest/CA:00074_CA:00074:01/_ops/ReturnTask
Bir istek başlığı ekleyin:
Content-Type=application/xml
Örneğin:
<ReturnTaskRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="p1:ReturnTaskRequest"
xmlns:p1="http://ns.ca.com/2011/09/pam-ops" >
<TaskID>510</TaskID>
</ReturnTaskRequest>
Yanıt:
<?xml version="1.0" encoding="utf-8"?>
<pam-ops:ReturnTaskResponse xmlns:pam-ops="http://ns.ca.com/2011/09/pam-ops"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="pam-ops:ReturnTaskResponse">
<Task>
<TaskID>510</TaskID>
<ProcessID>505</ProcessID>
<State>Pending</State>
<Instance>TestIRFPrompt_505</Instance>
<Title>Assign title</Title>
<Description>Assign description 1</Description>
<StartTime>2012-06-01T17:37:08.000Z</StartTime>
<RootUUID>eba34640-5de1-4e73-ab28-e312a1ef35fa</RootUUID>
<IsApprovalRequired>true</IsApprovalRequired>
<Pages>
<HasComplexType>false</HasComplexType>
<Page>
<Name>TestPage</Name>
<Param>
<Name>Var_0</Name>
<Label>TextField1</Label>
<Description/>
<IsReadOnly>false</IsReadOnly>
<Type>String</Type>
</Param>
<Param>
<Name>Var_1</Name>
<Label>Check Box</Label>
<Description/>
<IsReadOnly>false</IsReadOnly>
<Type>Boolean</Type>
</Param>
<Param>
<Name>Var_2</Name>
<Label>Select</Label>
<Description/>
<IsReadOnly>false</IsReadOnly>
<Type>String</Type>
</Param>
</Page>
<Page>
<Name>User Prompt</Name>
</Page>
<Page>
<Name>System</Name>
</Page>
</Pages>
<Assignees>
|
Telif Hakkı © 2013 CA.
Tüm hakları saklıdır.
|
|