How can we improve Procore's Developer Experience?

API - Null Values and Hidden Elements

It appears that on some of the API results, JSON elements are being suppressed if there is no underlying value for the related field. This is causing inconsistencies between JSON records and adds a tremendous burden on us programmers to have to constantly trap for missing or new elements. If every record was consistent we could build our result set from the first record and move on confident that all subsequent rows will line up. Less programming and faster processing. I get that somewhere along the line it sounded like a good idea to save some extra bytes and not return a blank field element if there is no data but the amount of bytes saved I believe is negligible and causes a lot more work on the programmers who have to use your API. Ultimately, since we are the consumers of your API I think a priority should be made to make life easier on us more than anyone else.

3 votes
Sign in
Signed in as (Sign out)

We’ll send you updates on this idea

Robert VirgaRobert Virga shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base