POApvMsg

Trying to approve purchase orders through rest api.
I did some trace files and saw this

Erp.Proxy.BO.POImpl
ChangeApproveSwitch

That method doesn’t seem to be available through rest.

I then looked at POApvMsg. Can’t get that to work.
Keep getting.

 "ErrorDetails": [
    {
      "Message": "Object reference not set to an instance of an object.",
      "Type": "Error",
      "Table": "POApvMsg",
      "Program": "Epicor.RESTApi.Common.dll",
      "Method": "ThrowUpdateExtException",
      "ColumnNumber": 17,
      "LineNumber": 27
    }
  ],

Anybody know the correct calls that are required to approve a PO.

Thanks in advance,

Regards,

Ron

Hey Ron,

If you look at the Swagger page, you have an OData version and an RPC version. You will find that method in the RPC version - which matches the Business Objects exactly.

Thanks

Thanks again. I see it now. Ugggg.
Appreciate the help.