Start a new topic

how to get lib_id for add user


I want to add a user in kotobee using API.

When I call the kotobee API then it displays below the message.


I think I am giving the wrong lib_id so can you please how and from where I can get the lib_id.


1 Comment

This is an example on how to do it using POST variables with PHP:

$curl = curl_init();curl_setopt_array($curl, array(  CURLOPT_RETURNTRANSFER => 1,  CURLOPT_URL => "",  CURLOPT_RETURNTRANSFER => true,  CURLOPT_SSL_VERIFYPEER => false,  CURLOPT_CUSTOMREQUEST => "POST",  CURLOPT_POST => true));$data = array();$data["serial"] = "1234-5678-9999-9999";$data["email"] = "";$data["pwd"] = "mysecretpwd";   //must be at least 6 characters$data["libid"] = "42";$data["active"] = "1";curl_setopt($curl, CURLOPT_POSTFIELDS, $data);$resp = curl_exec($curl);//echo $resp;     //in case you want to view the resultcurl_close($curl);

Login or Signup to post a comment