@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ServiceNowIntegrationApi extends Object
| Constructor and Description |
|---|
ServiceNowIntegrationApi() |
ServiceNowIntegrationApi(ApiClient apiClient) |
public ServiceNowIntegrationApi()
public ServiceNowIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic ServiceNowTemplateResponse createServiceNowTemplate(ServiceNowTemplateCreateRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<ServiceNowTemplateResponse> createServiceNowTemplateAsync(ServiceNowTemplateCreateRequest body)
body - (required)public ApiResponse<ServiceNowTemplateResponse> createServiceNowTemplateWithHttpInfo(ServiceNowTemplateCreateRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad Request | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ServiceNowTemplateResponse>> createServiceNowTemplateWithHttpInfoAsync(ServiceNowTemplateCreateRequest body)
body - (required)public void deleteServiceNowTemplate(UUID templateId) throws ApiException
templateId - The ID of the ServiceNow template to delete (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteServiceNowTemplateAsync(UUID templateId)
See deleteServiceNowTemplateWithHttpInfoAsync(java.util.UUID).
templateId - The ID of the ServiceNow template to delete (required)public ApiResponse<Void> deleteServiceNowTemplateWithHttpInfo(UUID templateId) throws ApiException
templateId - The ID of the ServiceNow template to delete (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteServiceNowTemplateWithHttpInfoAsync(UUID templateId)
templateId - The ID of the ServiceNow template to delete (required)public ServiceNowTemplateResponse getServiceNowTemplate(UUID templateId) throws ApiException
templateId - The ID of the ServiceNow template to retrieve (required)ApiException - if fails to make API callpublic CompletableFuture<ServiceNowTemplateResponse> getServiceNowTemplateAsync(UUID templateId)
templateId - The ID of the ServiceNow template to retrieve (required)public ApiResponse<ServiceNowTemplateResponse> getServiceNowTemplateWithHttpInfo(UUID templateId) throws ApiException
templateId - The ID of the ServiceNow template to retrieve (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ServiceNowTemplateResponse>> getServiceNowTemplateWithHttpInfoAsync(UUID templateId)
templateId - The ID of the ServiceNow template to retrieve (required)public ServiceNowAssignmentGroupsResponse listServiceNowAssignmentGroups(UUID instanceId) throws ApiException
See listServiceNowAssignmentGroupsWithHttpInfo(java.util.UUID).
instanceId - The ID of the ServiceNow instance (required)ApiException - if fails to make API callpublic CompletableFuture<ServiceNowAssignmentGroupsResponse> listServiceNowAssignmentGroupsAsync(UUID instanceId)
See listServiceNowAssignmentGroupsWithHttpInfoAsync(java.util.UUID).
instanceId - The ID of the ServiceNow instance (required)public ApiResponse<ServiceNowAssignmentGroupsResponse> listServiceNowAssignmentGroupsWithHttpInfo(UUID instanceId) throws ApiException
instanceId - The ID of the ServiceNow instance (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ServiceNowAssignmentGroupsResponse>> listServiceNowAssignmentGroupsWithHttpInfoAsync(UUID instanceId)
See listServiceNowAssignmentGroupsWithHttpInfo(java.util.UUID).
instanceId - The ID of the ServiceNow instance (required)public ServiceNowBusinessServicesResponse listServiceNowBusinessServices(UUID instanceId) throws ApiException
See listServiceNowBusinessServicesWithHttpInfo(java.util.UUID).
instanceId - The ID of the ServiceNow instance (required)ApiException - if fails to make API callpublic CompletableFuture<ServiceNowBusinessServicesResponse> listServiceNowBusinessServicesAsync(UUID instanceId)
See listServiceNowBusinessServicesWithHttpInfoAsync(java.util.UUID).
instanceId - The ID of the ServiceNow instance (required)public ApiResponse<ServiceNowBusinessServicesResponse> listServiceNowBusinessServicesWithHttpInfo(UUID instanceId) throws ApiException
instanceId - The ID of the ServiceNow instance (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ServiceNowBusinessServicesResponse>> listServiceNowBusinessServicesWithHttpInfoAsync(UUID instanceId)
See listServiceNowBusinessServicesWithHttpInfo(java.util.UUID).
instanceId - The ID of the ServiceNow instance (required)public ServiceNowInstancesResponse listServiceNowInstances() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<ServiceNowInstancesResponse> listServiceNowInstancesAsync()
public ApiResponse<ServiceNowInstancesResponse> listServiceNowInstancesWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ServiceNowInstancesResponse>> listServiceNowInstancesWithHttpInfoAsync()
public ServiceNowTemplatesResponse listServiceNowTemplates() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<ServiceNowTemplatesResponse> listServiceNowTemplatesAsync()
public ApiResponse<ServiceNowTemplatesResponse> listServiceNowTemplatesWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ServiceNowTemplatesResponse>> listServiceNowTemplatesWithHttpInfoAsync()
public ServiceNowUsersResponse listServiceNowUsers(UUID instanceId) throws ApiException
instanceId - The ID of the ServiceNow instance (required)ApiException - if fails to make API callpublic CompletableFuture<ServiceNowUsersResponse> listServiceNowUsersAsync(UUID instanceId)
instanceId - The ID of the ServiceNow instance (required)public ApiResponse<ServiceNowUsersResponse> listServiceNowUsersWithHttpInfo(UUID instanceId) throws ApiException
instanceId - The ID of the ServiceNow instance (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ServiceNowUsersResponse>> listServiceNowUsersWithHttpInfoAsync(UUID instanceId)
instanceId - The ID of the ServiceNow instance (required)public ServiceNowTemplateResponse updateServiceNowTemplate(UUID templateId, ServiceNowTemplateUpdateRequest body) throws ApiException
templateId - The ID of the ServiceNow template to update (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<ServiceNowTemplateResponse> updateServiceNowTemplateAsync(UUID templateId, ServiceNowTemplateUpdateRequest body)
templateId - The ID of the ServiceNow template to update (required)body - (required)public ApiResponse<ServiceNowTemplateResponse> updateServiceNowTemplateWithHttpInfo(UUID templateId, ServiceNowTemplateUpdateRequest body) throws ApiException
templateId - The ID of the ServiceNow template to update (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ServiceNowTemplateResponse>> updateServiceNowTemplateWithHttpInfoAsync(UUID templateId, ServiceNowTemplateUpdateRequest body)
templateId - The ID of the ServiceNow template to update (required)body - (required)Copyright © 2026. All rights reserved.