{ "opencollection": "1.0.0", "info": { "name": "Service Fusion Open Calendar Tasks Contacts API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api.servicefusion.com/oauth/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Contacts", "type": "folder" }, "items": [ { "info": { "name": "List a customer's contacts", "type": "http" }, "http": { "method": "GET", "url": "https://api.servicefusion.com/v1/customers/:id/contacts", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Lists the contacts and service locations attached to a customer account." }, { "info": { "name": "Add a contact to a customer", "type": "http" }, "http": { "method": "POST", "url": "https://api.servicefusion.com/v1/customers/:id/contacts", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new contact under the given customer account." } ] } ], "bundled": true }