6 use C4
::Items
qw( ModDateLastSeen );
11 my ($status, $cookie, $sessionId) = C4
::Auth
::check_api_auth
($input, { tools
=> 'inventory' });
12 exit unless ($status eq "ok");
15 my $seen = $input->param('seen');
16 my @seent = split(/\|/, $seen);
18 # mark seen if applicable (ie: coming form mark seen checkboxes)
20 /SEEN-(.+)/ and &ModDateLastSeen
($1);
23 print $input->header('application/json');