skip to content
International SQL-Ledger Network Association
User Tools
Register
Log In
Site Tools
Search
Tools
Show pagesource
Old revisions
Backlinks
Import
Recent Changes
Media Manager
Sitemap
Register
Log In
>
Recent Changes
Media Manager
Sitemap
Trace:
•
rest_api_sales_orders
rest_api_sales_orders
REST API for SALES ORDER data
GET
View all sales orders in XML format
https://localhost:3000/{databasename}/sales_orders.xml?token=123
View all sales orders in JSON format
https://localhost:3000/{databasename}/sales_orders.json?token=123
View single sales order in XML format
https://localhost:3000/{databasename}/{sales_order_id}.xml?token=123
View single sales order in JSON format
https://localhost:3000/{databasename}/{sales_order_id}.json?token=123
View single sales order in PDF format
https://localhost:3000/{databasename}/{sales_order_id}.pdf?token=123
UPDATE
Add or update sales order with XML from command line
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
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
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.txt
· Last modified: 2024/09/25 06:21 by
127.0.0.1
Page Tools
Show pagesource
Old revisions
Backlinks
Back to top
Import