Open smileexx opened 6 years ago
queryParams gives you a possibility to make search request of Jobs with filters like $skip/$top/$filter. It's useful when you have more then 1000 jobs.
Short example:
function viewJobs( int $offset = 0, int $limit = 1000, string $filter = '' ) { $params = []; if( $offset ) { $params[ '$skip' ] = $offset; } if( $limit ) { $params[ '$top' ] = $limit; } else { $params[ '$top' ] = 1000; } if( $filter ) { $params[ '$filter' ] = $filter; } $listIterator = $this->restProxy->getJobList( $params ); } viewJobs( 1000, 0, "(false or (cast(State,'Edm.Int32') eq 0) or (cast(State,'Edm.Int32') eq 2) )" );
More about Jobs in official Docs
queryParams gives you a possibility to make search request of Jobs with filters like $skip/$top/$filter. It's useful when you have more then 1000 jobs.
Short example:
More about Jobs in official Docs