Hello,
I’ve created a custom endpoint in Acumatica, but I’m encountering issues when trying to retrieve or manage the approval mapping details, specifically the approval steps and associated rules. Despite setting up the custom endpoint, I am unable to retrieve the step and rule details.
When I perform a GET request to the Approval Maps (EP205015) screen, I receive the following response:
{
"id": "3bdd9e49-3ae5-ef11-8220-a0481c0a4b38",
"rowNumber": 2,
"note": {
"value": ""
},
"ApprovalMap": {
"value": 3
},
"Conditions": [],
"EntityType": {
"value": "Purchase Orders"
},
"MapEntityType": {
"value": "PX.Objects.PO.POOrder"
},
"MapId": {
"value": 3
},
"MapName": {
"value": "Purchase order"
},
"Name": {
"value": "Purchase order"
},
"Steps": [],
"custom": {},
"_links": {
"self": "/AcumaticaT100/entity/TEST/24.200.001/ApprovalRouting/3bdd9e49-3ae5-ef11-8220-a0481c0a4b38",
"files:put": "/AcumaticaT100/entity/TEST/24.200.001/files/PX.Objects.EP.EPApprovalMapMaint/AssigmentMap/3bdd9e49-3ae5-ef11-8220-a0481c0a4b38/{filename}"
}
}
I have also attached a screenshot for the same approval map mentioned in the response above.

Despite receiving a response, the approval steps ("Steps": []) and conditions are not populated. I need assistance in understanding how I can retrieve the approval steps and rules through the custom endpoint.
I am using the standard custom endpoint creation process within the Acumatica API.

Any guidance or relevant documentation on how to correctly retrieve or manage approval steps and rules would be greatly appreciated.
Thank you in advance for your help.