I have an api reference at http://manuals.kerio.com/connect/api/en/reference/interface_users.html#ae91a3b16262c8a873d1c73b53e0e45b4 that contains the following:
void Users::get (out UserList list,
out long totalItems,
in kerio::web::SearchQuery query,
in kerio::web::KId domainId
)
I hope to get a return (the outs) by passing this JSON string:
{
"jsonrpc":"2.0",
"id":1,
"method":"Users.get",
"params": {
"query":{"fields":["name","walters"]},
"domainId":"<cfoutput>#request.keriodomainid#</cfoutput>"
}
}
I can't find anything in the API that would indicate this would be correct or incorrect.
As this is my first experience with JSON and with this API, I was wondering if anyone would have an idea of proper format, or if anyone could find information in that API that would indicate how the information should appear.
I have posted this on the Kerio Connect forum, but have not received a response after many views. http://forums.kerio.com/t/21132/get-users-with-api/
What would JSON do?