code: public ApiResponse<List<CharacterAffiliationResponse>> postCharactersAffiliationWithHttpInfo(
              List<Integer> requestBody, String datasource) throws ApiException {
          com.squareup.okhttp.Call call = postCharactersAffiliationValidateBeforeCall(requestBody, datasource, null);
          Type localVarReturnType = new TypeToken<List<CharacterAffiliationResponse>>() {
          }.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Character affiliation Bulk lookup of character IDs to corporation,
  alliance and faction --- This route is cached for up to 3600 seconds
  
  @param requestBody
  The character IDs to fetch affiliations for. All characters
  must exist, or none will be returned (required)
  @param datasource
  The server name you would like data from (optional, default to
  tranquility)
  @return ApiResponse&lt;List&lt;CharacterAffiliationResponse&gt;&gt;
  @throws ApiException
  If fail to call the API, e.g. server error or cannot
  deserialize the response body