Discussions

Ask a Question

Possible OpenAPI spec amendments?

Hi, I've come across a few possible inaccuracies in the [OpenAPI spec](https://github.com/CompanyCam/openapi-spec). I use it for unit testing my [Python client](https://github.com/ely-as/python-companycam), and the following discrepancies bubbled up from failed tests: Paths: - `deleteProjectLabel`: The [success response](https://github.com/CompanyCam/openapi-spec/blob/b60e8f0aa90ae8293fad9e39f02e15d3e77f77bb/openapi.yaml#L1350) is `204 No Content`, but the API returns a list of (updated) `Tag` objects. Components: - `Photo` has a [property named `urls`](https://github.com/CompanyCam/openapi-spec/blob/b60e8f0aa90ae8293fad9e39f02e15d3e77f77bb/openapi.yaml#L3005), but the API returns a property named `uris`. - `ImageURI` has a [property named `uri`](https://github.com/CompanyCam/openapi-spec/blob/b60e8f0aa90ae8293fad9e39f02e15d3e77f77bb/openapi.yaml#L3169), but the API returns a property named `url`.

Missing Project ID in Comments Webhook JSON.

I am missing the Project ID when my comments Webhook fires it JSON. Without the link I am not able to attach it to the project.
ANSWERED

Update Group API Not Working

I tried to test the Update Group API to add the users to the group but the response was coming "Internal server error, try again shortly."

Un-delete a project?

I deleted some projects, not knowing the link to the photos would no longer work. Is there a way to un-delete a project, or is there a trash somewhere?

Photo Description Question

I do not see the Photo description being available in the API. Is there a way to integrate and pull the description?

Updated API Guide?

Is there an updated guide or resource that is more accurate? I'm running into constant issues with info provided in the API guide and support answers with very non-answer asking for screenshots etc. I.e. -List All Users --Query (An optional value to filter the projects by name and address line 1) ---I'm not filtering projects --modified_since (An ISO8601 formatted date and time to return projects modified on or after the provided value) ---On another record type this is actually required in EPOCH format. But I'm not able to get this one to work in either. -List Projects --Query (An optional value to filter the projects by name and address line 1) ---This flat out does not work. I've tried every variation of line one and name --modified_since (An ISO8601 formatted date and time to return projects modified on or after the provided value) ---On another record type this is actually required in EPOCH format. In Epoch format, I get a server error. In ISO8601 it does not work. -List Photos - start_date (An ISO8601 formatted date and time to return projects modified on or after the provided value) -- Says ISO8601 but is actual EPOCH I've spent days trying to work through this stuff and am currently hung on the modified_since info on projects and users.

Distinguish Project photo and photo comment update

Hi CompanyCam, We are currently implementing integration with your api. The project photo list response has updated_at timestamp, we are doing image re-downloads if the photo was updated. We recently noticed that this timestamp also gets updated when new comments are added to the photo. What is the best way to find if photo was not updated, but just new comments were added? Thanks.

Share photos link through API

Currently in CompanyCam we have a process where we select all the photos from a certain day, click share, then click gallery, then we copy the link that is created. Is there a way to have that link generated through the API?

Correlation between "Before" photos and "After" photos?

Is there anything in place when creating a "Before and After" photo that stores any reference to the original "Before" and "After" photo? Yes, we can see it visually in the interface, but is there any way to tell programmatically? Thanks, Dion
ANSWERED

API - Update or Create Project - Integrations

Is there an api which allows the addition of a Project Integration object to a project? Or plans to add to Create or Update Project if not? I attempted this in the body of the Update Project call, the address updated but integrations did not. { "address": { "street_address_1": "123 Test", "street_address_2": "apt 2" }, "integrations": [ { "type": "CRM", "relation_id": "4024df9e-5808-ed11-82e4-002248080f6f" } ] } Thanks!