# ESIClient::CorporationApi All URIs are relative to *https://esi.tech.ccp.is* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_corporations_corporation_id**](CorporationApi.md#get_corporations_corporation_id) | **GET** /v3/corporations/{corporation_id}/ | Get corporation information [**get_corporations_corporation_id_alliancehistory**](CorporationApi.md#get_corporations_corporation_id_alliancehistory) | **GET** /v2/corporations/{corporation_id}/alliancehistory/ | Get alliance history [**get_corporations_corporation_id_blueprints**](CorporationApi.md#get_corporations_corporation_id_blueprints) | **GET** /v1/corporations/{corporation_id}/blueprints/ | Get corporation blueprints [**get_corporations_corporation_id_containers_logs**](CorporationApi.md#get_corporations_corporation_id_containers_logs) | **GET** /v1/corporations/{corporation_id}/containers/logs/ | Get all corporation ALSC logs [**get_corporations_corporation_id_divisions**](CorporationApi.md#get_corporations_corporation_id_divisions) | **GET** /v1/corporations/{corporation_id}/divisions/ | Get corporation divisions [**get_corporations_corporation_id_icons**](CorporationApi.md#get_corporations_corporation_id_icons) | **GET** /v1/corporations/{corporation_id}/icons/ | Get corporation icon [**get_corporations_corporation_id_members**](CorporationApi.md#get_corporations_corporation_id_members) | **GET** /v2/corporations/{corporation_id}/members/ | Get corporation members [**get_corporations_corporation_id_members_limit**](CorporationApi.md#get_corporations_corporation_id_members_limit) | **GET** /v1/corporations/{corporation_id}/members/limit/ | Get corporation member limit [**get_corporations_corporation_id_membertracking**](CorporationApi.md#get_corporations_corporation_id_membertracking) | **GET** /v1/corporations/{corporation_id}/membertracking/ | Track corporation members [**get_corporations_corporation_id_roles**](CorporationApi.md#get_corporations_corporation_id_roles) | **GET** /v1/corporations/{corporation_id}/roles/ | Get corporation member roles [**get_corporations_corporation_id_shareholders**](CorporationApi.md#get_corporations_corporation_id_shareholders) | **GET** /v1/corporations/{corporation_id}/shareholders/ | Get corporation members [**get_corporations_corporation_id_standings**](CorporationApi.md#get_corporations_corporation_id_standings) | **GET** /v1/corporations/{corporation_id}/standings/ | Get corporation standings [**get_corporations_corporation_id_structures**](CorporationApi.md#get_corporations_corporation_id_structures) | **GET** /v1/corporations/{corporation_id}/structures/ | Get corporation structures [**get_corporations_corporation_id_titles**](CorporationApi.md#get_corporations_corporation_id_titles) | **GET** /v1/corporations/{corporation_id}/titles/ | Get corporation titles [**get_corporations_names**](CorporationApi.md#get_corporations_names) | **GET** /v1/corporations/names/ | Get corporation names [**get_corporations_npccorps**](CorporationApi.md#get_corporations_npccorps) | **GET** /v1/corporations/npccorps/ | Get npc corporations [**put_corporations_corporation_id_structures_structure_id**](CorporationApi.md#put_corporations_corporation_id_structures_structure_id) | **PUT** /v1/corporations/{corporation_id}/structures/{structure_id}/ | Update structure vulnerability schedule # **get_corporations_corporation_id** > GetCorporationsCorporationIdOk get_corporations_corporation_id(corporation_id, opts) Get corporation information Public information about a corporation --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { datasource: "tranquility", # String | The server name you would like data from 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 } begin #Get corporation information result = api_instance.get_corporations_corporation_id(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation ID | **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **user_agent** | **String**| Client identifier, takes precedence over headers | [optional] **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional] ### Return type [**GetCorporationsCorporationIdOk**](GetCorporationsCorporationIdOk.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_alliancehistory** > Array<GetCorporationsCorporationIdAlliancehistory200Ok> get_corporations_corporation_id_alliancehistory(corporation_id, opts) Get alliance history Get a list of all the alliances a corporation has been a member of --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { datasource: "tranquility", # String | The server name you would like data from 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 } begin #Get alliance history result = api_instance.get_corporations_corporation_id_alliancehistory(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_alliancehistory: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation ID | **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **user_agent** | **String**| Client identifier, takes precedence over headers | [optional] **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional] ### Return type [**Array<GetCorporationsCorporationIdAlliancehistory200Ok>**](GetCorporationsCorporationIdAlliancehistory200Ok.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_blueprints** > Array<GetCorporationsCorporationIdBlueprints200Ok> get_corporations_corporation_id_blueprints(corporation_id, opts) Get corporation blueprints Returns a list of blueprints the corporation owns --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { datasource: "tranquility", # String | The server name you would like data from page: 1, # Integer | Which page of results to return 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 } begin #Get corporation blueprints result = api_instance.get_corporations_corporation_id_blueprints(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_blueprints: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation ID | **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **page** | **Integer**| Which page of results to return | [optional] [default to 1] **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 [**Array<GetCorporationsCorporationIdBlueprints200Ok>**](GetCorporationsCorporationIdBlueprints200Ok.md) ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_containers_logs** > Array<GetCorporationsCorporationIdContainersLogs200Ok> get_corporations_corporation_id_containers_logs(corporation_id, opts) Get all corporation ALSC logs Returns logs recorded in the past seven days from all audit log secure containers (ALSC) owned by a given corporation --- This route is cached for up to 600 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { datasource: "tranquility", # String | The server name you would like data from page: 1, # Integer | Which page of results to return 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 } begin #Get all corporation ALSC logs result = api_instance.get_corporations_corporation_id_containers_logs(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_containers_logs: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation ID | **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **page** | **Integer**| Which page of results to return | [optional] [default to 1] **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 [**Array<GetCorporationsCorporationIdContainersLogs200Ok>**](GetCorporationsCorporationIdContainersLogs200Ok.md) ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_divisions** > GetCorporationsCorporationIdDivisionsOk get_corporations_corporation_id_divisions(corporation_id, opts) Get corporation divisions Return corporation hangar and wallet division names, only show if a division is not using the default name --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { 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 } begin #Get corporation divisions result = api_instance.get_corporations_corporation_id_divisions(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_divisions: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation 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 [**GetCorporationsCorporationIdDivisionsOk**](GetCorporationsCorporationIdDivisionsOk.md) ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_icons** > GetCorporationsCorporationIdIconsOk get_corporations_corporation_id_icons(corporation_id, opts) Get corporation icon Get the icon urls for a corporation --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { datasource: "tranquility", # String | The server name you would like data from 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 } begin #Get corporation icon result = api_instance.get_corporations_corporation_id_icons(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_icons: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation ID | **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **user_agent** | **String**| Client identifier, takes precedence over headers | [optional] **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional] ### Return type [**GetCorporationsCorporationIdIconsOk**](GetCorporationsCorporationIdIconsOk.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_members** > Array<GetCorporationsCorporationIdMembers200Ok> get_corporations_corporation_id_members(corporation_id, opts) Get corporation members Read the current list of members if the calling character is a member. --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { 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 } begin #Get corporation members result = api_instance.get_corporations_corporation_id_members(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_members: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation 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 [**Array<GetCorporationsCorporationIdMembers200Ok>**](GetCorporationsCorporationIdMembers200Ok.md) ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_members_limit** > Integer get_corporations_corporation_id_members_limit(corporation_id, opts) Get corporation member limit Return a corporation's member limit, not including CEO himself --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { 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 } begin #Get corporation member limit result = api_instance.get_corporations_corporation_id_members_limit(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_members_limit: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation 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 **Integer** ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_membertracking** > Array<GetCorporationsCorporationIdMembertracking200Ok> get_corporations_corporation_id_membertracking(corporation_id, opts) Track corporation members Returns additional information about a corporation's members which helps tracking their activities --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { 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 } begin #Track corporation members result = api_instance.get_corporations_corporation_id_membertracking(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_membertracking: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation 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 [**Array<GetCorporationsCorporationIdMembertracking200Ok>**](GetCorporationsCorporationIdMembertracking200Ok.md) ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_roles** > Array<GetCorporationsCorporationIdRoles200Ok> get_corporations_corporation_id_roles(corporation_id, opts) Get corporation member roles Return the roles of all members if the character has the personnel manager role or any grantable role. --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { 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 } begin #Get corporation member roles result = api_instance.get_corporations_corporation_id_roles(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_roles: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation 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 [**Array<GetCorporationsCorporationIdRoles200Ok>**](GetCorporationsCorporationIdRoles200Ok.md) ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_shareholders** > Array<GetCorporationsCorporationIdShareholders200Ok> get_corporations_corporation_id_shareholders(corporation_id, opts) Get corporation members Return the current member list of a corporation, the token's character need to be a member of the corporation. --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { datasource: "tranquility", # String | The server name you would like data from page: 1, # Integer | Which page of results to return 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 } begin #Get corporation members result = api_instance.get_corporations_corporation_id_shareholders(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_shareholders: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation ID | **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **page** | **Integer**| Which page of results to return | [optional] [default to 1] **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 [**Array<GetCorporationsCorporationIdShareholders200Ok>**](GetCorporationsCorporationIdShareholders200Ok.md) ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_standings** > Array<GetCorporationsCorporationIdStandings200Ok> get_corporations_corporation_id_standings(corporation_id, opts) Get corporation standings Return corporation standings from agents, NPC corporations, and factions --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { datasource: "tranquility", # String | The server name you would like data from page: 1, # Integer | Which page of results to return 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 } begin #Get corporation standings result = api_instance.get_corporations_corporation_id_standings(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_standings: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation ID | **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **page** | **Integer**| Which page of results to return | [optional] [default to 1] **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 [**Array<GetCorporationsCorporationIdStandings200Ok>**](GetCorporationsCorporationIdStandings200Ok.md) ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_structures** > Array<GetCorporationsCorporationIdStructures200Ok> get_corporations_corporation_id_structures(corporation_id, opts) Get corporation structures Get a list of corporation structures --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { datasource: "tranquility", # String | The server name you would like data from language: "en-us", # String | Language to use in the response page: 1, # Integer | Which page of results to return 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 } begin #Get corporation structures result = api_instance.get_corporations_corporation_id_structures(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_structures: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation ID | **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **language** | **String**| Language to use in the response | [optional] [default to en-us] **page** | **Integer**| Which page of results to return | [optional] [default to 1] **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 [**Array<GetCorporationsCorporationIdStructures200Ok>**](GetCorporationsCorporationIdStructures200Ok.md) ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_corporation_id_titles** > Array<GetCorporationsCorporationIdTitles200Ok> get_corporations_corporation_id_titles(corporation_id, opts) Get corporation titles Returns a corporation's titles --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID opts = { 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 } begin #Get corporation titles result = api_instance.get_corporations_corporation_id_titles(corporation_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_corporation_id_titles: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation 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 [**Array<GetCorporationsCorporationIdTitles200Ok>**](GetCorporationsCorporationIdTitles200Ok.md) ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_names** > Array<GetCorporationsNames200Ok> get_corporations_names(corporation_ids, opts) Get corporation names Resolve a set of corporation IDs to corporation names --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' api_instance = ESIClient::CorporationApi.new corporation_ids = [56] # Array | A comma separated list of corporation IDs opts = { datasource: "tranquility", # String | The server name you would like data from 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 } begin #Get corporation names result = api_instance.get_corporations_names(corporation_ids, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_names: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_ids** | [**Array<Integer>**](Integer.md)| A comma separated list of corporation IDs | **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **user_agent** | **String**| Client identifier, takes precedence over headers | [optional] **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional] ### Return type [**Array<GetCorporationsNames200Ok>**](GetCorporationsNames200Ok.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_corporations_npccorps** > Array<Integer> get_corporations_npccorps(opts) Get npc corporations Get a list of npc corporations --- This route expires daily at 11:05 ### Example ```ruby # load the gem require 'esi_client' api_instance = ESIClient::CorporationApi.new opts = { datasource: "tranquility", # String | The server name you would like data from 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 } begin #Get npc corporations result = api_instance.get_corporations_npccorps(opts) p result rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->get_corporations_npccorps: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **user_agent** | **String**| Client identifier, takes precedence over headers | [optional] **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional] ### Return type **Array<Integer>** ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **put_corporations_corporation_id_structures_structure_id** > put_corporations_corporation_id_structures_structure_id(corporation_idnew_schedule, structure_id, opts) Update structure vulnerability schedule Update the vulnerability window schedule of a corporation structure --- ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::CorporationApi.new corporation_id = 56 # Integer | An EVE corporation ID new_schedule = [ESIClient::PutCorporationsCorporationIdStructuresStructureIdNewSchedule.new] # Array | New vulnerability window schedule for the structure structure_id = 789 # Integer | A structure ID opts = { 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 } begin #Update structure vulnerability schedule api_instance.put_corporations_corporation_id_structures_structure_id(corporation_idnew_schedule, structure_id, opts) rescue ESIClient::ApiError => e puts "Exception when calling CorporationApi->put_corporations_corporation_id_structures_structure_id: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **corporation_id** | **Integer**| An EVE corporation ID | **new_schedule** | [**Array<PutCorporationsCorporationIdStructuresStructureIdNewSchedule>**](PutCorporationsCorporationIdStructuresStructureIdNewSchedule.md)| New vulnerability window schedule for the structure | **structure_id** | **Integer**| A structure 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 nil (empty response body) ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json