getProduct ---------- http meetod: GET resurss: products/{:id} näidis url: http://{domain}/products/{:id}?token={:token} addProduct ---------- http meetod: POST resurss: products/{:id} näidis url: http://{domain}/products?token={:token} näidis json: {name, code} getProductList -------------- http meetod:GET resurss:products näidis url: http://{domain}/products?token={:token} getInvoice addInvoice getInvoiceList -------------- http meetod: GET resurss: invoices näidis url: http://{domain}/invoices?token={:token}&startDate={:date}&endDate={:date} getInvoiceProductList --------------------- http meetod: GET resurss: invoices/{:id}/products näidis url: http://{domain}/invoices/{:id}/products?token={:token} addInvoiceProduct ----------------- http meetod: HOST resurss: invoices/{:id}/products näidis url: http://{domain}/invoices/{:id}/products?token={:token}