public ApiResponse<CharacterOnlineResponse> getCharactersCharacterIdOnlineWithHttpInfo(Integer characterId,
            String datasource, String ifNoneMatch, String token) throws ApiException {
        com.squareup.okhttp.Call call = getCharactersCharacterIdOnlineValidateBeforeCall(characterId, datasource,
                ifNoneMatch, token, null);
        Type localVarReturnType = new TypeToken<CharacterOnlineResponse>() {
        }.getType();
        return apiClient.execute(call, localVarReturnType);
    }
public ApiResponse < CharacterOnlineResponse > getCharactersCharacterIdOnlineWithHttpInfo ( Integer characterId , String datasource , String ifNoneMatch , String token ) throws ApiException { com . squareup . okhttp . Call call = getCharactersCharacterIdOnlineValidateBeforeCall ( characterId , datasource , ifNoneMatch , token , null ) ; Type localVarReturnType = new TypeToken < CharacterOnlineResponse > ( ) { } . getType ( ) ; return apiClient . execute ( call , localVarReturnType ) ; }
Get character online Checks if the character is currently online --- This
route is cached for up to 60 seconds SSO Scope:
esi-location.read_online.v1

@param characterId
An EVE character ID (required)
@param datasource
The server name you would like data from (optional, default to
tranquility)
@param ifNoneMatch
ETag from a previous request. A 304 will be returned if this
matches the current ETag (optional)
@param token
Access token to use if unable to set a header (optional)
@return ApiResponse&lt;CharacterOnlineResponse&gt;
@throws ApiException
If fail to call the API, e.g. server error or cannot
deserialize the response body