{ "opencollection": "1.0.0", "info": { "name": "Magaya API (Modeled) Invoices API", "version": "0.1-modeled" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Invoices", "type": "folder" }, "items": [ { "info": { "name": "List invoices", "type": "http" }, "http": { "method": "GET", "url": "https://SYSTEMID.magayacloud.com/api/invoices", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Maximum number of records to return." }, { "name": "offset", "value": "", "type": "query", "description": "Number of records to skip for pagination." } ] }, "docs": "List invoices" }, { "info": { "name": "Create an invoice", "type": "http" }, "http": { "method": "POST", "url": "https://SYSTEMID.magayacloud.com/api/invoices", "body": { "type": "json", "data": "{}" } }, "docs": "Create an invoice" }, { "info": { "name": "Retrieve an invoice", "type": "http" }, "http": { "method": "GET", "url": "https://SYSTEMID.magayacloud.com/api/invoices/:guid", "params": [ { "name": "guid", "value": "", "type": "path", "description": "The Magaya object GUID identifying the record." } ] }, "docs": "Retrieve an invoice" } ] } ], "bundled": true }