I'm in the process of extending my Vtiger (V7) class to include all supported methods. I'm stuck on getting the extendsession call to work. According to the website I have to POST to:
http://vtiger_url/webservice.php?operation=extendsession
Every try fails with:
{
"success": false,
"error":
{
"code": "AUTHENTICATION_REQUIRED",
"message": "Authencation required"
}
}
This is my current code:
private const string UrlSegmentOperation = "webservice.php?operation=";
private const string OperationExtendSession = "extendsession";
RestClient client = new RestClient(baseUrl + UrlSegmentOperation + OperationExtendSession);
RestRequest request = new RestRequest(Method.POST);
IRestResponse restResponse = client.Execute(request);
So far I have tried GET, POST, with sessionname, username and both but still I get the same result.
Is it something that I may not have rights for? I'm supposed to have an ADMIN user and all other calls work flawlessly.