XML-RPC API for NextERP

Perhaps I’m not referencing the correct documentation, but I’m not seeing that NextERP explicitly supports XML-RPC, specifically. Is that correct?

ERPNext doesn’t support XML-RPC. Where with XML-RPC you would post the following data to the API endpoint …

<?xml version="1.0"?>
<methodCall>
  <methodName>examples.getStateName</methodName>
  <params>
    <param>
        <value><i4>40</i4></value>
    </param>
  </params>
</methodCall>

… with ERPNext you would send the following request:

GET /api/method/example.get_state_name?value=4

The answer will usually be a JSON object.

1 Like

ahhh, thx.