01-13-2015 09:53 AM
01-13-2015 10:58 AM
01-14-2015 02:20 PM
01-14-2015 11:49 PM
01-15-2015 09:42 AM
01-19-2015 05:53 AM
$progress = $alfrescourl . "/alfresco/service/farthest-gate/fg-lga-progress-ticket?noderef=" . $row["noderef"];
$payloaddata = array("newstate" => "full", "nextstate" =>"$nextstate","nextstatedate" =>"$nextstagedate","message" => "Full rate uplift");
$payloaddataJSON = json_encode($payloaddata);
if($noupdate == false) {
$alfresco = new Alfresco($postUIDPWD, ALFRESCOURL."/share/page/dologin");
$data = $alfresco->get();
$headers = $alfresco->getHeaders();
if(!$alfresco->runpostwebscript($progress, $headers["JSESSIONID"], $getUIDPWD, $payloaddataJSON)) {
die("Failed to progress ticket discount to full in Alfresco. Code: " . $alfresco->httpstatuscode . " Message: " . $alfresco->errorMessage . "\n");
}
if($alfresco->httpstatuscode != 200) {
die("Failed to progress ticket discount to full. Code: " . $alfresco->httpstatuscode . "\n");
}
echo "d2f: Progressed " . $row["ticketserialnumber"] . " with noderef " . $row["noderef"] . "\n";
$alfresco = new Alfresco($postUIDPWD, $alfrescourl."/share/page/dologin");
$data = $alfresco->get();
$headers = $alfresco->getHeaders();
print $getMetaData = $alfrescourl . "/alfresco/service/api/metadata?shortQNames=true&nodeRef=" . $nodeRef;
print '<br/>';
if(!$alfresco->rungetwebscript($getMetaData, $headers["JSESSIONID"], $getUIDPWD)) {
die("Failed to get metadata from Alfresco. Code: " . $alfresco->httpstatuscode . " Message: " . $alfresco->errorMessage);
}
if($alfresco->httpstatuscode != 200) {
die("Failed to get metadata from Alfresco. Code: " . $alfresco->httpstatuscode);
}
$metadata = json_decode($alfresco->websrciptreponse);
01-21-2015 06:19 AM
cURL support enabled
cURL Information 7.19.7
Age 3
Features
AsynchDNS No
CharConv No
Debug No
GSS-Negotiate Yes
IDN Yes
IPv6 Yes
krb4 No
Largefile Yes
libz Yes
NTLM Yes
SPNEGO No
SSL Yes
SSPI No
Protocols tftp, ftp, telnet, dict, ldap, ldaps, http, file, https, ftps, scp, sftp
Host x86_64-redhat-linux-gnu
SSL Version NSS/3.16.2.3 Basic ECC
ZLib Version 1.2.3
libSSH Version libssh2/1.4.2
01-21-2015 12:56 PM
$$alfrescourl = "http://MYALFRESCOURL.com:8080";
$alfrescourl = "http://MYALFRESCOURL.com:8080";
01-22-2015 03:56 AM
01-23-2015 12:50 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.