pipedrive / client-php

Pipedrive API client for PHP
MIT License
48 stars 55 forks source link

MailThread does not hold additional data #12

Closed aistis- closed 1 month ago

aistis- commented 4 years ago

Hi! It seams src/Models/MailThread.php does not hold additionalData even API endpoint returns it. As a result pagination feature is missing from the endpoint when using the client.

See an example of existed pagination: https://github.com/pipedrive/client-php/blob/master/src/Models/GetDeals.php#L69

DenisButCheR commented 4 years ago

Hello @aistis- . Can you please provide more detailed information about your problem with some code examples and response messages? Thanks for your feedback!

aistis- commented 4 years ago

Hi. I no longer work on the topic. However, Even API response returns additionalData from API, it is not expose at MailThread model in jsonSerialize() function.

In my case, I override the entire MailThread class adding custom jsonSerialize() method.