public function scanIn(Library $library, $circ_desk = 'DEFAULT_CIRC_DESK', $params = [])
    {
        $params['op'] = 'scan';
        $params['library'] = $library->code;
        $params['circ_desk'] = $circ_desk;

        $data = $this->client->postJSON($this->url('', $params));

        return ScanInResponse::make($this->client, $data);
    }
public function scanIn(Library $library, $circ_desk = 'DEFAULT_CIRC_DESK', $params = [])
    {
        $params['op'] = 'scan';
        $params['library'] = $library->code;
        $params['circ_desk'] = $circ_desk;

        $data = $this->client->postJSON($this->url('', $params));

        return ScanInResponse::make($this->client, $data);
    }
public function scanIn ( Library $ library , $ circ_desk = 'DEFAULT_CIRC_DESK' , $ params = [ ] ) { $ params [ 'op' ] = 'scan' ; $ params [ 'library' ] = $ library -> code ; $ params [ 'circ_desk' ] = $ circ_desk ; $ data = $ this -> client -> postJSON ( $ this -> url ( '' , $ params ) ) ; return ScanInResponse :: make ( $ this -> client , $ data ) ; }
Perform scan-in on item.

@param Library $library
@param string  $circ_desk
@param array   $params

@throws \Scriptotek\Alma\Exception\RequestFailed

@return ScanInResponse
Perform scan - in on item .