It seems the problem is in a way how does getAllDeals() method transforms the API response. If I change the highlighted line to
return CamelCaseHelper::keysToCamelCase($response->body);
(borrowed that from getAllOrganizations() ) I’m getting unfiltered response…
However, very strange to have such inconsistencies in similar controllers
I’m running into the same issue with DealsController::getDealsTimeline where $mapper->map removes custom fields. The proposed solution from petar above would work great for getDealsTimeline and other endpoints.
For now, I’ve had to write my own Guzzle HTTP requests to return the raw response. If you could fix this in the PHP package, it would be ver helpful!
unbelieveble, but this problem with PHP client is not solved after 3 years and many new versions of PHP client
But the difference with the actual client version is that I cannot borrow the solution from OrganizationsApi::getOrganization because it’s messed up there as well.
Please, give us the way to get values of deal custom fields using PHP client!