Question

2
Replies
247
Views
LoicM950 Member since 2018 29 posts
Louis Dreyfus Company
Posted: 1 year ago
Last activity: 1 year ago
Solved

Unable to Change Stage using PUT Update api

Hello,

We are trying to integrate with another system and want to allow that system to change the stage of our process.

We are not able to find what should be sent in the body of the request to use pyChangeStage actiondId.

Url look like this : https://pega/prweb/api/v1/cases/XWY-WORK OFFER-7?actionID=pyChangeStage

Content-Type, If-Match are defined and working.

Looking at the audit log of the case and by tracing the request we see that pyChangeStage is called but without any parameters.

For now the body look like this :

{
"content": {
"AuditNote": "Jumped because not needed anymore responded-Sush",
"UserAuditNote":"Jumped because not needed anymore responded-Sush",
"ChangeToStage": "Approval Rejection",
"pyGotoStage": "Approval Rejection",
"ChangeToNextStage": "goto"
}
}

Could you help us understand what should be sent?

Thank you,

Loïc

Pega Platform Data Integration
Share this page LinkedIn