Question
Commonwealth Bank of Australia
AU
Last activity: 16 Oct 2018 12:03 EDT
Unable to upload Hotfix using Pega API via curl
I'm using the Pega api below to upload a Hotfix (SR-B70731) via curl command. But I'm getting an error stating "No DL found to install!" .
Input Request
curl -vvv -u username:***** -k -H "Content-Type: application/json" -X POST -d '{ "operation":"install","bypassSchema":"false","force":"true","async":"false"}' -d @DL-72910.zip https://pegaurl/prweb/PRRestService/SystemManagement/v2/Hotfix
Output
I'm using the Pega api below to upload a Hotfix (SR-B70731) via curl command. But I'm getting an error stating "No DL found to install!" .
Input Request
curl -vvv -u username:***** -k -H "Content-Type: application/json" -X POST -d '{ "operation":"install","bypassSchema":"false","force":"true","async":"false"}' -d @DL-72910.zip https://pegaurl/prweb/PRRestService/SystemManagement/v2/Hotfix
Output
< HTTP/1.1 100 Continue
< HTTP/1.1 200
< Server: nginx/1.12.1
< Date: Mon, 04 Sep 2017 02:11:04 GMT
< Content-Type: application/json;charset=UTF-8
< Content-Length: 630
< Connection: keep-alive
< Set-Cookie: JSESSIONID=728709C45F5D07C552AC1BC3ECF818E4;path=/prweb;HttpOnly
< X-WebProxy-Id: b2ab72347d03
<
{
"pxCommitDateTime":"2017-09-04T02:11:04.000Z"
,"pxCreateDateTime":"2017-09-04T02:11:03.823Z"
,"pxCreateOperator":"pegat2"
,"pxCreateOpName":"Administrator"
,"pxCreateSystemID":"pega"
,"pxInsName":"HOTFIXREQUEST-INSTALL5"
,"pxObjClass":"Log-PegaRemoteManagement-Hotfix"
,"pxSaveDateTime":"2017-09-04T02:11:04.253Z"
,"pxUpdateDateTime":"2017-09-04T02:11:03.821Z"
,"pxUpdateOpName":"pegat2"
,"pyJobID":"HOTFIXREQUEST-INSTALL5"
,"pyLabel":"HOTFIXREQUEST-INSTALL5"
,"pyOperation":"install"
,"pyStatusCode":"FAILED"
,"pzInsKey":"LOG-PEGAREMOTEMANAGEMENT-HOTFIX HOTFIXREQUEST-INSTALL5"
,"pyErrorList":[
"No DL found to install!"
]
}
***Edited by Moderator Marissa to update categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.