{ "opencollection": "1.0.0", "info": { "name": "Smokeball Activity Codes Expenses API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Expenses", "type": "folder" }, "items": [ { "info": { "name": "Get expenses", "type": "http" }, "http": { "method": "GET", "url": "https://api.smokeball.com/matters/:matterId/expenses", "params": [ { "name": "matterId", "value": "", "type": "path" }, { "name": "Offset", "value": "", "type": "query" }, { "name": "Limit", "value": "", "type": "query" }, { "name": "UpdatedSince", "value": "", "type": "query", "description": "Returns expenses updated since a specified time (.net ticks representation of the UTC datetime)." } ] }, "docs": "Returns a list of expenses for the specified matter." }, { "info": { "name": "Create an expense", "type": "http" }, "http": { "method": "POST", "url": "https://api.smokeball.com/matters/:matterId/expenses", "params": [ { "name": "matterId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates an expense for the specified matter." }, { "info": { "name": "Get an expense", "type": "http" }, "http": { "method": "GET", "url": "https://api.smokeball.com/matters/:matterId/expenses/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "matterId", "value": "", "type": "path" } ] }, "docs": "Retrieves a specified expense." }, { "info": { "name": "Update an expense", "type": "http" }, "http": { "method": "PUT", "url": "https://api.smokeball.com/matters/:matterId/expenses/:id", "params": [ { "name": "matterId", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an expense for the specified matter." }, { "info": { "name": "Patch an expense", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.smokeball.com/matters/:matterId/expenses/:id", "params": [ { "name": "matterId", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Patches an expense for the specified matter." }, { "info": { "name": "Delete an expense", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.smokeball.com/matters/:matterId/expenses/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "matterId", "value": "", "type": "path" } ] }, "docs": "Deletes an expense." } ] } ], "bundled": true }