{ "opencollection": "1.0.0", "info": { "name": "Automile ClientApi ResourceOwnerCompanyContacts API", "version": "v1" }, "items": [ { "info": { "name": "ResourceOwnerCompanyContacts", "type": "folder" }, "items": [ { "info": { "name": "Get a list of all company contacts that user is associated with", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/resourceowner/companycontact" }, "docs": "Only company contacts that the user is associated with will be returned by this operation." }, { "info": { "name": "Creates a new company contact and associates it with user", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/resourceowner/companycontact" }, "docs": "The user only has access to contacts that it is associated with through the company" }, { "info": { "name": "Get the company contact relationship", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/resourceowner/companycontact/:companyContactId", "params": [ { "name": "companyContactId", "value": "", "type": "path", "description": "The company contact id" } ] }, "docs": "Only company contcats that the user has access to are accessible." }, { "info": { "name": "Updates the given companycontact id", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v1/resourceowner/companycontact/:companyContactIdToEdit", "params": [ { "name": "companyContactIdToEdit", "value": "", "type": "path", "description": "The company contact that should be updated" } ] }, "docs": "This will update the company contact with the new model." }, { "info": { "name": "Removes the given company contact", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/resourceowner/companycontact/:companyContactIdToDelete", "params": [ { "name": "companyContactIdToDelete", "value": "", "type": "path", "description": "The company contact id to remove" } ] }, "docs": "This will delete the given company contact." } ] } ], "bundled": true }