Discussions
Keep getting "Internal server error, try again shortly"
In post requests to create a new project in zoho crm's deluge i keep getting a "Internal server error, try again shortly" error. This has worked for other scenarios so I don't know what the issue is. Please help if you know the issue.
header = Map();
header.put("accept", "application/json");
header.put("authorization", "Bearer -------------------------------------------");
header.put("content-type", "application/json");
address = Map();
address.put("street_address_1", street);
address.put("city", city);
address.put("state", state);
address.put("postal_code", zip);
projectDetails = Map();
projectDetails.put("name", fName + " " + lName);
projectDetails.put("address", address);
response = invokeurl
[
url: "https://api.companycam.com/v2/projects"
type: POST
parameters: projectDetails
headers: header
];
info response;
I know there is now a company cam integration with zoho but i would prefer to do it this way
Posted by null 19 days ago
GET Projects Retrieves Deleted Projects
Is it expected behavior for a GET request on the list projects route would return projects that have been deleted and if so is there a way to filter them out in the query?
Posted by Jake Scheele 2 months ago
Possible scope values for webhook endpoints
I can't find the possible scope values for the webhook create/update endpoints. Spent about 15 minutes - can someone tell me what they are?
This stuff should 100% be easy to find in the documentation
Posted by Bogdan 2 months ago
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`.
Posted by Elyas 3 months ago
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.
Posted by Tyler De Grand 3 months ago
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."
Posted by Anupam Dungdung 3 months ago
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?
Posted by Dave Archer 3 months ago
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?
Posted by Brian Hiatt 4 months ago
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.
Posted by Seth S 4 months ago
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.
Posted by Mantas 4 months ago