Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
curl --silent --insecure -XPOST --data "data=`cat sample.json`" "https://api2.profitconnect.nl/api/afas/profit/update/xml.php/queue:c2118019ca554/connector:KnOrganisation/"

 

Reponse statuscodes

StatuscodeBetekenis
200Connector Call OK
300Queued (for execution) OK
219Connector Call OK (But retry was needed)
501Unknown Queue: hash unset or invalid
502Unknown connector: unset or invalid
503Plugin cannot be found in Customer Namespace
504Invalid Plugin
505Remote address (IP address) invalid for chosen endpoint
514Plugin generates Exception
620Queue not found or disabled, or record locked
700XML Post-var 'data' unset, no plugin+data parameter
701XML POST-var 'data' empty
702XML POST-var contains invalid XML
703Cannot retrieve Queue-data (or previously processed) WORKER
704Cannot retrieve Queue-data (or previously processed) API
800Profit Exception (Error message from AFAS Profit)