Krishopper, many thanks for that I believe I am so close now! When formatting the preauth using a non admin account I am ending up with an array that looks like
Code:
Array
(
[Header] => Array
(
[_jsns] => urn:zimbraAccount
)
[Body] => Array
(
[AuthRequest] => Array
(
[_jsns] => urn:zimbraAccount
[account] => uxbod@domain.com
[preauth timestamp=1272612560000 expires=0] => Array
(
[_content] => 525b9ace76ac211077032e404c695b93ff00ee12
)
)
)
) Does that looks right ? I know that if you were doing it via XML the preauth field should look like
Code:
<preauth timestamp="1272612560000" expires="0">525b9ace76ac211077032e404c695b93ff00ee12</preauth>
And I am thinking that my array for JSON encoding is not quite right yet ?