08-13-2012 03:02 PM
ticket was generated from:
/alfresco/service/api/login?u=adminyser&pwd=adminpass
function addperson(ticket){
var url = "/alfresco/service/api/people?alf_ticket="+ticket;
var userInfo = {userName : "testuser" , password: "testpassword" , firstName : "testfirst", lastName : "testlast", email : "testemail@test.com", disableAccount: false, quote: -1, groups: []};
$.ajax({
type: 'POST',
url: url,
data: JSON.stringify(userInfo) ,
dataType: 'json',
success: function (response) {
},
error: function (response) {
}
});
}
08-13-2012 06:38 PM
08-13-2012 07:10 PM
$.ajax({
type: 'POST',
url: url,
data: JSON.stringify(userInfo) ,
dataType: 'json',
contentType: 'application/json',
success: function (response) {
},
error: function (response) {
}
});
08-13-2012 07:17 PM
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.