{ "opencollection": "1.0.0", "info": { "name": "EZRentOut Assets Locations API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "token", "value": "{{token}}", "placement": "header" } }, "items": [ { "info": { "name": "Locations", "type": "folder" }, "items": [ { "info": { "name": "List locations", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.ezrentout.com/locations.api", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for paginated list results (default 1)." } ] }, "docs": "List locations" }, { "info": { "name": "Create a location", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.ezrentout.com/locations.api", "body": { "type": "json", "data": "{}" } }, "docs": "Create a location" }, { "info": { "name": "Get location details", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.ezrentout.com/locations/:locationId.api", "params": [ { "name": "locationId", "value": "", "type": "path", "description": "The location ID." } ] }, "docs": "Get location details" }, { "info": { "name": "Update a location", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.ezrentout.com/locations/:locationId.api", "params": [ { "name": "locationId", "value": "", "type": "path", "description": "The location ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a location" } ] } ], "bundled": true }