{ "opencollection": "1.0.0", "info": { "name": "Automile ClientApi ResourceOwnerPlace3 API", "version": "v1" }, "items": [ { "info": { "name": "ResourceOwnerPlace3", "type": "folder" }, "items": [ { "info": { "name": "Gets all places for organization", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/resourceowner/place3" }, "docs": "Gets all places for organization" }, { "info": { "name": "Creates a new place for organization", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/resourceowner/place3" }, "docs": "This will create a new place and associate it with a number of vehicles.\r\n Only vehicles authorized for edit will be added to the place." }, { "info": { "name": "Gets place by placeid", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/resourceowner/place3/:placeId", "params": [ { "name": "placeId", "value": "", "type": "path", "description": "The Id of the place" } ] }, "docs": "Gets place by placeid" }, { "info": { "name": "Updates the given place with new model", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v1/resourceowner/place3/:placeId", "params": [ { "name": "placeId", "value": "", "type": "path", "description": "The place id" } ] }, "docs": "This will update information on an already existing place, as well as its vehicle connections.\r\n Vehicle connections to the place will be updated/added from the VehicleIds list if user has edit authorization to the vehicles.\r\n Already existing vehicle connections be removed if excluded in the VehicleIds list (if authorized to be edited).\r\n This will update the given place id with a new model." }, { "info": { "name": "Removes the given place", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/resourceowner/place3/:placeId", "params": [ { "name": "placeId", "value": "", "type": "path", "description": "The company id" } ] }, "docs": "This will remove the given trigger including all historic message belonging to this trigger." } ] } ], "bundled": true }