Skip to content

Latest commit

 

History

History
292 lines (208 loc) · 12.9 KB

UserInterfaceApi.md

File metadata and controls

292 lines (208 loc) · 12.9 KB

Swagger\Client\UserInterfaceApi

All URIs are relative to https://esi.tech.ccp.is/latest

Method HTTP request Description
postUiAutopilotWaypoint POST /ui/autopilot/waypoint/ Set Autopilot Waypoint
postUiOpenwindowContract POST /ui/openwindow/contract/ Open Contract Window
postUiOpenwindowInformation POST /ui/openwindow/information/ Open Information Window
postUiOpenwindowMarketdetails POST /ui/openwindow/marketdetails/ Open Market Details
postUiOpenwindowNewmail POST /ui/openwindow/newmail/ Open New Mail Window

postUiAutopilotWaypoint

postUiAutopilotWaypoint($add_to_beginning, $clear_other_waypoints, $destination_id, $datasource, $token, $user_agent, $x_user_agent)

Set Autopilot Waypoint

Set a solar system as autopilot waypoint --- Alternate route: /v2/ui/autopilot/waypoint/ Alternate route: /dev/ui/autopilot/waypoint/

Example

<?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\UserInterfaceApi(new \Http\Adapter\Guzzle6\Client());
$add_to_beginning = false; // bool | Whether this solar system should be added to the beginning of all waypoints
$clear_other_waypoints = false; // bool | Whether clean other waypoints beforing adding this one
$destination_id = 789; // int | The destination to travel to, can be solar system, station or structure's 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->postUiAutopilotWaypoint($add_to_beginning, $clear_other_waypoints, $destination_id, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
    echo 'Exception when calling UserInterfaceApi->postUiAutopilotWaypoint: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
add_to_beginning bool Whether this solar system should be added to the beginning of all waypoints [default to false]
clear_other_waypoints bool Whether clean other waypoints beforing adding this one [default to false]
destination_id int The destination to travel to, can be solar system, station or structure's 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]

Return type

void (empty response body)

Authorization

evesso

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

postUiOpenwindowContract

postUiOpenwindowContract($contract_id, $datasource, $token, $user_agent, $x_user_agent)

Open Contract Window

Open the contract window inside the client --- Alternate route: /v1/ui/openwindow/contract/ Alternate route: /legacy/ui/openwindow/contract/ Alternate route: /dev/ui/openwindow/contract/

Example

<?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\UserInterfaceApi(new \Http\Adapter\Guzzle6\Client());
$contract_id = 56; // int | The contract to open
$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->postUiOpenwindowContract($contract_id, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
    echo 'Exception when calling UserInterfaceApi->postUiOpenwindowContract: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
contract_id int The contract to open
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]

Return type

void (empty response body)

Authorization

evesso

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

postUiOpenwindowInformation

postUiOpenwindowInformation($target_id, $datasource, $token, $user_agent, $x_user_agent)

Open Information Window

Open the information window for a character, corporation or alliance inside the client --- Alternate route: /v1/ui/openwindow/information/ Alternate route: /legacy/ui/openwindow/information/ Alternate route: /dev/ui/openwindow/information/

Example

<?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\UserInterfaceApi(new \Http\Adapter\Guzzle6\Client());
$target_id = 56; // int | The target to open
$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->postUiOpenwindowInformation($target_id, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
    echo 'Exception when calling UserInterfaceApi->postUiOpenwindowInformation: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
target_id int The target to open
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]

Return type

void (empty response body)

Authorization

evesso

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

postUiOpenwindowMarketdetails

postUiOpenwindowMarketdetails($type_id, $datasource, $token, $user_agent, $x_user_agent)

Open Market Details

Open the market details window for a specific typeID inside the client --- Alternate route: /v1/ui/openwindow/marketdetails/ Alternate route: /legacy/ui/openwindow/marketdetails/ Alternate route: /dev/ui/openwindow/marketdetails/

Example

<?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\UserInterfaceApi(new \Http\Adapter\Guzzle6\Client());
$type_id = 56; // int | The item type to open in market window
$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->postUiOpenwindowMarketdetails($type_id, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
    echo 'Exception when calling UserInterfaceApi->postUiOpenwindowMarketdetails: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
type_id int The item type to open in market window
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]

Return type

void (empty response body)

Authorization

evesso

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

postUiOpenwindowNewmail

postUiOpenwindowNewmail($new_mail, $datasource, $token, $user_agent, $x_user_agent)

Open New Mail Window

Open the New Mail window, according to settings from the request if applicable --- Alternate route: /v1/ui/openwindow/newmail/ Alternate route: /legacy/ui/openwindow/newmail/ Alternate route: /dev/ui/openwindow/newmail/

Example

<?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\UserInterfaceApi(new \Http\Adapter\Guzzle6\Client());
$new_mail = new \Swagger\Client\Model\PostUiOpenwindowNewmailNewMail(); // \Swagger\Client\Model\PostUiOpenwindowNewmailNewMail | The details of mail to create
$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->postUiOpenwindowNewmail($new_mail, $datasource, $token, $user_agent, $x_user_agent);
} catch (Exception $e) {
    echo 'Exception when calling UserInterfaceApi->postUiOpenwindowNewmail: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
new_mail \Swagger\Client\Model\PostUiOpenwindowNewmailNewMail The details of mail to create
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]

Return type

void (empty response body)

Authorization

evesso

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]