Başlatma istek formu göndermek için, QueryStartRequestForms yanıtında tanımlanan parametreleri kullanın.
Örneğin, şu adrese bir HTTP POST isteği gönderin:
http://<hostname>:7000/node/rest/CA:00074_CA:00074:01/_ops/SubmitStartRequestForm
Bir istek başlığı ekleyin:
Content-Type=application/xml
Örneğin:
<SubmitStartRequestFormRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="p1:SubmitStartRequestFormRequest"
xmlns:p1="http://ns.ca.com/2011/09/pam-ops" >
<Name>SRF</Name>
<Path>/TestSRF</Path>
<Arguments>
<Argument>
<Name>Var_0</Name>
<Value>val0</Value>
</Argument>
<Argument>
<Name>Var_1</Name>
<Value>true</Value>
</Argument>
<Argument>
<Name>Var_2</Name>
<Value>val2</Value>
</Argument>
</Arguments>
<Options>
<StartDate>startDate</StartDate>
<StartTime>startTime</StartTime>
</Options>
</SubmitStartRequestFormRequest>
Not:
StartDate ve StartTime için aşağıdaki biçimi kullanın:
Aşağıdaki örnekte gösterildiği gibi, SubmitStartRequestForm öğesinin yanıtı, başlatma isteği tanımlayıcısını içerir (örnekte kalın gösterilmiştir):
<?xml version="1.0" encoding="utf-8"?>
<pam-ops:SubmitStartRequestFormResponse xmlns:pam-ops="http://ns.ca.com/2011/09/pam-ops"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="pam-ops:SubmitStartRequestFormResponse">
<StartRequestStatus>
<InteractionID>1291</InteractionID>
<Instance>SRF_1291</Instance>
<State>Queued</State>
<Earliest-start-time>2012-06-14T15:52:05.341Z</Earliest-start-time>
<RefProcess>/TestSRF/TestProcess</RefProcess>
</StartRequestStatus>
</pam-ops:SubmitStartRequestFormResponse>
|
Telif Hakkı © 2013 CA.
Tüm hakları saklıdır.
|
|