How to pass timezone in api call?

Hi,

We just staretd using piwik. We want to pass timezone in the api call to add a idSite. we tried this:

…&timezone=‘America/Chicago’&…

But it did not work. We tried to find an example from piwik documenttation, but did not.

Can someone provide some sample code on this?

Thanks,
SoftDev

Try this: &timezone=America%2FChicago

(without quotes and the value must be URL encoded)