trbngr / infusio

Functional Infusionsoft API DSL for .NET
MIT License
4 stars 6 forks source link

GetContact not pushing optional_parameters correctly into the downstream request #19

Open dan-i-am opened 6 years ago

dan-i-am commented 6 years ago

It appears the issue is how the query parameter string is generated (specifically the query key optional_properties).

For example, if you specify "social_accounts", it would normally bring that collection back with the FullContact.

Through the API playground, the request looks like this:

https://api.infusionsoft.com/crm/rest/v1/contacts/298?optional_properties=social_accounts&access_token=yourtokenhererererere

Infusio's request looks something like this:

https://api.infusionsoft.com/crm/rest/v1/contacts/298?optionalProperties=social_accounts&access_token=yourtokenhererererere

trbngr commented 6 years ago

oh yeah. That should be pretty easy to fix. Good catch.

kurrekruts commented 6 years ago

take it this has not been fixed?