public function Get_ILO4_Details($IPv4Addr, $user_name, $password)
{
$IPv4Addr = '192.168.1.2';
$user_name = 'Administrator';
$password = 'iLO 5 Password';
$contentType = "application/json";
$contentType = "application/json";
$wsapi_url = 'https://' . $IPv4Addr . '/rest/v1/Systems/1';
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL,$wsapi_url);
curl_setopt($ch, CURLOPT_HTTPHEADER, Array('GET /rest/v1/Systems/1 HTTP/1.1 -H')); // -H
curl_setopt($ch, CURLOPT_HTTPHEADER, Array('Accept: ' . $contentType)); // -H
curl_setopt($ch, CURLOPT_HTTPHEADER, Array('Content-Type: application/json'));
curl_setopt($ch, CURLOPT_USERNAME, $User_name);
curl_setopt($ch, CURLOPT_PASSWORD, $Password);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); //FALSE outputs the responce to the page - TRUE outputs responce to as string
curl_setopt($ch, CURLOPT_BINARYTRANSFER, TRUE); // --data-binary
curl_setopt($ch, CURLOPT_VERBOSE, TRUE);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
$errors = curl_error($ch);
$response = curl_exec($ch);
$response = json_decode($response, true);
return $response;
}