All URIs are relative to https://esi.evetech.net/latest
Method | HTTP request | Description |
---|---|---|
deleteCharactersCharacterIdContacts | DELETE /characters/{character_id}/contacts/ | Delete contacts |
getAlliancesAllianceIdContacts | GET /alliances/{alliance_id}/contacts/ | Get alliance contacts |
getAlliancesAllianceIdContactsLabels | GET /alliances/{alliance_id}/contacts/labels/ | Get alliance contact labels |
getCharactersCharacterIdContacts | GET /characters/{character_id}/contacts/ | Get contacts |
getCharactersCharacterIdContactsLabels | GET /characters/{character_id}/contacts/labels/ | Get contact labels |
getCorporationsCorporationIdContacts | GET /corporations/{corporation_id}/contacts/ | Get corporation contacts |
getCorporationsCorporationIdContactsLabels | GET /corporations/{corporation_id}/contacts/labels/ | Get corporation contact labels |
postCharactersCharacterIdContacts | POST /characters/{character_id}/contacts/ | Add contacts |
putCharactersCharacterIdContacts | PUT /characters/{character_id}/contacts/ | Edit contacts |
deleteCharactersCharacterIdContacts($character_id, $contact_ids, $datasource, $token)
Delete contacts
Bulk delete contacts --- Alternate route: /dev/characters/{character_id}/contacts/
Alternate route: /v2/characters/{character_id}/contacts/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\ContactsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$contact_ids = array(56); // int[] | A list of contacts to delete
$datasource = "tranquility"; // string | The server name you would like data from
$token = "token_example"; // string | Access token to use if unable to set a header
try {
$apiInstance->deleteCharactersCharacterIdContacts($character_id, $contact_ids, $datasource, $token);
} catch (Exception $e) {
echo 'Exception when calling ContactsApi->deleteCharactersCharacterIdContacts: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
contact_ids | int[] | A list of contacts to delete | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
token | string | Access token to use if unable to set a header | [optional] |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object[] getAlliancesAllianceIdContacts($alliance_id, $datasource, $if_none_match, $page, $token)
Get alliance contacts
Return contacts of an alliance --- Alternate route: /dev/alliances/{alliance_id}/contacts/
Alternate route: /v2/alliances/{alliance_id}/contacts/
--- This route is cached for up to 300 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\ContactsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$alliance_id = 56; // int | An EVE alliance ID
$datasource = "tranquility"; // string | The server name you would like data from
$if_none_match = "if_none_match_example"; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
$page = 1; // int | Which page of results to return
$token = "token_example"; // string | Access token to use if unable to set a header
try {
$result = $apiInstance->getAlliancesAllianceIdContacts($alliance_id, $datasource, $if_none_match, $page, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ContactsApi->getAlliancesAllianceIdContacts: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
alliance_id | int | An EVE alliance ID | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
page | int | Which page of results to return | [optional] [default to 1] |
token | string | Access token to use if unable to set a header | [optional] |
object[]
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object[] getAlliancesAllianceIdContactsLabels($alliance_id, $datasource, $if_none_match, $token)
Get alliance contact labels
Return custom labels for an alliance's contacts --- Alternate route: /dev/alliances/{alliance_id}/contacts/labels/
Alternate route: /legacy/alliances/{alliance_id}/contacts/labels/
Alternate route: /v1/alliances/{alliance_id}/contacts/labels/
--- This route is cached for up to 300 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\ContactsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$alliance_id = 56; // int | An EVE alliance ID
$datasource = "tranquility"; // string | The server name you would like data from
$if_none_match = "if_none_match_example"; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
$token = "token_example"; // string | Access token to use if unable to set a header
try {
$result = $apiInstance->getAlliancesAllianceIdContactsLabels($alliance_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ContactsApi->getAlliancesAllianceIdContactsLabels: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
alliance_id | int | An EVE alliance ID | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
token | string | Access token to use if unable to set a header | [optional] |
object[]
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object[] getCharactersCharacterIdContacts($character_id, $datasource, $if_none_match, $page, $token)
Get contacts
Return contacts of a character --- Alternate route: /dev/characters/{character_id}/contacts/
Alternate route: /v2/characters/{character_id}/contacts/
--- This route is cached for up to 300 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\ContactsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$datasource = "tranquility"; // string | The server name you would like data from
$if_none_match = "if_none_match_example"; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
$page = 1; // int | Which page of results to return
$token = "token_example"; // string | Access token to use if unable to set a header
try {
$result = $apiInstance->getCharactersCharacterIdContacts($character_id, $datasource, $if_none_match, $page, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ContactsApi->getCharactersCharacterIdContacts: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
page | int | Which page of results to return | [optional] [default to 1] |
token | string | Access token to use if unable to set a header | [optional] |
object[]
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object[] getCharactersCharacterIdContactsLabels($character_id, $datasource, $if_none_match, $token)
Get contact labels
Return custom labels for a character's contacts --- Alternate route: /dev/characters/{character_id}/contacts/labels/
Alternate route: /legacy/characters/{character_id}/contacts/labels/
Alternate route: /v1/characters/{character_id}/contacts/labels/
--- This route is cached for up to 300 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\ContactsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$datasource = "tranquility"; // string | The server name you would like data from
$if_none_match = "if_none_match_example"; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
$token = "token_example"; // string | Access token to use if unable to set a header
try {
$result = $apiInstance->getCharactersCharacterIdContactsLabels($character_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ContactsApi->getCharactersCharacterIdContactsLabels: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
token | string | Access token to use if unable to set a header | [optional] |
object[]
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object[] getCorporationsCorporationIdContacts($corporation_id, $datasource, $if_none_match, $page, $token)
Get corporation contacts
Return contacts of a corporation --- Alternate route: /dev/corporations/{corporation_id}/contacts/
Alternate route: /v2/corporations/{corporation_id}/contacts/
--- This route is cached for up to 300 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\ContactsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$corporation_id = 56; // int | An EVE corporation ID
$datasource = "tranquility"; // string | The server name you would like data from
$if_none_match = "if_none_match_example"; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
$page = 1; // int | Which page of results to return
$token = "token_example"; // string | Access token to use if unable to set a header
try {
$result = $apiInstance->getCorporationsCorporationIdContacts($corporation_id, $datasource, $if_none_match, $page, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ContactsApi->getCorporationsCorporationIdContacts: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | int | An EVE corporation ID | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
page | int | Which page of results to return | [optional] [default to 1] |
token | string | Access token to use if unable to set a header | [optional] |
object[]
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object[] getCorporationsCorporationIdContactsLabels($corporation_id, $datasource, $if_none_match, $token)
Get corporation contact labels
Return custom labels for a corporation's contacts --- Alternate route: /dev/corporations/{corporation_id}/contacts/labels/
Alternate route: /legacy/corporations/{corporation_id}/contacts/labels/
Alternate route: /v1/corporations/{corporation_id}/contacts/labels/
--- This route is cached for up to 300 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\ContactsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$corporation_id = 56; // int | An EVE corporation ID
$datasource = "tranquility"; // string | The server name you would like data from
$if_none_match = "if_none_match_example"; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
$token = "token_example"; // string | Access token to use if unable to set a header
try {
$result = $apiInstance->getCorporationsCorporationIdContactsLabels($corporation_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ContactsApi->getCorporationsCorporationIdContactsLabels: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | int | An EVE corporation ID | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
token | string | Access token to use if unable to set a header | [optional] |
object[]
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
int[] postCharactersCharacterIdContacts($character_id, $contact_ids, $standing, $datasource, $label_ids, $token, $watched)
Add contacts
Bulk add contacts with same settings --- Alternate route: /dev/characters/{character_id}/contacts/
Alternate route: /v2/characters/{character_id}/contacts/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\ContactsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$contact_ids = array(new \Swagger\Client\Model\int[]()); // int[] | A list of contacts
$standing = 3.4; // float | Standing for the contact
$datasource = "tranquility"; // string | The server name you would like data from
$label_ids = array(56); // int[] | Add custom labels to the new contact
$token = "token_example"; // string | Access token to use if unable to set a header
$watched = false; // bool | Whether the contact should be watched, note this is only effective on characters
try {
$result = $apiInstance->postCharactersCharacterIdContacts($character_id, $contact_ids, $standing, $datasource, $label_ids, $token, $watched);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ContactsApi->postCharactersCharacterIdContacts: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
contact_ids | int[] | A list of contacts | |
standing | float | Standing for the contact | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
label_ids | int[] | Add custom labels to the new contact | [optional] |
token | string | Access token to use if unable to set a header | [optional] |
watched | bool | Whether the contact should be watched, note this is only effective on characters | [optional] [default to false] |
int[]
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
putCharactersCharacterIdContacts($character_id, $contact_ids, $standing, $datasource, $label_ids, $token, $watched)
Edit contacts
Bulk edit contacts with same settings --- Alternate route: /dev/characters/{character_id}/contacts/
Alternate route: /v2/characters/{character_id}/contacts/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\ContactsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$contact_ids = array(new \Swagger\Client\Model\int[]()); // int[] | A list of contacts
$standing = 3.4; // float | Standing for the contact
$datasource = "tranquility"; // string | The server name you would like data from
$label_ids = array(56); // int[] | Add custom labels to the contact
$token = "token_example"; // string | Access token to use if unable to set a header
$watched = false; // bool | Whether the contact should be watched, note this is only effective on characters
try {
$apiInstance->putCharactersCharacterIdContacts($character_id, $contact_ids, $standing, $datasource, $label_ids, $token, $watched);
} catch (Exception $e) {
echo 'Exception when calling ContactsApi->putCharactersCharacterIdContacts: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
contact_ids | int[] | A list of contacts | |
standing | float | Standing for the contact | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
label_ids | int[] | Add custom labels to the contact | [optional] |
token | string | Access token to use if unable to set a header | [optional] |
watched | bool | Whether the contact should be watched, note this is only effective on characters | [optional] [default to false] |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]