public function setKeyIsLost($cardNumber, $employeeId, $index = 1)
    {
        $result     = false;
        $cardNumber = $this->prepareKey($cardNumber);
        $this->addHeader();
        try {
            $result = $this->getSoap()->SetStatusOfAcsKeyAsLost([
                'keyNumber' => $cardNumber,
                'indexNumber' => $index,
                'employeeID' => $employeeId
            ]);
        } catch (\SoapFault $ex) {
            $this->logError();
        }
        return $result;
    }
public function setKeyIsLost($cardNumber, $employeeId, $index = 1)
    {
        $result     = false;
        $cardNumber = $this->prepareKey($cardNumber);
        $this->addHeader();
        try {
            $result = $this->getSoap()->SetStatusOfAcsKeyAsLost([
                'keyNumber' => $cardNumber,
                'indexNumber' => $index,
                'employeeID' => $employeeId
            ]);
        } catch (\SoapFault $ex) {
            $this->logError();
        }
        return $result;
    }
public function setKeyIsLost ( $ cardNumber , $ employeeId , $ index = 1 ) { $ result = false ; $ cardNumber = $ this -> prepareKey ( $ cardNumber ) ; $ this -> addHeader ( ) ; try { $ result = $ this -> getSoap ( ) -> SetStatusOfAcsKeyAsLost ( [ 'keyNumber' => $ cardNumber , 'indexNumber' => $ index , 'employeeID' => $ employeeId ] ) ; } catch ( \ SoapFault $ ex ) { $ this -> logError ( ) ; } return $ result ; }
Sets key's status

@param string $cardNumber
@param string $employeeId
@param integer $index
@return mixed
Sets key s status