esi v0.1.1 ESI.API.Corporation

Summary

Types

Functions

Get a list of all the alliances a corporation has been a member of

Return a list of the corporation assets

Lists bids on a particular auction contract

Returns a list of blueprints the corporation owns

A list of your corporation’s bookmark folders

A list of your corporation’s bookmarks

Return contacts of a corporation

Returns logs recorded in the past seven days from all audit log secure containers (ALSC) owned by a given corporation

Returns contracts available to a coporation, only if the corporation is issuer, acceptor or assignee. Only returns contracts no older than 30 days, or if the status is “in_progress”

Public information about a corporation

Return locations for a set of item ids, which you can get from corporation assets endpoint. Coordinates for items in hangars or stations are set to (0,0,0)

Return names for a set of item ids, which you can get from corporation assets endpoint. Only valid for items that can customize names, like containers or ships

List customs offices owned by a corporation

Return corporation hangar and wallet division names, only show if a division is not using the default name

Return a corporation’s facilities

Statistics about a corporation involved in faction warfare

Get the icon urls for a corporation

List industry jobs run by a corporation

Lists items of a particular contract

Retrieve corporation wallet journal

Get a list of corporation’s recent kills and losses

Returns medals issued by a corporation

Returns a corporation’s medals

Return a corporation’s member limit, not including CEO himself

Returns a corporation’s members’ titles

Read the current list of members if the calling character is a member

Returns additional information about a corporation’s members which helps tracking their activities

Extraction timers for all moon chunks being extracted by refineries belonging to a corporation

Paginated record of all mining seen by an observer

Paginated list of all entities capable of observing and recording mining for a corporation

Resolve a set of corporation IDs to corporation names

Get a list of npc corporations

List market orders placed on behalf of a corporation

Get details about a given outpost. Note: This endpoint will be removed once outposts are migrated to Citadels as talked about in this blog: https://community.eveonline.com/news/dev-blogs/the-next-steps-in-structure-transition/

Get a list of corporation outpost IDs Note: This endpoint will be removed once outposts are migrated to Citadels as talked about in this blog: https://community.eveonline.com/news/dev-blogs/the-next-steps-in-structure-transition/

Return how roles have changed for a coporation’s members, up to a month

Return the roles of all members if the character has the personnel manager role or any grantable role

Return the current member list of a corporation, the token’s character need to be a member of the corporation

Return corporation standings from agents, NPC corporations, and factions

Returns various settings and fuels of a starbase (POS)

Returns list of corporation starbases (POSes)

Get a list of corporation structures

Returns a corporation’s titles

Get wallet transactions of a corporation

Update the vulnerability window schedule of a corporation structure

Get a corporation’s wallets

Types

assets_opt()
assets_opt() :: {:page, nil | integer} | {:token, nil | String.t}
assets_opts()
assets_opts() :: [assets_opt]

Options for Corporation.assets/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
bids_opt()
bids_opt() :: {:page, nil | integer} | {:token, nil | String.t}
bids_opts()
bids_opts() :: [bids_opt]

Options for Corporation.bids/3.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
blueprints_opt()
blueprints_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
blueprints_opts()
blueprints_opts() :: [blueprints_opt]

Options for Corporation.blueprints/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
bookmark_folders_opt()
bookmark_folders_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
bookmark_folders_opts()
bookmark_folders_opts() :: [bookmark_folders_opt]

Options for Corporation.bookmark_folders/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
bookmarks_opt()
bookmarks_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
bookmarks_opts()
bookmarks_opts() :: [bookmarks_opt]

Options for Corporation.bookmarks/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
contacts_opt()
contacts_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
contacts_opts()
contacts_opts() :: [contacts_opt]

Options for Corporation.contacts/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
container_logs_opt()
container_logs_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
container_logs_opts()
container_logs_opts() :: [container_logs_opt]

Options for Corporation.container_logs/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
contracts_opt()
contracts_opt() :: {:token, nil | String.t}
contracts_opts()
contracts_opts() :: [contracts_opt]

Options for Corporation.contracts/2.

  • :token — Access token to use if unable to set a header
create_asset_locations_opt()
create_asset_locations_opt ::
  {:item_ids, [nil | integer]} |
  {:token, nil | String.t}
create_asset_locations_opts()
create_asset_locations_opts() :: [create_asset_locations_opt]

Options for Corporation.create_asset_locations/2.

  • :item_ids (REQUIRED) — A list of item ids
  • :token — Access token to use if unable to set a header
create_asset_names_opt()
create_asset_names_opt ::
  {:item_ids, [nil | integer]} |
  {:token, nil | String.t}
create_asset_names_opts()
create_asset_names_opts() :: [create_asset_names_opt]

Options for Corporation.create_asset_names/2.

  • :item_ids (REQUIRED) — A list of item ids
  • :token — Access token to use if unable to set a header
customs_offices_opt()
customs_offices_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
customs_offices_opts()
customs_offices_opts() :: [customs_offices_opt]

Options for Corporation.customs_offices/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
divisions_opt()
divisions_opt() :: {:token, nil | String.t}
divisions_opts()
divisions_opts() :: [divisions_opt]

Options for Corporation.divisions/2.

  • :token — Access token to use if unable to set a header
facilities_opt()
facilities_opt() :: {:token, nil | String.t}
facilities_opts()
facilities_opts() :: [facilities_opt]

Options for Corporation.facilities/2.

  • :token — Access token to use if unable to set a header
fw_stats_opt()
fw_stats_opt() :: {:token, nil | String.t}
fw_stats_opts()
fw_stats_opts() :: [fw_stats_opt]

Options for Corporation.fw_stats/2.

  • :token — Access token to use if unable to set a header
industry_jobs_opt()
industry_jobs_opt ::
  {:include_completed, nil | boolean} |
  {:page, nil | integer} |
  {:token, nil | String.t}
industry_jobs_opts()
industry_jobs_opts() :: [industry_jobs_opt]

Options for Corporation.industry_jobs/2.

  • :include_completed (DEFAULT: false) — Whether retrieve completed industry jobs as well
  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
items_opt()
items_opt() :: {:token, nil | String.t}
items_opts()
items_opts() :: [items_opt]

Options for Corporation.items/3.

  • :token — Access token to use if unable to set a header
journal_opt()
journal_opt ::
  {:from_id, nil | integer} |
  {:token, nil | String.t}
journal_opts()
journal_opts() :: [journal_opt]

Options for Corporation.journal/3.

  • :from_id — Only show journal entries happened before the transaction referenced by this id
  • :token — Access token to use if unable to set a header
killmail_recent_opt()
killmail_recent_opt ::
  {:max_kill_id, nil | integer} |
  {:token, nil | String.t}
killmail_recent_opts()
killmail_recent_opts() :: [killmail_recent_opt]

Options for Corporation.killmail_recent/2.

  • :max_kill_id — Only return killmails with ID smaller than this
  • :token — Access token to use if unable to set a header
medal_issued_opt()
medal_issued_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
medal_issued_opts()
medal_issued_opts() :: [medal_issued_opt]

Options for Corporation.medal_issued/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
medals_opt()
medals_opt() :: {:page, nil | integer} | {:token, nil | String.t}
medals_opts()
medals_opts() :: [medals_opt]

Options for Corporation.medals/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
member_limit_opt()
member_limit_opt() :: {:token, nil | String.t}
member_limit_opts()
member_limit_opts() :: [member_limit_opt]

Options for Corporation.member_limit/2.

  • :token — Access token to use if unable to set a header
member_titles_opt()
member_titles_opt() :: {:token, nil | String.t}
member_titles_opts()
member_titles_opts() :: [member_titles_opt]

Options for Corporation.member_titles/2.

  • :token — Access token to use if unable to set a header
members_opt()
members_opt() :: {:token, nil | String.t}
members_opts()
members_opts() :: [members_opt]

Options for Corporation.members/2.

  • :token — Access token to use if unable to set a header
membertracking_opt()
membertracking_opt() :: {:token, nil | String.t}
membertracking_opts()
membertracking_opts() :: [membertracking_opt]

Options for Corporation.membertracking/2.

  • :token — Access token to use if unable to set a header
mining_extractions_opt()
mining_extractions_opt() :: {:token, nil | String.t}
mining_extractions_opts()
mining_extractions_opts() :: [mining_extractions_opt]

Options for Corporation.mining_extractions/2.

  • :token — Access token to use if unable to set a header
mining_observer_opt()
mining_observer_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
mining_observer_opts()
mining_observer_opts() :: [mining_observer_opt]

Options for Corporation.mining_observer/3.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
mining_observers_opt()
mining_observers_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
mining_observers_opts()
mining_observers_opts() :: [mining_observers_opt]

Options for Corporation.mining_observers/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
names_opt()
names_opt() :: {:corporation_ids, [integer]}
names_opts()
names_opts() :: [names_opt]

Options for Corporation.names/1.

  • :corporation_ids (REQUIRED) — A comma separated list of corporation IDs
orders_opt()
orders_opt() :: {:page, nil | integer} | {:token, nil | String.t}
orders_opts()
orders_opts() :: [orders_opt]

Options for Corporation.orders/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
outpost_opt()
outpost_opt() :: {:token, nil | String.t}
outpost_opts()
outpost_opts() :: [outpost_opt]

Options for Corporation.outpost/3.

  • :token — Access token to use if unable to set a header
outposts_opt()
outposts_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
outposts_opts()
outposts_opts() :: [outposts_opt]

Options for Corporation.outposts/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
role_history_opt()
role_history_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
role_history_opts()
role_history_opts() :: [role_history_opt]

Options for Corporation.role_history/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
roles_opt()
roles_opt() :: {:token, nil | String.t}
roles_opts()
roles_opts() :: [roles_opt]

Options for Corporation.roles/2.

  • :token — Access token to use if unable to set a header
shareholders_opt()
shareholders_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
shareholders_opts()
shareholders_opts() :: [shareholders_opt]

Options for Corporation.shareholders/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
standings_opt()
standings_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
standings_opts()
standings_opts() :: [standings_opt]

Options for Corporation.standings/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
starbase_opt()
starbase_opt ::
  {:page, nil | integer} |
  {:system_id, integer} |
  {:token, nil | String.t}
starbase_opts()
starbase_opts() :: [starbase_opt]

Options for Corporation.starbase/3.

  • :page (DEFAULT: 1) — Which page of results to return
  • :system_id (REQUIRED) — The solar system this starbase (POS) is located in,
  • :token — Access token to use if unable to set a header
starbases_opt()
starbases_opt ::
  {:page, nil | integer} |
  {:token, nil | String.t}
starbases_opts()
starbases_opts() :: [starbases_opt]

Options for Corporation.starbases/2.

  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
structures_opt()
structures_opt ::
  {:language, nil | :de | :"en-us" | :fr | :ja | :ru | :zh} |
  {:page, nil | integer} |
  {:token, nil | String.t}
structures_opts()
structures_opts() :: [structures_opt]

Options for Corporation.structures/2.

  • :language (DEFAULT: :"en-us") — Language to use in the response
  • :page (DEFAULT: 1) — Which page of results to return
  • :token — Access token to use if unable to set a header
titles_opt()
titles_opt() :: {:token, nil | String.t}
titles_opts()
titles_opts() :: [titles_opt]

Options for Corporation.titles/2.

  • :token — Access token to use if unable to set a header
transactions_opt()
transactions_opt ::
  {:from_id, nil | integer} |
  {:token, nil | String.t}
transactions_opts()
transactions_opts() :: [transactions_opt]

Options for Corporation.transactions/3.

  • :from_id — Only show journal entries happened before the transaction referenced by this id
  • :token — Access token to use if unable to set a header
update_structure_opt()
update_structure_opt ::
  {:new_schedule, [nil | [day: integer, hour: integer]]} |
  {:token, nil | String.t}
update_structure_opts()
update_structure_opts() :: [update_structure_opt]

Options for Corporation.update_structure/3.

  • :new_schedule (REQUIRED) — New vulnerability window schedule for the structure
  • :token — Access token to use if unable to set a header
wallets_opt()
wallets_opt() :: {:token, nil | String.t}
wallets_opts()
wallets_opts() :: [wallets_opt]

Options for Corporation.wallets/2.

  • :token — Access token to use if unable to set a header

Functions

alliance_history(corporation_id)
alliance_history(corporation_id :: integer) :: ESI.Request.t

Get a list of all the alliances a corporation has been a member of.

Response Example

Alliance history for the given corporation:

[%{"alliance_id" => 99000006, "is_deleted" => true, "record_id" => 23,
   "start_date" => "2016-10-25T14:46:00Z"},
 %{"record_id" => 1, "start_date" => "2015-07-06T20:56:00Z"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_alliancehistory
  • path/corporations/{corporation_id}/alliancehistory/

View on ESI Site

assets(corporation_id, opts \\ [])
assets(corporation_id :: integer, opts :: assets_opts) :: ESI.Request.t

Return a list of the corporation assets.

Response Example

A list of assets:

[%{"is_singleton" => true, "item_id" => 1000000016835,
   "location_flag" => "Hangar", "location_id" => 60002959,
   "location_type" => "station", "type_id" => 3516}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_assets
  • path/corporations/{corporation_id}/assets/

View on ESI Site

bids(corporation_id, contract_id, opts \\ [])
bids(corporation_id :: integer, contract_id :: integer, opts :: bids_opts) :: ESI.Request.t

Lists bids on a particular auction contract.

Response Example

A list of bids:

[%{"amount" => 1.23, "bid_id" => 1, "bidder_id" => 123,
   "date_bid" => "2017-01-01T10:10:10Z"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_contracts_contract_id_bids
  • path/corporations/{corporation_id}/contracts/{contract_id}/bids/

View on ESI Site

blueprints(corporation_id, opts \\ [])
blueprints(corporation_id :: integer, opts :: blueprints_opts) :: ESI.Request.t

Returns a list of blueprints the corporation owns.

Response Example

List of corporation blueprints:

[%{"item_id" => 1000000010495, "location_flag" => "CorpSAG1",
   "location_id" => 60014719, "material_efficiency" => 0, "quantity" => 1,
   "runs" => -1, "time_efficiency" => 0, "type_id" => 691}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_blueprints
  • path/corporations/{corporation_id}/blueprints/

View on ESI Site

bookmark_folders(corporation_id, opts \\ [])
bookmark_folders(corporation_id :: integer, opts :: bookmark_folders_opts) :: ESI.Request.t

A list of your corporation’s bookmark folders.

Response Example

List of corporation owned bookmark folders:

[%{"folder_id" => 5, "name" => "Important Locations"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_bookmarks_folders
  • path/corporations/{corporation_id}/bookmarks/folders/

View on ESI Site

bookmarks(corporation_id, opts \\ [])
bookmarks(corporation_id :: integer, opts :: bookmarks_opts) :: ESI.Request.t

A list of your corporation’s bookmarks.

Response Example

List of corporation owned bookmarks:

[%{"bookmark_id" => 4, "created" => "2016-08-09T11:57:47Z",
   "creator_id" => 2112625428, "folder_id" => 5,
   "item" => %{"item_id" => 50006722, "type_id" => 29633},
   "label" => "Stargate", "location_id" => 30003430,
   "notes" => "This is a stargate"},
 %{"bookmark_id" => 5,
   "coordinates" => %{"x" => -2958928814000, "y" => -338367275823,
     "z" => 2114538075090}, "created" => "2016-08-09T11:57:47Z",
   "creator_id" => 2112625428, "folder_id" => 5, "label" => "Random location",
   "location_id" => 30003430, "notes" => "This is a random location in space"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_bookmarks
  • path/corporations/{corporation_id}/bookmarks/

View on ESI Site

contacts(corporation_id, opts \\ [])
contacts(corporation_id :: integer, opts :: contacts_opts) :: ESI.Request.t

Return contacts of a corporation.

Response Example

A list of contacts:

[%{"contact_id" => 123, "contact_type" => "character", "is_watched" => true,
   "standing" => 10.0}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_contacts
  • path/corporations/{corporation_id}/contacts/

View on ESI Site

container_logs(corporation_id, opts \\ [])
container_logs(corporation_id :: integer, opts :: container_logs_opts) :: ESI.Request.t

Returns logs recorded in the past seven days from all audit log secure containers (ALSC) owned by a given corporation.

Response Example

List of corporation ALSC logs:

[%{"action" => "set_password", "character_id" => 2112625428,
   "container_id" => 1000000012279, "container_type_id" => 17365,
   "location_flag" => "CorpSAG1", "location_id" => 1000000012278,
   "logged_at" => "2017-10-10T14:00:00Z", "password_type" => "general"},
 %{"action" => "lock", "character_id" => 2112625428,
   "container_id" => 1000000012279, "container_type_id" => 17365,
   "location_flag" => "CorpSAG1", "location_id" => 1000000012278,
   "logged_at" => "2017-10-11T12:04:33Z", "quantity" => 30, "type_id" => 1230},
 %{"action" => "configure", "character_id" => 2112625428,
   "container_id" => 1000000012279, "container_type_id" => 17365,
   "location_flag" => "CorpSAG2", "location_id" => 1000000012278,
   "logged_at" => "2017-10-11T12:06:29Z", "new_config_bitmask" => 31,
   "old_config_bitmask" => 23}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_containers_logs
  • path/corporations/{corporation_id}/containers/logs/

View on ESI Site

contracts(corporation_id, opts \\ [])
contracts(corporation_id :: integer, opts :: contracts_opts) :: ESI.Request.t

Returns contracts available to a coporation, only if the corporation is issuer, acceptor or assignee. Only returns contracts no older than 30 days, or if the status is “in_progress”..

Response Example

A list of contracts:

[%{"acceptor_id" => 0, "assignee_id" => 0, "availability" => "public",
   "buyout" => 1.0e10, "contract_id" => 1,
   "date_accepted" => "2017-06-06T13:12:32Z",
   "date_completed" => "2017-06-06T13:12:32Z",
   "date_expired" => "2017-06-13T13:12:32Z",
   "date_issued" => "2017-06-06T13:12:32Z", "days_to_complete" => 0,
   "end_location_id" => 60014719, "for_corporation" => true,
   "issuer_corporation_id" => 456, "issuer_id" => 123, "price" => 1.0e6,
   "reward" => 0.0, "start_location_id" => 60014719, "status" => "outstanding",
   "type" => "auction", "volume" => 0.01}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_contracts
  • path/corporations/{corporation_id}/contracts/

View on ESI Site

corporation(corporation_id)
corporation(corporation_id :: integer) :: ESI.Request.t

Public information about a corporation.

Response Example

Public data about a corporation:

%{"alliance_id" => 434243723, "ceo_id" => 180548812,
  "corporation_description" => "This is a corporation description, it's basically just a string",
  "corporation_name" => "C C P", "creation_date" => "2004-11-28T16:42:51Z",
  "creator_id" => 180548812, "member_count" => 656, "tax_rate" => 0.256,
  "ticker" => "-CCP-", "url" => "http://www.eveonline.com"}

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id
  • path/corporations/{corporation_id}/

View on ESI Site

create_asset_locations(corporation_id, opts \\ [])
create_asset_locations(corporation_id :: integer, opts :: create_asset_locations_opts) :: ESI.Request.t

Return locations for a set of item ids, which you can get from corporation assets endpoint. Coordinates for items in hangars or stations are set to (0,0,0).

Response Example

List of asset locations:

[%{"item_id" => 12345, "x" => 1.2, "y" => 2.3, "z" => -3.4}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdpost_corporations_corporation_id_assets_locations
  • path/corporations/{corporation_id}/assets/locations/

View on ESI Site

create_asset_names(corporation_id, opts \\ [])
create_asset_names(corporation_id :: integer, opts :: create_asset_names_opts) :: ESI.Request.t

Return names for a set of item ids, which you can get from corporation assets endpoint. Only valid for items that can customize names, like containers or ships..

Response Example

List of asset names:

[%{"item_id" => 12345, "name" => "Awesome Name"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdpost_corporations_corporation_id_assets_names
  • path/corporations/{corporation_id}/assets/names/

View on ESI Site

customs_offices(corporation_id, opts \\ [])
customs_offices(corporation_id :: integer, opts :: customs_offices_opts) :: ESI.Request.t

List customs offices owned by a corporation.

Response Example

A list of customs offices and their settings:

[%{"alliance_tax_rate" => 0.1, "allow_access_with_standings" => true,
   "allow_alliance_access" => false, "corporation_tax_rate" => 0.02,
   "excellent_standing_tax_rate" => 0.05, "good_standing_tax_rate" => 0.2,
   "neutral_standing_tax_rate" => 0.5, "office_id" => 1000000014530,
   "reinforce_exit_end" => 1, "reinforce_exit_start" => 23,
   "standing_level" => "neutral", "system_id" => 30003657}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_customs_offices
  • path/corporations/{corporation_id}/customs_offices/

View on ESI Site

divisions(corporation_id, opts \\ [])
divisions(corporation_id :: integer, opts :: divisions_opts) :: ESI.Request.t

Return corporation hangar and wallet division names, only show if a division is not using the default name.

Response Example

List of corporation division names:

%{"hangar" => [%{"division" => 1, "name" => "Awesome Hangar 1"}],
  "wallet" => [%{"division" => 1, "name" => "Rich Wallet 1"}]}

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_divisions
  • path/corporations/{corporation_id}/divisions/

View on ESI Site

facilities(corporation_id, opts \\ [])
facilities(corporation_id :: integer, opts :: facilities_opts) :: ESI.Request.t

Return a corporation’s facilities.

Response Example

List of corporation facilities:

[%{"facility_id" => 123, "system_id" => 45678, "type_id" => 2502}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_facilities
  • path/corporations/{corporation_id}/facilities/

View on ESI Site

fw_stats(corporation_id, opts \\ [])
fw_stats(corporation_id :: integer, opts :: fw_stats_opts) :: ESI.Request.t

Statistics about a corporation involved in faction warfare.

Response Example

Faction warfare statistics for a given corporation:

%{"enlisted_on" => "2017-10-17T00:00:00Z", "faction_id" => 500001,
  "kills" => %{"last_week" => 893, "total" => 684350, "yesterday" => 136},
  "pilots" => 28863,
  "victory_points" => %{"last_week" => 102640, "total" => 52658260,
    "yesterday" => 15980}}

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_fw_stats
  • path/corporations/{corporation_id}/fw/stats/

View on ESI Site

icons(corporation_id)
icons(corporation_id :: integer) :: ESI.Request.t

Get the icon urls for a corporation.

Response Example

Urls for icons for the given corporation id and server:

%{"px128x128" => "https://imageserver.eveonline.com/Corporation/1000010_128.png",
  "px256x256" => "https://imageserver.eveonline.com/Corporation/1000010_256.png",
  "px64x64" => "https://imageserver.eveonline.com/Corporation/1000010_64.png"}

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_icons
  • path/corporations/{corporation_id}/icons/

View on ESI Site

industry_jobs(corporation_id, opts \\ [])
industry_jobs(corporation_id :: integer, opts :: industry_jobs_opts) :: ESI.Request.t

List industry jobs run by a corporation.

Response Example

A list of corporation industry jobs:

[%{"activity_id" => 1, "blueprint_id" => 1015116533326,
   "blueprint_location_id" => 60006382, "blueprint_type_id" => 2047,
   "cost" => 118.0, "duration" => 548, "end_date" => "2014-07-19T15:56:14Z",
   "facility_id" => 60006382, "installer_id" => 498338451,
   "job_id" => 229136101, "licensed_runs" => 200, "location_id" => 60006382,
   "output_location_id" => 60006382, "runs" => 1,
   "start_date" => "2014-07-19T15:47:06Z", "status" => "active"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_industry_jobs
  • path/corporations/{corporation_id}/industry/jobs/

View on ESI Site

items(corporation_id, contract_id, opts \\ [])
items(corporation_id :: integer, contract_id :: integer, opts :: items_opts) :: ESI.Request.t

Lists items of a particular contract.

Response Example

A list of items in this contract:

[%{"is_included" => true, "is_singleton" => false, "quantity" => 1,
   "record_id" => 123456, "type_id" => 587}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_contracts_contract_id_items
  • path/corporations/{corporation_id}/contracts/{contract_id}/items/

View on ESI Site

journal(corporation_id, division, opts \\ [])
journal(corporation_id :: integer, division :: integer, opts :: journal_opts) :: ESI.Request.t

Retrieve corporation wallet journal.

Response Example

Journal entries:

[%{"date" => "2016-10-24T09:00:00Z", "ref_id" => 1234567890,
   "ref_type" => "player_trading"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_wallets_division_journal
  • path/corporations/{corporation_id}/wallets/{division}/journal/

View on ESI Site

killmail_recent(corporation_id, opts \\ [])
killmail_recent(corporation_id :: integer, opts :: killmail_recent_opts) :: ESI.Request.t

Get a list of corporation’s recent kills and losses.

Response Example

A list of killmail IDs and hashes:

[%{"killmail_hash" => "8eef5e8fb6b88fe3407c489df33822b2e3b57a5e",
   "killmail_id" => 2},
 %{"killmail_hash" => "b41ccb498ece33d64019f64c0db392aa3aa701fb",
   "killmail_id" => 1}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_killmails_recent
  • path/corporations/{corporation_id}/killmails/recent/

View on ESI Site

medal_issued(corporation_id, opts \\ [])
medal_issued(corporation_id :: integer, opts :: medal_issued_opts) :: ESI.Request.t

Returns medals issued by a corporation.

Response Example

A list of issued medals:

[%{"character_id" => 45678, "issued_at" => "2017-10-10T14:00:00Z",
   "issuer_id" => 67890, "medal_id" => 123, "reason" => "Awesome Reason",
   "status" => "private"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_medals_issued
  • path/corporations/{corporation_id}/medals/issued/

View on ESI Site

medals(corporation_id, opts \\ [])
medals(corporation_id :: integer, opts :: medals_opts) :: ESI.Request.t

Returns a corporation’s medals.

Response Example

A list of medals:

[%{"created_at" => "2017-10-10T14:00:00Z", "creator_id" => 46578,
   "description" => "An Awesome Medal", "medal_id" => 123,
   "title" => "Awesome Medal"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_medals
  • path/corporations/{corporation_id}/medals/

View on ESI Site

member_limit(corporation_id, opts \\ [])
member_limit(corporation_id :: integer, opts :: member_limit_opts) :: ESI.Request.t

Return a corporation’s member limit, not including CEO himself.

Response Example

The corporation’s member limit:

40

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_members_limit
  • path/corporations/{corporation_id}/members/limit/

View on ESI Site

member_titles(corporation_id, opts \\ [])
member_titles(corporation_id :: integer, opts :: member_titles_opts) :: ESI.Request.t

Returns a corporation’s members’ titles.

Response Example

A list of members and theirs titles:

[%{"character_id" => 12345, "titles" => []}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_members_titles
  • path/corporations/{corporation_id}/members/titles/

View on ESI Site

members(corporation_id, opts \\ [])
members(corporation_id :: integer, opts :: members_opts) :: ESI.Request.t

Read the current list of members if the calling character is a member..

Response Example

List of member character IDs:

[%{"character_id" => 90000001}, %{"character_id" => 90000002}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_members
  • path/corporations/{corporation_id}/members/

View on ESI Site

membertracking(corporation_id, opts \\ [])
membertracking(corporation_id :: integer, opts :: membertracking_opts) :: ESI.Request.t

Returns additional information about a corporation’s members which helps tracking their activities.

Response Example

List of member character IDs:

[%{"character_id" => 2112000001, "location_id" => 30003657,
   "logoff_date" => "2017-08-03T14:31:16Z",
   "logon_date" => "2017-08-03T14:22:03Z", "ship_type_id" => 22464,
   "start_date" => "2017-07-10T14:46:00Z"},
 %{"character_id" => 2112000002, "location_id" => 30003657,
   "logoff_date" => "2017-07-25T11:07:40Z",
   "logon_date" => "2017-07-25T10:54:00Z", "ship_type_id" => 670,
   "start_date" => "2017-07-10T14:50:00Z"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_membertracking
  • path/corporations/{corporation_id}/membertracking/

View on ESI Site

mining_extractions(corporation_id, opts \\ [])
mining_extractions(corporation_id :: integer, opts :: mining_extractions_opts) :: ESI.Request.t

Extraction timers for all moon chunks being extracted by refineries belonging to a corporation..

Response Example

A list of chunk timers:

[%{"chunk_arrival_time" => "2017-10-17T11:00:59Z",
   "extraction_start_time" => "2017-10-11T10:37:04Z", "moon_id" => 40307229,
   "natural_decay_time" => "2017-10-17T14:00:59Z",
   "structure_id" => 1000000010579}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporation_corporation_id_mining_extractions
  • path/corporation/{corporation_id}/mining/extractions/

View on ESI Site

mining_observer(corporation_id, observer_id, opts \\ [])
mining_observer(corporation_id :: integer, observer_id :: integer, opts :: mining_observer_opts) :: ESI.Request.t

Paginated record of all mining seen by an observer.

Response Example

Mining ledger of an observer:

[%{"character_id" => 95465499, "last_updated" => "2017-09-19",
   "quantity" => 500, "recorded_corporation_id" => 109299958,
   "type_id" => 1230}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporation_corporation_id_mining_observers_observer_id
  • path/corporation/{corporation_id}/mining/observers/{observer_id}/

View on ESI Site

mining_observers(corporation_id, opts \\ [])
mining_observers(corporation_id :: integer, opts :: mining_observers_opts) :: ESI.Request.t

Paginated list of all entities capable of observing and recording mining for a corporation.

Response Example

Observer list of a corporation:

[%{"last_updated" => "2017-09-19", "observer_id" => 1,
   "observer_type" => "structure"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporation_corporation_id_mining_observers
  • path/corporation/{corporation_id}/mining/observers/

View on ESI Site

names(opts \\ [])
names(opts :: names_opts) :: ESI.Request.t

Resolve a set of corporation IDs to corporation names.

Response Example

List of id/name associations:

[%{"corporation_id" => 1000171, "corporation_name" => "Republic University"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_names
  • path/corporations/names/

View on ESI Site

npccorps()
npccorps() :: ESI.Request.t

Get a list of npc corporations.

Response Example

A list of npc corporation ids:

[1000001, 1000002, 1000003]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_npccorps
  • path/corporations/npccorps/

View on ESI Site

orders(corporation_id, opts \\ [])
orders(corporation_id :: integer, opts :: orders_opts) :: ESI.Request.t

List market orders placed on behalf of a corporation.

Response Example

A list of market orders:

[%{"duration" => 30, "escrow" => 45.6, "is_buy_order" => true,
   "issued" => "2016-09-03T05:12:25Z", "location_id" => 456, "min_volume" => 1,
   "order_id" => 123, "price" => 33.3, "range" => "station", "region_id" => 123,
   "state" => "open", "type_id" => 456, "volume_remain" => 4422,
   "volume_total" => 123456, "wallet_division" => 1}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_orders
  • path/corporations/{corporation_id}/orders/

View on ESI Site

outpost(corporation_id, outpost_id, opts \\ [])
outpost(corporation_id :: integer, outpost_id :: integer, opts :: outpost_opts) :: ESI.Request.t

Get details about a given outpost. Note: This endpoint will be removed once outposts are migrated to Citadels as talked about in this blog: https://community.eveonline.com/news/dev-blogs/the-next-steps-in-structure-transition/.

Response Example

Details about the given outpost:

%{"coordinates" => %{"x" => -102478848000, "y" => -18310963200,
    "z" => -9660456960}, "docking_cost_per_ship_volume" => 0,
  "office_rental_cost" => 100, "owner_id" => 98000002,
  "reprocessing_efficiency" => 0.5, "reprocessing_station_take" => 0.01,
  "services" => [%{"discount_per_good_standing" => 10, "minimum_standing" => 0,
     "owner_id" => 98000002, "service_name" => "Reprocessing Plant",
     "surcharge_per_bad_standing" => 0}], "standing_owner_id" => 99003581,
  "system_id" => 30000657, "type_id" => 21644}

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_outposts_outpost_id
  • path/corporations/{corporation_id}/outposts/{outpost_id}/

View on ESI Site

outposts(corporation_id, opts \\ [])
outposts(corporation_id :: integer, opts :: outposts_opts) :: ESI.Request.t

Get a list of corporation outpost IDs Note: This endpoint will be removed once outposts are migrated to Citadels as talked about in this blog: https://community.eveonline.com/news/dev-blogs/the-next-steps-in-structure-transition/.

Response Example

List of corporation outpost IDs:

[61001146, 61001147, 61001148]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_outposts
  • path/corporations/{corporation_id}/outposts/

View on ESI Site

role_history(corporation_id, opts \\ [])
role_history(corporation_id :: integer, opts :: role_history_opts) :: ESI.Request.t

Return how roles have changed for a coporation’s members, up to a month.

Response Example

List of role changes:

[%{"changed_at" => "2016-10-25T14:46:00Z", "character_id" => 12345,
   "issuer_id" => 45678, "new_roles" => ["Station_Manager"],
   "old_roles" => ["Diplomat"], "role_type" => "roles"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_roles_history
  • path/corporations/{corporation_id}/roles/history/

View on ESI Site

roles(corporation_id, opts \\ [])
roles(corporation_id :: integer, opts :: roles_opts) :: ESI.Request.t

Return the roles of all members if the character has the personnel manager role or any grantable role..

Response Example

List of member character ID’s and roles:

[%{"character_id" => 1000171, "roles" => ["Director", "Station_Manager"]}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_roles
  • path/corporations/{corporation_id}/roles/

View on ESI Site

shareholders(corporation_id, opts \\ [])
shareholders(corporation_id :: integer, opts :: shareholders_opts) :: ESI.Request.t

Return the current member list of a corporation, the token’s character need to be a member of the corporation..

Response Example

List of member character IDs:

[%{"share_count" => 580, "shareholder_id" => 98000001,
   "shareholder_type" => "corporation"},
 %{"share_count" => 20, "shareholder_id" => 2112000003,
   "shareholder_type" => "character"},
 %{"share_count" => 300, "shareholder_id" => 2112000004,
   "shareholder_type" => "character"},
 %{"share_count" => 100, "shareholder_id" => 2112000001,
   "shareholder_type" => "character"}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_shareholders
  • path/corporations/{corporation_id}/shareholders/

View on ESI Site

standings(corporation_id, opts \\ [])
standings(corporation_id :: integer, opts :: standings_opts) :: ESI.Request.t

Return corporation standings from agents, NPC corporations, and factions.

Response Example

A list of standings:

[%{"from_id" => 3009841, "from_type" => "agent", "standing" => 0.1},
 %{"from_id" => 1000061, "from_type" => "npc_corp", "standing" => 0},
 %{"from_id" => 500003, "from_type" => "faction", "standing" => -1}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_standings
  • path/corporations/{corporation_id}/standings/

View on ESI Site

starbase(corporation_id, starbase_id, opts \\ [])
starbase(corporation_id :: integer, starbase_id :: integer, opts :: starbase_opts) :: ESI.Request.t

Returns various settings and fuels of a starbase (POS).

Response Example

List of starbases (POSes):

%{"allow_alliance_members" => false, "allow_corporation_members" => true,
  "anchor" => "config_starbase_equipment_role", "attack_if_at_war" => true,
  "attack_if_other_security_status_dropping" => false,
  "fuel_bay_take" => "config_starbase_equipment_role",
  "fuel_bay_view" => "config_starbase_equipment_role",
  "offline" => "config_starbase_equipment_role",
  "online" => "config_starbase_equipment_role",
  "unanchor" => "config_starbase_equipment_role",
  "use_alliance_standings" => false}

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_starbases_starbase_id
  • path/corporations/{corporation_id}/starbases/{starbase_id}/

View on ESI Site

starbases(corporation_id, opts \\ [])
starbases(corporation_id :: integer, opts :: starbases_opts) :: ESI.Request.t

Returns list of corporation starbases (POSes).

Response Example

List of starbases (POSes):

[%{"starbase_id" => 12345, "system_id" => 123456, "type_id" => 456}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_starbases
  • path/corporations/{corporation_id}/starbases/

View on ESI Site

structures(corporation_id, opts \\ [])
structures(corporation_id :: integer, opts :: structures_opts) :: ESI.Request.t

Get a list of corporation structures.

Response Example

List of corporation structures’ information:

[%{"corporation_id" => 667531913, "current_vul" => [%{"day" => 1, "hour" => 2}],
   "next_vul" => [%{"day" => 3, "hour" => 4}], "profile_id" => 11237,
   "structure_id" => 1021975535893, "system_id" => 30004763,
   "type_id" => 35833}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_structures
  • path/corporations/{corporation_id}/structures/

View on ESI Site

titles(corporation_id, opts \\ [])
titles(corporation_id :: integer, opts :: titles_opts) :: ESI.Request.t

Returns a corporation’s titles.

Response Example

A list of titles:

[%{"name" => "Awesome Title", "roles" => ["Hangar_Take_6", "Hangar_Query_2"],
   "title_id" => 1}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_titles
  • path/corporations/{corporation_id}/titles/

View on ESI Site

transactions(corporation_id, division, opts \\ [])
transactions(corporation_id :: integer, division :: integer, opts :: transactions_opts) :: ESI.Request.t

Get wallet transactions of a corporation.

Response Example

Wallet transactions:

[%{"client_id" => 54321, "date" => "2016-10-24T09:00:00Z", "is_buy" => true,
   "journal_ref_id" => 67890, "location_id" => 60014719, "quantity" => 1,
   "transaction_id" => 1234567890, "type_id" => 587, "unit_price" => 1}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_wallets_division_transactions
  • path/corporations/{corporation_id}/wallets/{division}/transactions/

View on ESI Site

update_structure(corporation_id, structure_id, opts \\ [])
update_structure(corporation_id :: integer, structure_id :: integer, opts :: update_structure_opts) :: ESI.Request.t

Update the vulnerability window schedule of a corporation structure.

Response Example

No example available.

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdput_corporations_corporation_id_structures_structure_id
  • path/corporations/{corporation_id}/structures/{structure_id}/

View on ESI Site

wallets(corporation_id, opts \\ [])
wallets(corporation_id :: integer, opts :: wallets_opts) :: ESI.Request.t

Get a corporation’s wallets.

Response Example

List of corporation wallets:

[%{"balance" => 123.45, "division" => 1},
 %{"balance" => 123.45, "division" => 2},
 %{"balance" => 123.45, "division" => 3},
 %{"balance" => 123.45, "division" => 4},
 %{"balance" => 123.45, "division" => 5},
 %{"balance" => 123.45, "division" => 6},
 %{"balance" => 123.45, "division" => 7}]

Swagger Source

This function was generated from the following Swagger operation:

  • operationIdget_corporations_corporation_id_wallets
  • path/corporations/{corporation_id}/wallets/

View on ESI Site