CA Process Automation kütüphanesindeki tüm başlatma istek formlarını almak için, CA Catalyst Kapsayıcısının içerdiği PAM REST API'sini çağırın.

{
sample : function()
{
var callBack = new Object();
callBack.onSuccess = function(result)
{
alert(result);
}
callBack.onFailure = function(caught)
{
alert(caught);
}
var headers = new Object();
var contentType="application/xml";
ca_pam_getDataFromRESTPostHTTPAuthentication('https://<hostName>:<PortNumber>/node/rest/CA:00074:01/_ops/QueryStartRequests',useName password,<requestBody>,contentType,true,headers,callBack);
}
}
İstek gövdesi şu şekildedir:
<QueryStartRequestFormsRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="p1:QueryStartRequestFormsRequest"
xmlns:p1="http://ns.ca.com/2011/09/pam-ops" >
<Filter>
<LookUpPath>/</LookUpPath>
<IsRecursive>true</IsRecursive>
</Filter>
</QueryStartRequestFormsRequest>
Komut dosyası, Anahtar Sözcük alanının onBlur etkinliğine göre çalışır. Başlatma istek formu, belirtilen sorgu gövdesine ve gerçekleştirilen REST isteğine göre alınır.
|
Telif Hakkı © 2013 CA.
Tüm hakları saklıdır.
|
|