{ "opencollection": "1.0.0", "info": { "name": "Argyle Accounts Item Filters API", "version": "2.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Item Filters", "type": "folder" }, "items": [ { "info": { "name": "List all Item filters", "type": "http" }, "http": { "method": "GET", "url": "https://api.argyle.com/v2/item-filters", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Number of Item filters returned [per page](/api-guide/overview#pagination). Default: 10. Maximum: 200.\n" }, { "name": "cursor", "value": "", "type": "query", "description": "The URL returned in `next` or `previous` used to retrieve another [page](/api-guide/overview#pagination) of results." } ] }, "docs": "Returns a paginated list of all Item filters." }, { "info": { "name": "Create an Item filter", "type": "http" }, "http": { "method": "POST", "url": "https://api.argyle.com/v2/item-filters", "body": { "type": "json", "data": "{}" } }, "docs": "Filters are applied to properties of the `field_coverage` object of [Items](/api-reference/items#object) using the comparison operators below. You can also filter Items by their `status` property using the `eq` operator.\n\nThe name and ID of the new Item filter are returned in the response, which can be used as a query parameter when [listing Items](/api-reference/items#list).\n\n## Comparison operators\n\n`eq` — equals \n`gt` — greater than \n`gte` — greater than or equal to \n`lt` — less than \n`lt" }, { "info": { "name": "Retrieve an Item filter", "type": "http" }, "http": { "method": "GET", "url": "https://api.argyle.com/v2/item-filters/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Item filter to be retrieved." } ] }, "docs": "Retrieves an Item filter." }, { "info": { "name": "Replace an Item filter", "type": "http" }, "http": { "method": "PUT", "url": "https://api.argyle.com/v2/item-filters/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Item filter whose filters are to be replaced." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replaces the filters of an Item filter with a new set of filters." }, { "info": { "name": "Delete an Item filter", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.argyle.com/v2/item-filters/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Item filter to be deleted." } ] }, "docs": "Deletes an Item filter." } ] } ], "bundled": true }