{ "opencollection": "1.0.0", "info": { "name": "OwnerRez API v2 Bookings Fields API", "version": "2.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Fields", "type": "folder" }, "items": [ { "info": { "name": "List custom field values", "type": "http" }, "http": { "method": "GET", "url": "https://api.ownerrez.com/v2/fields", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Maximum number of items to return per page." }, { "name": "offset", "value": "", "type": "query", "description": "Number of items to skip for pagination." } ] }, "docs": "Returns custom field values attached to records." }, { "info": { "name": "Create a custom field value", "type": "http" }, "http": { "method": "POST", "url": "https://api.ownerrez.com/v2/fields", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a custom field value on a record." }, { "info": { "name": "Retrieve a custom field value", "type": "http" }, "http": { "method": "GET", "url": "https://api.ownerrez.com/v2/fields/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Retrieves a single custom field value by identifier." }, { "info": { "name": "Update a custom field value", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.ownerrez.com/v2/fields/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a custom field value." }, { "info": { "name": "Delete a custom field value", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.ownerrez.com/v2/fields/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Deletes a custom field value." }, { "info": { "name": "Delete field values by definition", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.ownerrez.com/v2/fields/bydefinition", "params": [ { "name": "field_definition_id", "value": "", "type": "query" }, { "name": "entity_id", "value": "", "type": "query" } ] }, "docs": "Deletes custom field values matching a field definition and target record supplied as query parameters." } ] } ], "bundled": true }