Firebrand\Hail\Models\ApiObject::fetchForOrg
Fetch from Hail API for a specified Organisation
Signature
public function fetchForOrg(Client
$hail_api_client,
string
$org_id,
[FetchJob|null
$job = NULL,
[string
$request_params = NULL,
[boolean
$throw_errors = false]]] )
Parameters
$hail_api_client
—
object
- Hail Api Client to use for the fetch
$org_id
—
string
- Hail ID of the organisation to fetch from
$job
—
object
- If job is passed, the progress of the fetch will be updated in it
$request_params
—
string
- Additional request params to send to the Hail API
$throw_errors
—
boolean
- Enables error throwing
Errors/Exceptions
-