Skip to main content
Question

Issue Retrieving or Creating Approval Mapping Details via Custom Endpoint

  • February 17, 2025
  • 3 replies
  • 60 views

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.

3 replies

praveenpo
Semi-Pro II
Forum|alt.badge.img+3
  • Semi-Pro II
  • 99 replies
  • February 17, 2025

Hi ​@trishantp ,

Can you please share the request url you have used.


  • Author
  • Freshman I
  • 2 replies
  • February 17, 2025

Hi ​@praveenpo,

This is the request URL I am using on postman.

http://localhost/AcumaticaT100//entity/TEST/24.200.001/ApprovalRouting/?$filter=ApprovalMap eq 3&$expand=Conditions,Steps


  • Author
  • Freshman I
  • 2 replies
  • March 3, 2025

Hi everyone, following up on my earlier question I'm specifically facing issues retrieving the steps, rules, and conditions associated with the maps. Has anyone encountered this before or found a solution? Any guidance would be greatly appreciated.

Thanks in advance!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings