{ "opencollection": "1.0.0", "info": { "name": "Provet Cloud REST Appointments Clients API", "version": "0.1" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://provetcloud.com/0/oauth2/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Clients", "type": "folder" }, "items": [ { "info": { "name": "List clients", "type": "http" }, "http": { "method": "GET", "url": "https://provetcloud.com/{provet_id}/api/0.1/client/", "params": [ { "name": "firstname", "value": "", "type": "query" }, { "name": "lastname", "value": "", "type": "query" }, { "name": "email", "value": "", "type": "query" }, { "name": "archived", "value": "", "type": "query" } ] }, "docs": "Fetch clients with optional filters such as firstname, lastname, organization name, email, phone number, and archived status. Confirmed in the Clients & Patients how-to." }, { "info": { "name": "Create a client", "type": "http" }, "http": { "method": "POST", "url": "https://provetcloud.com/{provet_id}/api/0.1/client/", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new client record (name, email, country, customer type)." }, { "info": { "name": "Update a client", "type": "http" }, "http": { "method": "PATCH", "url": "https://provetcloud.com/{provet_id}/api/0.1/client/:id/", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Patch specific client fields such as email or communication preferences." }, { "info": { "name": "Get client custom field values", "type": "http" }, "http": { "method": "GET", "url": "https://provetcloud.com/{provet_id}/api/0.1/client/:id/custom_field_values/", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get client custom field values" }, { "info": { "name": "Set client custom field values", "type": "http" }, "http": { "method": "POST", "url": "https://provetcloud.com/{provet_id}/api/0.1/client/:id/custom_field_values/", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Set client custom field values" }, { "info": { "name": "List phone numbers", "type": "http" }, "http": { "method": "GET", "url": "https://provetcloud.com/{provet_id}/api/0.1/phonenumber/" }, "docs": "List phone numbers associated with a client." }, { "info": { "name": "Add a phone number", "type": "http" }, "http": { "method": "POST", "url": "https://provetcloud.com/{provet_id}/api/0.1/phonenumber/" }, "docs": "Add a phone number to a client record." } ] } ], "bundled": true }