10-21-2010 06:45 AM
10-22-2010 05:29 AM
var myPerson = {
"userName":"test1",
"password":"password",
"firstName":"Test",
"lastName":"User",
"email":"test@test.net",
"disableAccount":false,
"quota":-1,
"groups":[]
};
To call an API like this from a WebScript component JavaScript controller in Share is easy:
var json = jsonUtils.toJSONString(myPerson);
var conn = remote.connect("alfresco");
conn.post("/api/people", json, "application/json");
And that's it!10-25-2010 12:21 AM
10-25-2010 12:22 AM
10-25-2010 06:21 AM
10-26-2010 01:39 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.