Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contact API Json deserialize issue #250

Open
nimeshvaghasiya opened this issue May 12, 2021 · 0 comments
Open

Contact API Json deserialize issue #250

nimeshvaghasiya opened this issue May 12, 2021 · 0 comments

Comments

@nimeshvaghasiya
Copy link

nimeshvaghasiya commented May 12, 2021

When there is no contacts found, it returns below json
{ "total": "0", "contacts": [] }

When record found, it returns
{ "total": "1", "contacts": { "1": { "isPublished": true, "dateAdded": "2021-05-01T09:37:07+00:00", "dateModified": "2021-05-06T13:22:35+00:00", .......... "id": 1, ] },

I have issue with deserialize "contacts": [] and "contacts": {} from same http request. For PHP it might be ok but with other language, it is having issue.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@nimeshvaghasiya nimeshvaghasiya changed the title Mautic Contact API Json deserialize issue Contact API Json deserialize issue May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant