====REST API for SALES ORDER data==== ^**__GET__** || |View all sales orders in XML format|[[:api:api_view_all_sales_orders_xml| https://localhost:3000/{databasename}/sales_orders.xml?token=123]]| |View all sales orders in JSON format|[[:api:api_view_all_sales_orders_json| https://localhost:3000/{databasename}/sales_orders.json?token=123]]| |View single sales order in XML format|[[:api:api_view_single_sales_order_xml| https://localhost:3000/{databasename}/{sales_order_id}.xml?token=123]]| |View single sales order in JSON format|[[:api:api_view_single_sales_order_json| https://localhost:3000/{databasename}/{sales_order_id}.json?token=123]]| |View single sales order in PDF format|[[:api:api_view_single_sales_order_pdf| https://localhost:3000/{databasename}/{sales_order_id}.pdf?token=123]]| ^**__UPDATE__** || |Add or update sales order with XML from command line|[[:api:api_update_sales_order_xml| curl -X POST -H "Content-Type: application/xml" -d @sales_order.xml https://localhost:3000/{databasename}/sales_order?token=123]]| |Add or update sales order with JSON from command line|[[:api:api_update_sales_order_json| curl -X POST -H "Content-Type: application/xml" -d @sales_order.json https://localhost:3000/{databasename}/sales_order?token=123]]| ^**__DELETE__** || |Delete sales order from command line|[[:api:api_delete_sales_order]| curl -X DELETE -H "Content-Type: application/xml" -d @sales_order.xml https://localhost:3000/{databasename}/{sales_order_id}?token=123]]|