Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.factset.sdk.IRNConfiguration.api;
import com.factset.sdk.IRNConfiguration.ApiException;
import com.factset.sdk.IRNConfiguration.ApiClient;
import com.factset.sdk.IRNConfiguration.ApiResponse;
import com.factset.sdk.IRNConfiguration.Configuration;
import com.factset.sdk.IRNConfiguration.Pair;
import javax.ws.rs.core.GenericType;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import com.factset.sdk.IRNConfiguration.models.AuthorConfigDto;
import com.factset.sdk.IRNConfiguration.models.ClientSalesRepresentativeDto;
import com.factset.sdk.IRNConfiguration.models.CustomFieldConfigDto;
import com.factset.sdk.IRNConfiguration.models.GroupConfigDto;
import com.factset.sdk.IRNConfiguration.models.ProblemDetails;
import com.factset.sdk.IRNConfiguration.models.RecommendationConfigDto;
import com.factset.sdk.IRNConfiguration.models.SentimentConfigDto;
import com.factset.sdk.IRNConfiguration.models.SubjectConfigDto;
import com.factset.sdk.IRNConfiguration.models.SubjectSummaryDto;
import com.factset.sdk.IRNConfiguration.models.TeamConfigDto;
import com.factset.sdk.IRNConfiguration.models.TeamSummaryDto;
import com.factset.sdk.IRNConfiguration.models.UserConfigDto;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class NotesConfigurationApi {
private ApiClient apiClient;
public NotesConfigurationApi() {
this(Configuration.getDefaultApiClient());
}
public NotesConfigurationApi(ApiClient apiClient) {
this.apiClient = apiClient;
}
private static final Map getAssignedFactSetUsersResponseTypeMap = new HashMap();
static {
getAssignedFactSetUsersResponseTypeMap.put(200, new GenericType>(){});
}
private static final Map getAuthorsResponseTypeMap = new HashMap();
static {
getAuthorsResponseTypeMap.put(200, new GenericType>(){});
getAuthorsResponseTypeMap.put(403, new GenericType(){});
}
private static final Map getClientsSalesRepresentativeResponseTypeMap = new HashMap();
static {
getClientsSalesRepresentativeResponseTypeMap.put(200, new GenericType(){});
getClientsSalesRepresentativeResponseTypeMap.put(404, new GenericType(){});
}
private static final Map getCustomFieldsResponseTypeMap = new HashMap();
static {
getCustomFieldsResponseTypeMap.put(200, new GenericType>(){});
getCustomFieldsResponseTypeMap.put(403, new GenericType(){});
}
private static final Map getGroupResponseTypeMap = new HashMap();
static {
getGroupResponseTypeMap.put(200, new GenericType(){});
}
private static final Map getRecommendationsResponseTypeMap = new HashMap();
static {
getRecommendationsResponseTypeMap.put(200, new GenericType>(){});
}
private static final Map getSentimentsResponseTypeMap = new HashMap();
static {
getSentimentsResponseTypeMap.put(200, new GenericType>(){});
}
private static final Map getSubjectResponseTypeMap = new HashMap();
static {
getSubjectResponseTypeMap.put(200, new GenericType(){});
getSubjectResponseTypeMap.put(403, new GenericType(){});
getSubjectResponseTypeMap.put(404, new GenericType(){});
}
private static final Map getSubjectsResponseTypeMap = new HashMap();
static {
getSubjectsResponseTypeMap.put(200, new GenericType>(){});
getSubjectsResponseTypeMap.put(403, new GenericType(){});
}
private static final Map getTeamResponseTypeMap = new HashMap();
static {
getTeamResponseTypeMap.put(200, new GenericType(){});
getTeamResponseTypeMap.put(403, new GenericType(){});
getTeamResponseTypeMap.put(404, new GenericType(){});
}
private static final Map getTeamsResponseTypeMap = new HashMap();
static {
getTeamsResponseTypeMap.put(200, new GenericType>(){});
getTeamsResponseTypeMap.put(403, new GenericType(){});
}
/**
* Get the API client
*
* @return API client
*/
public ApiClient getApiClient() {
return apiClient;
}
/**
* Set the API client
*
* @param apiClient an instance of API client
*/
public void setApiClient(ApiClient apiClient) {
this.apiClient = apiClient;
}
/**
* Get all assigned FactSet users
*
* @return java.util.List
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
*/
public java.util.List getAssignedFactSetUsers() throws ApiException {
return getAssignedFactSetUsersWithHttpInfo().getData();
}
/**
* Get all assigned FactSet users
*
* @return ApiResponse<java.util.List>
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
*/
public ApiResponse> getAssignedFactSetUsersWithHttpInfo() throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/v1/users";
// query params
java.util.List localVarQueryParams = new java.util.ArrayList();
java.util.Map localVarHeaderParams = new java.util.HashMap();
java.util.Map localVarCookieParams = new java.util.HashMap();
java.util.Map localVarFormParams = new java.util.HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" };
ApiResponse<
java.util.List
> apiResponse = apiClient.invokeAPI("NotesConfigurationApi.getAssignedFactSetUsers", localVarPath, "GET", localVarQueryParams, localVarPostBody,
localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
localVarAuthNames, getAssignedFactSetUsersResponseTypeMap, false);
return apiResponse;
}
/**
* Get all Authors
*
* @param xIRNIgnorePermissions (optional, default to false)
* @return java.util.List
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
403
Forbidden
-
*/
public java.util.List getAuthors(Boolean xIRNIgnorePermissions) throws ApiException {
return getAuthorsWithHttpInfo(xIRNIgnorePermissions).getData();
}
/**
* Get all Authors
*
* @param xIRNIgnorePermissions (optional, default to false)
* @return ApiResponse<java.util.List>
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
403
Forbidden
-
*/
public ApiResponse> getAuthorsWithHttpInfo(Boolean xIRNIgnorePermissions) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/v1/authors";
// query params
java.util.List localVarQueryParams = new java.util.ArrayList();
java.util.Map localVarHeaderParams = new java.util.HashMap();
java.util.Map localVarCookieParams = new java.util.HashMap();
java.util.Map localVarFormParams = new java.util.HashMap();
if (xIRNIgnorePermissions != null)
localVarHeaderParams.put("X-IRN-Ignore-Permissions", apiClient.parameterToString(xIRNIgnorePermissions));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" };
ApiResponse<
java.util.List
> apiResponse = apiClient.invokeAPI("NotesConfigurationApi.getAuthors", localVarPath, "GET", localVarQueryParams, localVarPostBody,
localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
localVarAuthNames, getAuthorsResponseTypeMap, false);
return apiResponse;
}
/**
*
*
* @return ClientSalesRepresentativeDto
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
404
Not Found
-
*/
public ClientSalesRepresentativeDto getClientsSalesRepresentative() throws ApiException {
return getClientsSalesRepresentativeWithHttpInfo().getData();
}
/**
*
*
* @return ApiResponse<ClientSalesRepresentativeDto>
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
404
Not Found
-
*/
public ApiResponse getClientsSalesRepresentativeWithHttpInfo() throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/v1/group/client-sales-representative";
// query params
java.util.List localVarQueryParams = new java.util.ArrayList();
java.util.Map localVarHeaderParams = new java.util.HashMap();
java.util.Map localVarCookieParams = new java.util.HashMap();
java.util.Map localVarFormParams = new java.util.HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" };
ApiResponse<
ClientSalesRepresentativeDto
> apiResponse = apiClient.invokeAPI("NotesConfigurationApi.getClientsSalesRepresentative", localVarPath, "GET", localVarQueryParams, localVarPostBody,
localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
localVarAuthNames, getClientsSalesRepresentativeResponseTypeMap, false);
return apiResponse;
}
/**
* Get all Custom Fields
*
* @param xIRNIgnorePermissions (optional, default to false)
* @return java.util.List
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
403
Forbidden
-
*/
public java.util.List getCustomFields(Boolean xIRNIgnorePermissions) throws ApiException {
return getCustomFieldsWithHttpInfo(xIRNIgnorePermissions).getData();
}
/**
* Get all Custom Fields
*
* @param xIRNIgnorePermissions (optional, default to false)
* @return ApiResponse<java.util.List>
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
403
Forbidden
-
*/
public ApiResponse> getCustomFieldsWithHttpInfo(Boolean xIRNIgnorePermissions) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/v1/custom-fields";
// query params
java.util.List localVarQueryParams = new java.util.ArrayList();
java.util.Map localVarHeaderParams = new java.util.HashMap();
java.util.Map localVarCookieParams = new java.util.HashMap();
java.util.Map localVarFormParams = new java.util.HashMap();
if (xIRNIgnorePermissions != null)
localVarHeaderParams.put("X-IRN-Ignore-Permissions", apiClient.parameterToString(xIRNIgnorePermissions));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" };
ApiResponse<
java.util.List
> apiResponse = apiClient.invokeAPI("NotesConfigurationApi.getCustomFields", localVarPath, "GET", localVarQueryParams, localVarPostBody,
localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
localVarAuthNames, getCustomFieldsResponseTypeMap, false);
return apiResponse;
}
/**
* Get Group details
*
* @return GroupConfigDto
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
*/
public GroupConfigDto getGroup() throws ApiException {
return getGroupWithHttpInfo().getData();
}
/**
* Get Group details
*
* @return ApiResponse<GroupConfigDto>
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
*/
public ApiResponse getGroupWithHttpInfo() throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/v1/group";
// query params
java.util.List localVarQueryParams = new java.util.ArrayList();
java.util.Map localVarHeaderParams = new java.util.HashMap();
java.util.Map localVarCookieParams = new java.util.HashMap();
java.util.Map localVarFormParams = new java.util.HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" };
ApiResponse<
GroupConfigDto
> apiResponse = apiClient.invokeAPI("NotesConfigurationApi.getGroup", localVarPath, "GET", localVarQueryParams, localVarPostBody,
localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
localVarAuthNames, getGroupResponseTypeMap, false);
return apiResponse;
}
/**
* Get all Recommendations
*
* @return java.util.List
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
*/
public java.util.List getRecommendations() throws ApiException {
return getRecommendationsWithHttpInfo().getData();
}
/**
* Get all Recommendations
*
* @return ApiResponse<java.util.List>
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
*/
public ApiResponse> getRecommendationsWithHttpInfo() throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/v1/recommendations";
// query params
java.util.List localVarQueryParams = new java.util.ArrayList();
java.util.Map localVarHeaderParams = new java.util.HashMap();
java.util.Map localVarCookieParams = new java.util.HashMap();
java.util.Map localVarFormParams = new java.util.HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" };
ApiResponse<
java.util.List
> apiResponse = apiClient.invokeAPI("NotesConfigurationApi.getRecommendations", localVarPath, "GET", localVarQueryParams, localVarPostBody,
localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
localVarAuthNames, getRecommendationsResponseTypeMap, false);
return apiResponse;
}
/**
* Get all Sentiments
*
* @return java.util.List
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
*/
public java.util.List getSentiments() throws ApiException {
return getSentimentsWithHttpInfo().getData();
}
/**
* Get all Sentiments
*
* @return ApiResponse<java.util.List>
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
*/
public ApiResponse> getSentimentsWithHttpInfo() throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/v1/sentiments";
// query params
java.util.List localVarQueryParams = new java.util.ArrayList();
java.util.Map localVarHeaderParams = new java.util.HashMap();
java.util.Map localVarCookieParams = new java.util.HashMap();
java.util.Map localVarFormParams = new java.util.HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" };
ApiResponse<
java.util.List
> apiResponse = apiClient.invokeAPI("NotesConfigurationApi.getSentiments", localVarPath, "GET", localVarQueryParams, localVarPostBody,
localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
localVarAuthNames, getSentimentsResponseTypeMap, false);
return apiResponse;
}
/**
* Get Subject details for the given Id provided
*
* @param subjectId Id (required)
* @param xIRNIgnorePermissions (optional, default to false)
* @return SubjectConfigDto
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
403
Forbidden
-
404
Not Found
-
*/
public SubjectConfigDto getSubject(java.util.UUID subjectId, Boolean xIRNIgnorePermissions) throws ApiException {
return getSubjectWithHttpInfo(subjectId, xIRNIgnorePermissions).getData();
}
/**
* Get Subject details for the given Id provided
*
* @param subjectId Id (required)
* @param xIRNIgnorePermissions (optional, default to false)
* @return ApiResponse<SubjectConfigDto>
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
403
Forbidden
-
404
Not Found
-
*/
public ApiResponse getSubjectWithHttpInfo(java.util.UUID subjectId, Boolean xIRNIgnorePermissions) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'subjectId' is set
if (subjectId == null) {
throw new ApiException(400, "Missing the required parameter 'subjectId' when calling getSubject");
}
// create path and map variables
String localVarPath = "/v1/subjects/{subjectId}"
.replaceAll("\\{" + "subjectId" + "\\}", apiClient.escapeString(subjectId.toString()));
// query params
java.util.List localVarQueryParams = new java.util.ArrayList();
java.util.Map localVarHeaderParams = new java.util.HashMap();
java.util.Map localVarCookieParams = new java.util.HashMap();
java.util.Map localVarFormParams = new java.util.HashMap();
if (xIRNIgnorePermissions != null)
localVarHeaderParams.put("X-IRN-Ignore-Permissions", apiClient.parameterToString(xIRNIgnorePermissions));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" };
ApiResponse<
SubjectConfigDto
> apiResponse = apiClient.invokeAPI("NotesConfigurationApi.getSubject", localVarPath, "GET", localVarQueryParams, localVarPostBody,
localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
localVarAuthNames, getSubjectResponseTypeMap, false);
return apiResponse;
}
/**
* Get all Subjects
*
* @param xIRNIgnorePermissions (optional, default to false)
* @return java.util.List
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
403
Forbidden
-
*/
public java.util.List getSubjects(Boolean xIRNIgnorePermissions) throws ApiException {
return getSubjectsWithHttpInfo(xIRNIgnorePermissions).getData();
}
/**
* Get all Subjects
*
* @param xIRNIgnorePermissions (optional, default to false)
* @return ApiResponse<java.util.List>
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
403
Forbidden
-
*/
public ApiResponse> getSubjectsWithHttpInfo(Boolean xIRNIgnorePermissions) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/v1/subjects";
// query params
java.util.List localVarQueryParams = new java.util.ArrayList();
java.util.Map localVarHeaderParams = new java.util.HashMap();
java.util.Map localVarCookieParams = new java.util.HashMap();
java.util.Map localVarFormParams = new java.util.HashMap();
if (xIRNIgnorePermissions != null)
localVarHeaderParams.put("X-IRN-Ignore-Permissions", apiClient.parameterToString(xIRNIgnorePermissions));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" };
ApiResponse<
java.util.List
> apiResponse = apiClient.invokeAPI("NotesConfigurationApi.getSubjects", localVarPath, "GET", localVarQueryParams, localVarPostBody,
localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
localVarAuthNames, getSubjectsResponseTypeMap, false);
return apiResponse;
}
/**
* Get Team details for the given Id provided
*
* @param teamId Id (required)
* @param xIRNIgnorePermissions (optional, default to false)
* @return TeamConfigDto
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
403
Forbidden
-
404
Not Found
-
*/
public TeamConfigDto getTeam(java.util.UUID teamId, Boolean xIRNIgnorePermissions) throws ApiException {
return getTeamWithHttpInfo(teamId, xIRNIgnorePermissions).getData();
}
/**
* Get Team details for the given Id provided
*
* @param teamId Id (required)
* @param xIRNIgnorePermissions (optional, default to false)
* @return ApiResponse<TeamConfigDto>
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
403
Forbidden
-
404
Not Found
-
*/
public ApiResponse getTeamWithHttpInfo(java.util.UUID teamId, Boolean xIRNIgnorePermissions) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'teamId' is set
if (teamId == null) {
throw new ApiException(400, "Missing the required parameter 'teamId' when calling getTeam");
}
// create path and map variables
String localVarPath = "/v1/teams/{teamId}"
.replaceAll("\\{" + "teamId" + "\\}", apiClient.escapeString(teamId.toString()));
// query params
java.util.List localVarQueryParams = new java.util.ArrayList();
java.util.Map localVarHeaderParams = new java.util.HashMap();
java.util.Map localVarCookieParams = new java.util.HashMap();
java.util.Map localVarFormParams = new java.util.HashMap();
if (xIRNIgnorePermissions != null)
localVarHeaderParams.put("X-IRN-Ignore-Permissions", apiClient.parameterToString(xIRNIgnorePermissions));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" };
ApiResponse<
TeamConfigDto
> apiResponse = apiClient.invokeAPI("NotesConfigurationApi.getTeam", localVarPath, "GET", localVarQueryParams, localVarPostBody,
localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
localVarAuthNames, getTeamResponseTypeMap, false);
return apiResponse;
}
/**
* Get all Teams
*
* @param xIRNIgnorePermissions (optional, default to false)
* @return java.util.List
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
403
Forbidden
-
*/
public java.util.List getTeams(Boolean xIRNIgnorePermissions) throws ApiException {
return getTeamsWithHttpInfo(xIRNIgnorePermissions).getData();
}
/**
* Get all Teams
*
* @param xIRNIgnorePermissions (optional, default to false)
* @return ApiResponse<java.util.List>
* @throws ApiException if fails to make API call
* @http.response.details
Status Code
Description
Response Headers
200
Success
-
403
Forbidden
-
*/
public ApiResponse> getTeamsWithHttpInfo(Boolean xIRNIgnorePermissions) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/v1/teams";
// query params
java.util.List localVarQueryParams = new java.util.ArrayList();
java.util.Map localVarHeaderParams = new java.util.HashMap();
java.util.Map localVarCookieParams = new java.util.HashMap();
java.util.Map localVarFormParams = new java.util.HashMap();
if (xIRNIgnorePermissions != null)
localVarHeaderParams.put("X-IRN-Ignore-Permissions", apiClient.parameterToString(xIRNIgnorePermissions));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" };
ApiResponse<
java.util.List
> apiResponse = apiClient.invokeAPI("NotesConfigurationApi.getTeams", localVarPath, "GET", localVarQueryParams, localVarPostBody,
localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
localVarAuthNames, getTeamsResponseTypeMap, false);
return apiResponse;
}
}