User Tools

Site Tools


rest_api_sales_orders

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rest_api_sales_orders [2016/12/08 08:44] sweitmannrest_api_sales_orders [2016/12/08 08:59] (current) sweitmann
Line 1: Line 1:
 +====REST API for SALES ORDER data====
 +
 ^**__GET__** || ^**__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 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 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 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 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]]|+|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__** || ^**__UPDATE__** ||
-|Add or update **SALES ORDER** with XML from command line|[[:api:api_update_sales_order_xml|+|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]]| 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|+|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]]| curl -X POST -H "Content-Type: application/xml" -d @sales_order.json https://localhost:3000/{databasename}/sales_order?token=123]]|
 ^**__DELETE__** || ^**__DELETE__** ||
-|Delete **SALES ORDER** from command line|[[:api:api_delete_sales_order]|+|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]]| curl -X DELETE -H "Content-Type: application/xml" -d @sales_order.xml https://localhost:3000/{databasename}/{sales_order_id}?token=123]]|
rest_api_sales_orders.1481186691.txt.gz · Last modified: 2016/12/08 08:44 by sweitmann