You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 13, 2025. It is now read-only.
Some endpoints require additional information through the query string, or in the request body. These have to be set in the handle function before calling retrieve. Check https://esi.evetech.net/ui/#/ for what query sting and request body parameters are required.
Take this job, which adds contacts with a good standing.
namespace App\Jobs\Characters;
use App\Models\RefreshToken;
use LaravelEveTools\EveApi\Jobs\Contacts\Characters\AddContact;
class AddGoodContacts extends AddContact
{
/**
* @var int[]
*/
private array $contact_ids;
/**
* @var int[]
*/
private array $label_ids;
public function __construct(RefreshToken $token, array $contact_ids,array $label_ids = [])
{
$this->contact_ids = $contact_ids;
$this->label_ids = $label_ids;
parent::__construct($token);
}
public function handle()
{
$this->query_string['label_ids'] = $this->label_ids;
$this->query_string['standing'] = 5;
$this->request_body['contact_ids'] = $this->contact_ids;
$result = $this->retrieve();
}
}