Skip to content

Commit

Permalink
~ Details of Logged In User retrieve.
Browse files Browse the repository at this point in the history
  • Loading branch information
qadeersahmed committed Nov 17, 2022
1 parent cd2834b commit 9ad900d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Vtiger.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@ public function listTypes(): object
);
return $this->sendHttpRequest($data, 'GET');
}

public function userDetails(): object
{
$data = array(
'operation' => 'me',
'sessionName' => $this->sessionName
);
return $this->sendHttpRequest($data, 'GET');
}

public function retrieveRelated(string $id, string $targetLabel, string $targetModule): object
{
Expand Down

0 comments on commit 9ad900d

Please sign in to comment.