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_invoice
rest_api_sales_invoice
REST API for SALES INVOICE data
GET
View all sales invoices in XML format
https://localhost:3000/{databasename}/sales_invoices.xml?token=123
View all sales invoices in JSON format
https://localhost:3000/{databasename}/sales_invoices.json?token=123
View single sales invoice in XML format
https://localhost:3000/{databasename}/{sales_invoice_id}.xml?token=123
View single sales invoice in JSON format
https://localhost:3000/{databasename}/{sales_invoice_id}.json?token=123
View single sales invoice in PDF format
https://localhost:3000/{databasename}/{sales_invoice_id}.pdf?token=123
UPDATE
Add or update sales invoice with XML from command line
curl -X POST -H "Content-Type: application/xml" -d @sales_invoice.xml https://localhost:3000/{databasename}/sales_invoice?token=123
Add or update sales invoice with JSON from command line
curl -X POST -H "Content-Type: application/xml" -d @sales_invoice.json https://localhost:3000/{databasename}/sales_invoice?token=123
DELETE
Delete sales invoice from command line
curl -X DELETE -H "Content-Type: application/xml" -d @sales_invoice.xml https://localhost:3000/{databasename}/{sales_invoice_id}?token=123
rest_api_sales_invoice.txt
· Last modified: 2024/09/25 06:21 by
127.0.0.1
Page Tools
Show pagesource
Old revisions
Backlinks
Back to top
Import