github.com/antihax/goesi@v0.0.0-20240126031043-6c54d0cb7f95/esi/docs/CharacterApi.md (about)

     1  # \CharacterApi
     2  
     3  All URIs are relative to *https://esi.evetech.net*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**GetCharactersCharacterId**](CharacterApi.md#GetCharactersCharacterId) | **Get** /v5/characters/{character_id}/ | Get character's public information
     8  [**GetCharactersCharacterIdAgentsResearch**](CharacterApi.md#GetCharactersCharacterIdAgentsResearch) | **Get** /v2/characters/{character_id}/agents_research/ | Get agents research
     9  [**GetCharactersCharacterIdBlueprints**](CharacterApi.md#GetCharactersCharacterIdBlueprints) | **Get** /v3/characters/{character_id}/blueprints/ | Get blueprints
    10  [**GetCharactersCharacterIdCorporationhistory**](CharacterApi.md#GetCharactersCharacterIdCorporationhistory) | **Get** /v2/characters/{character_id}/corporationhistory/ | Get corporation history
    11  [**GetCharactersCharacterIdFatigue**](CharacterApi.md#GetCharactersCharacterIdFatigue) | **Get** /v2/characters/{character_id}/fatigue/ | Get jump fatigue
    12  [**GetCharactersCharacterIdMedals**](CharacterApi.md#GetCharactersCharacterIdMedals) | **Get** /v2/characters/{character_id}/medals/ | Get medals
    13  [**GetCharactersCharacterIdNotifications**](CharacterApi.md#GetCharactersCharacterIdNotifications) | **Get** /v5/characters/{character_id}/notifications/ | Get character notifications
    14  [**GetCharactersCharacterIdNotificationsContacts**](CharacterApi.md#GetCharactersCharacterIdNotificationsContacts) | **Get** /v2/characters/{character_id}/notifications/contacts/ | Get new contact notifications
    15  [**GetCharactersCharacterIdPortrait**](CharacterApi.md#GetCharactersCharacterIdPortrait) | **Get** /v2/characters/{character_id}/portrait/ | Get character portraits
    16  [**GetCharactersCharacterIdRoles**](CharacterApi.md#GetCharactersCharacterIdRoles) | **Get** /v3/characters/{character_id}/roles/ | Get character corporation roles
    17  [**GetCharactersCharacterIdStandings**](CharacterApi.md#GetCharactersCharacterIdStandings) | **Get** /v2/characters/{character_id}/standings/ | Get standings
    18  [**GetCharactersCharacterIdTitles**](CharacterApi.md#GetCharactersCharacterIdTitles) | **Get** /v2/characters/{character_id}/titles/ | Get character corporation titles
    19  [**PostCharactersAffiliation**](CharacterApi.md#PostCharactersAffiliation) | **Post** /v2/characters/affiliation/ | Character affiliation
    20  [**PostCharactersCharacterIdCspa**](CharacterApi.md#PostCharactersCharacterIdCspa) | **Post** /v5/characters/{character_id}/cspa/ | Calculate a CSPA charge cost
    21  
    22  
    23  # **GetCharactersCharacterId**
    24  > GetCharactersCharacterIdOk GetCharactersCharacterId(ctx, characterId, optional)
    25  Get character's public information
    26  
    27  Public information about a character  ---  This route is cached for up to 604800 seconds
    28  
    29  ### Required Parameters
    30  
    31  Name | Type | Description  | Notes
    32  ------------- | ------------- | ------------- | -------------
    33   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
    34    **characterId** | **int32**| An EVE character ID | 
    35   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
    36  
    37  ### Optional Parameters
    38  Optional parameters are passed through a map[string]interface{}.
    39  
    40  Name | Type | Description  | Notes
    41  ------------- | ------------- | ------------- | -------------
    42   **characterId** | **int32**| An EVE character ID | 
    43   **datasource** | **string**| The server name you would like data from | [default to tranquility]
    44   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
    45  
    46  ### Return type
    47  
    48  [**GetCharactersCharacterIdOk**](get_characters_character_id_ok.md)
    49  
    50  ### Authorization
    51  
    52  No authorization required
    53  
    54  ### HTTP request headers
    55  
    56   - **Content-Type**: application/json
    57   - **Accept**: application/json
    58  
    59  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
    60  
    61  # **GetCharactersCharacterIdAgentsResearch**
    62  > []GetCharactersCharacterIdAgentsResearch200Ok GetCharactersCharacterIdAgentsResearch(ctx, characterId, optional)
    63  Get agents research
    64  
    65  Return a list of agents research information for a character. The formula for finding the current research points with an agent is: currentPoints = remainderPoints + pointsPerDay * days(currentTime - researchStartDate)  ---  This route is cached for up to 3600 seconds
    66  
    67  ### Required Parameters
    68  
    69  Name | Type | Description  | Notes
    70  ------------- | ------------- | ------------- | -------------
    71   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
    72    **characterId** | **int32**| An EVE character ID | 
    73   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
    74  
    75  ### Optional Parameters
    76  Optional parameters are passed through a map[string]interface{}.
    77  
    78  Name | Type | Description  | Notes
    79  ------------- | ------------- | ------------- | -------------
    80   **characterId** | **int32**| An EVE character ID | 
    81   **datasource** | **string**| The server name you would like data from | [default to tranquility]
    82   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
    83   **token** | **string**| Access token to use if unable to set a header | 
    84  
    85  ### Return type
    86  
    87  [**[]GetCharactersCharacterIdAgentsResearch200Ok**](get_characters_character_id_agents_research_200_ok.md)
    88  
    89  ### Authorization
    90  
    91  [evesso](../README.md#evesso)
    92  
    93  ### HTTP request headers
    94  
    95   - **Content-Type**: application/json
    96   - **Accept**: application/json
    97  
    98  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
    99  
   100  # **GetCharactersCharacterIdBlueprints**
   101  > []GetCharactersCharacterIdBlueprints200Ok GetCharactersCharacterIdBlueprints(ctx, characterId, optional)
   102  Get blueprints
   103  
   104  Return a list of blueprints the character owns  ---  This route is cached for up to 3600 seconds
   105  
   106  ### Required Parameters
   107  
   108  Name | Type | Description  | Notes
   109  ------------- | ------------- | ------------- | -------------
   110   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   111    **characterId** | **int32**| An EVE character ID | 
   112   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   113  
   114  ### Optional Parameters
   115  Optional parameters are passed through a map[string]interface{}.
   116  
   117  Name | Type | Description  | Notes
   118  ------------- | ------------- | ------------- | -------------
   119   **characterId** | **int32**| An EVE character ID | 
   120   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   121   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
   122   **page** | **int32**| Which page of results to return | [default to 1]
   123   **token** | **string**| Access token to use if unable to set a header | 
   124  
   125  ### Return type
   126  
   127  [**[]GetCharactersCharacterIdBlueprints200Ok**](get_characters_character_id_blueprints_200_ok.md)
   128  
   129  ### Authorization
   130  
   131  [evesso](../README.md#evesso)
   132  
   133  ### HTTP request headers
   134  
   135   - **Content-Type**: application/json
   136   - **Accept**: application/json
   137  
   138  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   139  
   140  # **GetCharactersCharacterIdCorporationhistory**
   141  > []GetCharactersCharacterIdCorporationhistory200Ok GetCharactersCharacterIdCorporationhistory(ctx, characterId, optional)
   142  Get corporation history
   143  
   144  Get a list of all the corporations a character has been a member of  ---  This route is cached for up to 86400 seconds
   145  
   146  ### Required Parameters
   147  
   148  Name | Type | Description  | Notes
   149  ------------- | ------------- | ------------- | -------------
   150   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   151    **characterId** | **int32**| An EVE character ID | 
   152   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   153  
   154  ### Optional Parameters
   155  Optional parameters are passed through a map[string]interface{}.
   156  
   157  Name | Type | Description  | Notes
   158  ------------- | ------------- | ------------- | -------------
   159   **characterId** | **int32**| An EVE character ID | 
   160   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   161   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
   162  
   163  ### Return type
   164  
   165  [**[]GetCharactersCharacterIdCorporationhistory200Ok**](get_characters_character_id_corporationhistory_200_ok.md)
   166  
   167  ### Authorization
   168  
   169  No authorization required
   170  
   171  ### HTTP request headers
   172  
   173   - **Content-Type**: application/json
   174   - **Accept**: application/json
   175  
   176  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   177  
   178  # **GetCharactersCharacterIdFatigue**
   179  > GetCharactersCharacterIdFatigueOk GetCharactersCharacterIdFatigue(ctx, characterId, optional)
   180  Get jump fatigue
   181  
   182  Return a character's jump activation and fatigue information  ---  This route is cached for up to 300 seconds
   183  
   184  ### Required Parameters
   185  
   186  Name | Type | Description  | Notes
   187  ------------- | ------------- | ------------- | -------------
   188   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   189    **characterId** | **int32**| An EVE character ID | 
   190   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   191  
   192  ### Optional Parameters
   193  Optional parameters are passed through a map[string]interface{}.
   194  
   195  Name | Type | Description  | Notes
   196  ------------- | ------------- | ------------- | -------------
   197   **characterId** | **int32**| An EVE character ID | 
   198   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   199   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
   200   **token** | **string**| Access token to use if unable to set a header | 
   201  
   202  ### Return type
   203  
   204  [**GetCharactersCharacterIdFatigueOk**](get_characters_character_id_fatigue_ok.md)
   205  
   206  ### Authorization
   207  
   208  [evesso](../README.md#evesso)
   209  
   210  ### HTTP request headers
   211  
   212   - **Content-Type**: application/json
   213   - **Accept**: application/json
   214  
   215  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   216  
   217  # **GetCharactersCharacterIdMedals**
   218  > []GetCharactersCharacterIdMedals200Ok GetCharactersCharacterIdMedals(ctx, characterId, optional)
   219  Get medals
   220  
   221  Return a list of medals the character has  ---  This route is cached for up to 3600 seconds
   222  
   223  ### Required Parameters
   224  
   225  Name | Type | Description  | Notes
   226  ------------- | ------------- | ------------- | -------------
   227   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   228    **characterId** | **int32**| An EVE character ID | 
   229   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   230  
   231  ### Optional Parameters
   232  Optional parameters are passed through a map[string]interface{}.
   233  
   234  Name | Type | Description  | Notes
   235  ------------- | ------------- | ------------- | -------------
   236   **characterId** | **int32**| An EVE character ID | 
   237   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   238   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
   239   **token** | **string**| Access token to use if unable to set a header | 
   240  
   241  ### Return type
   242  
   243  [**[]GetCharactersCharacterIdMedals200Ok**](get_characters_character_id_medals_200_ok.md)
   244  
   245  ### Authorization
   246  
   247  [evesso](../README.md#evesso)
   248  
   249  ### HTTP request headers
   250  
   251   - **Content-Type**: application/json
   252   - **Accept**: application/json
   253  
   254  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   255  
   256  # **GetCharactersCharacterIdNotifications**
   257  > []GetCharactersCharacterIdNotifications200Ok GetCharactersCharacterIdNotifications(ctx, characterId, optional)
   258  Get character notifications
   259  
   260  Return character notifications  ---  This route is cached for up to 600 seconds
   261  
   262  ### Required Parameters
   263  
   264  Name | Type | Description  | Notes
   265  ------------- | ------------- | ------------- | -------------
   266   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   267    **characterId** | **int32**| An EVE character ID | 
   268   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   269  
   270  ### Optional Parameters
   271  Optional parameters are passed through a map[string]interface{}.
   272  
   273  Name | Type | Description  | Notes
   274  ------------- | ------------- | ------------- | -------------
   275   **characterId** | **int32**| An EVE character ID | 
   276   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   277   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
   278   **token** | **string**| Access token to use if unable to set a header | 
   279  
   280  ### Return type
   281  
   282  [**[]GetCharactersCharacterIdNotifications200Ok**](get_characters_character_id_notifications_200_ok.md)
   283  
   284  ### Authorization
   285  
   286  [evesso](../README.md#evesso)
   287  
   288  ### HTTP request headers
   289  
   290   - **Content-Type**: application/json
   291   - **Accept**: application/json
   292  
   293  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   294  
   295  # **GetCharactersCharacterIdNotificationsContacts**
   296  > []GetCharactersCharacterIdNotificationsContacts200Ok GetCharactersCharacterIdNotificationsContacts(ctx, characterId, optional)
   297  Get new contact notifications
   298  
   299  Return notifications about having been added to someone's contact list  ---  This route is cached for up to 600 seconds
   300  
   301  ### Required Parameters
   302  
   303  Name | Type | Description  | Notes
   304  ------------- | ------------- | ------------- | -------------
   305   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   306    **characterId** | **int32**| An EVE character ID | 
   307   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   308  
   309  ### Optional Parameters
   310  Optional parameters are passed through a map[string]interface{}.
   311  
   312  Name | Type | Description  | Notes
   313  ------------- | ------------- | ------------- | -------------
   314   **characterId** | **int32**| An EVE character ID | 
   315   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   316   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
   317   **token** | **string**| Access token to use if unable to set a header | 
   318  
   319  ### Return type
   320  
   321  [**[]GetCharactersCharacterIdNotificationsContacts200Ok**](get_characters_character_id_notifications_contacts_200_ok.md)
   322  
   323  ### Authorization
   324  
   325  [evesso](../README.md#evesso)
   326  
   327  ### HTTP request headers
   328  
   329   - **Content-Type**: application/json
   330   - **Accept**: application/json
   331  
   332  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   333  
   334  # **GetCharactersCharacterIdPortrait**
   335  > GetCharactersCharacterIdPortraitOk GetCharactersCharacterIdPortrait(ctx, characterId, optional)
   336  Get character portraits
   337  
   338  Get portrait urls for a character  ---  This route expires daily at 11:05
   339  
   340  ### Required Parameters
   341  
   342  Name | Type | Description  | Notes
   343  ------------- | ------------- | ------------- | -------------
   344   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   345    **characterId** | **int32**| An EVE character ID | 
   346   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   347  
   348  ### Optional Parameters
   349  Optional parameters are passed through a map[string]interface{}.
   350  
   351  Name | Type | Description  | Notes
   352  ------------- | ------------- | ------------- | -------------
   353   **characterId** | **int32**| An EVE character ID | 
   354   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   355   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
   356  
   357  ### Return type
   358  
   359  [**GetCharactersCharacterIdPortraitOk**](get_characters_character_id_portrait_ok.md)
   360  
   361  ### Authorization
   362  
   363  No authorization required
   364  
   365  ### HTTP request headers
   366  
   367   - **Content-Type**: application/json
   368   - **Accept**: application/json
   369  
   370  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   371  
   372  # **GetCharactersCharacterIdRoles**
   373  > GetCharactersCharacterIdRolesOk GetCharactersCharacterIdRoles(ctx, characterId, optional)
   374  Get character corporation roles
   375  
   376  Returns a character's corporation roles  ---  This route is cached for up to 3600 seconds
   377  
   378  ### Required Parameters
   379  
   380  Name | Type | Description  | Notes
   381  ------------- | ------------- | ------------- | -------------
   382   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   383    **characterId** | **int32**| An EVE character ID | 
   384   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   385  
   386  ### Optional Parameters
   387  Optional parameters are passed through a map[string]interface{}.
   388  
   389  Name | Type | Description  | Notes
   390  ------------- | ------------- | ------------- | -------------
   391   **characterId** | **int32**| An EVE character ID | 
   392   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   393   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
   394   **token** | **string**| Access token to use if unable to set a header | 
   395  
   396  ### Return type
   397  
   398  [**GetCharactersCharacterIdRolesOk**](get_characters_character_id_roles_ok.md)
   399  
   400  ### Authorization
   401  
   402  [evesso](../README.md#evesso)
   403  
   404  ### HTTP request headers
   405  
   406   - **Content-Type**: application/json
   407   - **Accept**: application/json
   408  
   409  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   410  
   411  # **GetCharactersCharacterIdStandings**
   412  > []GetCharactersCharacterIdStandings200Ok GetCharactersCharacterIdStandings(ctx, characterId, optional)
   413  Get standings
   414  
   415  Return character standings from agents, NPC corporations, and factions  ---  This route is cached for up to 3600 seconds
   416  
   417  ### Required Parameters
   418  
   419  Name | Type | Description  | Notes
   420  ------------- | ------------- | ------------- | -------------
   421   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   422    **characterId** | **int32**| An EVE character ID | 
   423   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   424  
   425  ### Optional Parameters
   426  Optional parameters are passed through a map[string]interface{}.
   427  
   428  Name | Type | Description  | Notes
   429  ------------- | ------------- | ------------- | -------------
   430   **characterId** | **int32**| An EVE character ID | 
   431   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   432   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
   433   **token** | **string**| Access token to use if unable to set a header | 
   434  
   435  ### Return type
   436  
   437  [**[]GetCharactersCharacterIdStandings200Ok**](get_characters_character_id_standings_200_ok.md)
   438  
   439  ### Authorization
   440  
   441  [evesso](../README.md#evesso)
   442  
   443  ### HTTP request headers
   444  
   445   - **Content-Type**: application/json
   446   - **Accept**: application/json
   447  
   448  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   449  
   450  # **GetCharactersCharacterIdTitles**
   451  > []GetCharactersCharacterIdTitles200Ok GetCharactersCharacterIdTitles(ctx, characterId, optional)
   452  Get character corporation titles
   453  
   454  Returns a character's titles  ---  This route is cached for up to 3600 seconds
   455  
   456  ### Required Parameters
   457  
   458  Name | Type | Description  | Notes
   459  ------------- | ------------- | ------------- | -------------
   460   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   461    **characterId** | **int32**| An EVE character ID | 
   462   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   463  
   464  ### Optional Parameters
   465  Optional parameters are passed through a map[string]interface{}.
   466  
   467  Name | Type | Description  | Notes
   468  ------------- | ------------- | ------------- | -------------
   469   **characterId** | **int32**| An EVE character ID | 
   470   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   471   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
   472   **token** | **string**| Access token to use if unable to set a header | 
   473  
   474  ### Return type
   475  
   476  [**[]GetCharactersCharacterIdTitles200Ok**](get_characters_character_id_titles_200_ok.md)
   477  
   478  ### Authorization
   479  
   480  [evesso](../README.md#evesso)
   481  
   482  ### HTTP request headers
   483  
   484   - **Content-Type**: application/json
   485   - **Accept**: application/json
   486  
   487  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   488  
   489  # **PostCharactersAffiliation**
   490  > []PostCharactersAffiliation200Ok PostCharactersAffiliation(ctx, characters, optional)
   491  Character affiliation
   492  
   493  Bulk lookup of character IDs to corporation, alliance and faction  ---  This route is cached for up to 3600 seconds
   494  
   495  ### Required Parameters
   496  
   497  Name | Type | Description  | Notes
   498  ------------- | ------------- | ------------- | -------------
   499   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   500    **characters** | **[]int32**| The character IDs to fetch affiliations for. All characters must exist, or none will be returned | 
   501   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   502  
   503  ### Optional Parameters
   504  Optional parameters are passed through a map[string]interface{}.
   505  
   506  Name | Type | Description  | Notes
   507  ------------- | ------------- | ------------- | -------------
   508   **characters** | **[]int32**| The character IDs to fetch affiliations for. All characters must exist, or none will be returned | 
   509   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   510  
   511  ### Return type
   512  
   513  [**[]PostCharactersAffiliation200Ok**](post_characters_affiliation_200_ok.md)
   514  
   515  ### Authorization
   516  
   517  No authorization required
   518  
   519  ### HTTP request headers
   520  
   521   - **Content-Type**: application/json
   522   - **Accept**: application/json
   523  
   524  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   525  
   526  # **PostCharactersCharacterIdCspa**
   527  > float32 PostCharactersCharacterIdCspa(ctx, characterId, characters, optional)
   528  Calculate a CSPA charge cost
   529  
   530  Takes a source character ID in the url and a set of target character ID's in the body, returns a CSPA charge cost  --- 
   531  
   532  ### Required Parameters
   533  
   534  Name | Type | Description  | Notes
   535  ------------- | ------------- | ------------- | -------------
   536   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   537    **characterId** | **int32**| An EVE character ID | 
   538    **characters** | **[]int32**| The target characters to calculate the charge for | 
   539   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   540  
   541  ### Optional Parameters
   542  Optional parameters are passed through a map[string]interface{}.
   543  
   544  Name | Type | Description  | Notes
   545  ------------- | ------------- | ------------- | -------------
   546   **characterId** | **int32**| An EVE character ID | 
   547   **characters** | **[]int32**| The target characters to calculate the charge for | 
   548   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   549   **token** | **string**| Access token to use if unable to set a header | 
   550  
   551  ### Return type
   552  
   553  **float32**
   554  
   555  ### Authorization
   556  
   557  [evesso](../README.md#evesso)
   558  
   559  ### HTTP request headers
   560  
   561   - **Content-Type**: application/json
   562   - **Accept**: application/json
   563  
   564  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   565