All URIs are relative to https://esi.tech.ccp.is/latest
Method | HTTP request | Description |
---|---|---|
deleteCharactersCharacterIdMailLabelsLabelId | DELETE /characters/{character_id}/mail/labels/{label_id}/ | Delete a mail label |
deleteCharactersCharacterIdMailMailId | DELETE /characters/{character_id}/mail/{mail_id}/ | Delete a mail |
getCharactersCharacterIdMail | GET /characters/{character_id}/mail/ | Return mail headers |
getCharactersCharacterIdMailLabels | GET /characters/{character_id}/mail/labels/ | Get mail labels and unread counts |
getCharactersCharacterIdMailLists | GET /characters/{character_id}/mail/lists/ | Return mailing list subscriptions |
getCharactersCharacterIdMailMailId | GET /characters/{character_id}/mail/{mail_id}/ | Return a mail |
postCharactersCharacterIdMail | POST /characters/{character_id}/mail/ | Send a new mail |
postCharactersCharacterIdMailLabels | POST /characters/{character_id}/mail/labels/ | Create a mail label |
putCharactersCharacterIdMailMailId | PUT /characters/{character_id}/mail/{mail_id}/ | Update metadata about a mail |
deleteCharactersCharacterIdMailLabelsLabelId($character_id, $label_id, $datasource, $token, $user_agent, $x_user_agent)
Delete a mail label
Delete a mail label --- Alternate route: /v1/characters/{character_id}/mail/labels/{label_id}/
Alternate route: /legacy/characters/{character_id}/mail/labels/{label_id}/
Alternate route: /dev/characters/{character_id}/mail/labels/{label_id}/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\MailApi(new \Http\Adapter\Guzzle6\Client());
$character_id = 56; // int | An EVE character ID
$label_id = 56; // int | An EVE label id
$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
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$api_instance->deleteCharactersCharacterIdMailLabelsLabelId($character_id, $label_id, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
echo 'Exception when calling MailApi->deleteCharactersCharacterIdMailLabelsLabelId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
label_id | int | An EVE label id | |
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] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteCharactersCharacterIdMailMailId($character_id, $mail_id, $datasource, $token, $user_agent, $x_user_agent)
Delete a mail
Delete a mail --- Alternate route: /v1/characters/{character_id}/mail/{mail_id}/
Alternate route: /legacy/characters/{character_id}/mail/{mail_id}/
Alternate route: /dev/characters/{character_id}/mail/{mail_id}/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\MailApi(new \Http\Adapter\Guzzle6\Client());
$character_id = 56; // int | An EVE character ID
$mail_id = 56; // int | An EVE mail ID
$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
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$api_instance->deleteCharactersCharacterIdMailMailId($character_id, $mail_id, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
echo 'Exception when calling MailApi->deleteCharactersCharacterIdMailMailId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
mail_id | int | An EVE mail ID | |
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] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetCharactersCharacterIdMail200Ok[] getCharactersCharacterIdMail($character_id, $datasource, $labels, $last_mail_id, $token, $user_agent, $x_user_agent)
Return mail headers
Return the 50 most recent mail headers belonging to the character that match the query criteria. Queries can be filtered by label, and last_mail_id can be used to paginate backwards. --- Alternate route: /v1/characters/{character_id}/mail/
Alternate route: /legacy/characters/{character_id}/mail/
Alternate route: /dev/characters/{character_id}/mail/
--- This route is cached for up to 30 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\MailApi(new \Http\Adapter\Guzzle6\Client());
$character_id = 56; // int | An EVE character ID
$datasource = "tranquility"; // string | The server name you would like data from
$labels = array(56); // int[] | Fetch only mails that match one or more of the given labels
$last_mail_id = 56; // int | List only mail with an ID lower than the given ID, if present
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$result = $api_instance->getCharactersCharacterIdMail($character_id, $datasource, $labels, $last_mail_id, $token, $user_agent, $x_user_agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MailApi->getCharactersCharacterIdMail: ', $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] |
labels | int[] | Fetch only mails that match one or more of the given labels | [optional] |
last_mail_id | int | List only mail with an ID lower than the given ID, if present | [optional] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
\Swagger\Client\Model\GetCharactersCharacterIdMail200Ok[]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetCharactersCharacterIdMailLabelsOk getCharactersCharacterIdMailLabels($character_id, $datasource, $token, $user_agent, $x_user_agent)
Get mail labels and unread counts
Return a list of the users mail labels, unread counts for each label and a total unread count. --- Alternate route: /v3/characters/{character_id}/mail/labels/
Alternate route: /dev/characters/{character_id}/mail/labels/
--- This route is cached for up to 30 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\MailApi(new \Http\Adapter\Guzzle6\Client());
$character_id = 56; // int | An EVE character ID
$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
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$result = $api_instance->getCharactersCharacterIdMailLabels($character_id, $datasource, $token, $user_agent, $x_user_agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MailApi->getCharactersCharacterIdMailLabels: ', $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] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
\Swagger\Client\Model\GetCharactersCharacterIdMailLabelsOk
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetCharactersCharacterIdMailLists200Ok[] getCharactersCharacterIdMailLists($character_id, $datasource, $token, $user_agent, $x_user_agent)
Return mailing list subscriptions
Return all mailing lists that the character is subscribed to --- Alternate route: /v1/characters/{character_id}/mail/lists/
Alternate route: /legacy/characters/{character_id}/mail/lists/
Alternate route: /dev/characters/{character_id}/mail/lists/
--- This route is cached for up to 120 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\MailApi(new \Http\Adapter\Guzzle6\Client());
$character_id = 56; // int | An EVE character ID
$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
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$result = $api_instance->getCharactersCharacterIdMailLists($character_id, $datasource, $token, $user_agent, $x_user_agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MailApi->getCharactersCharacterIdMailLists: ', $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] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
\Swagger\Client\Model\GetCharactersCharacterIdMailLists200Ok[]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetCharactersCharacterIdMailMailIdOk getCharactersCharacterIdMailMailId($character_id, $mail_id, $datasource, $token, $user_agent, $x_user_agent)
Return a mail
Return the contents of an EVE mail --- Alternate route: /v1/characters/{character_id}/mail/{mail_id}/
Alternate route: /legacy/characters/{character_id}/mail/{mail_id}/
Alternate route: /dev/characters/{character_id}/mail/{mail_id}/
--- This route is cached for up to 30 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\MailApi(new \Http\Adapter\Guzzle6\Client());
$character_id = 56; // int | An EVE character ID
$mail_id = 56; // int | An EVE mail ID
$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
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$result = $api_instance->getCharactersCharacterIdMailMailId($character_id, $mail_id, $datasource, $token, $user_agent, $x_user_agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MailApi->getCharactersCharacterIdMailMailId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
mail_id | int | An EVE mail ID | |
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] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
\Swagger\Client\Model\GetCharactersCharacterIdMailMailIdOk
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
int postCharactersCharacterIdMail($character_id, $mail, $datasource, $token, $user_agent, $x_user_agent)
Send a new mail
Create and send a new mail --- Alternate route: /v1/characters/{character_id}/mail/
Alternate route: /legacy/characters/{character_id}/mail/
Alternate route: /dev/characters/{character_id}/mail/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\MailApi(new \Http\Adapter\Guzzle6\Client());
$character_id = 56; // int | An EVE character ID
$mail = new \Swagger\Client\Model\PostCharactersCharacterIdMailMail(); // \Swagger\Client\Model\PostCharactersCharacterIdMailMail | The mail to send
$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
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$result = $api_instance->postCharactersCharacterIdMail($character_id, $mail, $datasource, $token, $user_agent, $x_user_agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MailApi->postCharactersCharacterIdMail: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
\Swagger\Client\Model\PostCharactersCharacterIdMailMail | The mail to send | ||
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] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
int
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
int postCharactersCharacterIdMailLabels($character_id, $datasource, $label, $token, $user_agent, $x_user_agent)
Create a mail label
Create a mail label --- Alternate route: /v2/characters/{character_id}/mail/labels/
Alternate route: /legacy/characters/{character_id}/mail/labels/
Alternate route: /dev/characters/{character_id}/mail/labels/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\MailApi(new \Http\Adapter\Guzzle6\Client());
$character_id = 56; // int | An EVE character ID
$datasource = "tranquility"; // string | The server name you would like data from
$label = new \Swagger\Client\Model\PostCharactersCharacterIdMailLabelsLabel(); // \Swagger\Client\Model\PostCharactersCharacterIdMailLabelsLabel | Label to create
$token = "token_example"; // string | Access token to use if unable to set a header
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$result = $api_instance->postCharactersCharacterIdMailLabels($character_id, $datasource, $label, $token, $user_agent, $x_user_agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MailApi->postCharactersCharacterIdMailLabels: ', $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] |
label | \Swagger\Client\Model\PostCharactersCharacterIdMailLabelsLabel | Label to create | [optional] |
token | string | Access token to use if unable to set a header | [optional] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
int
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
putCharactersCharacterIdMailMailId($character_id, $contents, $mail_id, $datasource, $token, $user_agent, $x_user_agent)
Update metadata about a mail
Update metadata about a mail --- Alternate route: /v1/characters/{character_id}/mail/{mail_id}/
Alternate route: /legacy/characters/{character_id}/mail/{mail_id}/
Alternate route: /dev/characters/{character_id}/mail/{mail_id}/
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\MailApi(new \Http\Adapter\Guzzle6\Client());
$character_id = 56; // int | An EVE character ID
$contents = new \Swagger\Client\Model\PutCharactersCharacterIdMailMailIdContents(); // \Swagger\Client\Model\PutCharactersCharacterIdMailMailIdContents | Data used to update the mail
$mail_id = 56; // int | An EVE mail ID
$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
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$api_instance->putCharactersCharacterIdMailMailId($character_id, $contents, $mail_id, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
echo 'Exception when calling MailApi->putCharactersCharacterIdMailMailId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
contents | \Swagger\Client\Model\PutCharactersCharacterIdMailMailIdContents | Data used to update the mail | |
mail_id | int | An EVE mail ID | |
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] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]