Package com.mypurecloud.sdk.v2.api
Class IntentsApi
java.lang.Object
com.mypurecloud.sdk.v2.api.IntentsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete category for categoryIddeleteIntentsCategory(ApiRequest<Void> request) Delete category for categoryIdvoiddeleteIntentsCategory(String categoryId) Delete category for categoryIddeleteIntentsCategoryWithHttpInfo(String categoryId) Delete category for categoryIdvoidDelete customer intent for customerIntentIddeleteIntentsCustomerintent(ApiRequest<Void> request) Delete customer intent for customerIntentIdvoiddeleteIntentsCustomerintent(String customerIntentId) Delete customer intent for customerIntentIddeleteIntentsCustomerintentWithHttpInfo(String customerIntentId) Delete customer intent for customerIntentIdGet customer intent assignments for externalContactIdGet customer intent assignments for externalContactIdgetIntentsAssignmentsExternalcontact(String externalContactId, Integer pageSize, Integer pageNumber) Get customer intent assignments for externalContactIdgetIntentsAssignmentsExternalcontactWithHttpInfo(String externalContactId, Integer pageSize, Integer pageNumber) Get customer intent assignments for externalContactIdGet categoriesgetIntentsCategories(ApiRequest<Void> request) Get categoriesgetIntentsCategories(Integer pageSize, Integer pageNumber, String queryValue) Get categoriesgetIntentsCategoriesWithHttpInfo(Integer pageSize, Integer pageNumber, String queryValue) Get categoriesGet category for categoryIdgetIntentsCategory(ApiRequest<Void> request) Get category for categoryIdgetIntentsCategory(String categoryId) Get category for categoryIdgetIntentsCategoryWithHttpInfo(String categoryId) Get category for categoryIdGet customer intent for customerIntentIdgetIntentsCustomerintent(ApiRequest<Void> request) Get customer intent for customerIntentIdgetIntentsCustomerintent(String customerIntentId) Get customer intent for customerIntentIdGet customer intentsgetIntentsCustomerintents(ApiRequest<Void> request) Get customer intentsgetIntentsCustomerintents(Integer pageSize, Integer pageNumber, String queryValue, String categoryId) Get customer intentsGet source intents mapped to a customer intentGet source intents mapped to a customer intentgetIntentsCustomerintentSourceintents(String customerIntentId, Integer pageSize, Integer pageNumber, String queryValue) Get source intents mapped to a customer intentgetIntentsCustomerintentSourceintentsWithHttpInfo(String customerIntentId, Integer pageSize, Integer pageNumber, String queryValue) Get source intents mapped to a customer intentgetIntentsCustomerintentsWithHttpInfo(Integer pageSize, Integer pageNumber, String queryValue, String categoryId) Get customer intentsgetIntentsCustomerintentWithHttpInfo(String customerIntentId) Get customer intent for customerIntentIdGet all mapped source intents by type.getIntentsSourceintents(ApiRequest<Void> request) Get all mapped source intents by type.getIntentsSourceintents(Integer pageSize, Integer pageNumber, String type, String sourceId) Get all mapped source intents by type.getIntentsSourceintentsWithHttpInfo(Integer pageSize, Integer pageNumber, String type, String sourceId) Get all mapped source intents by type.Patch category for categoryIdPatch category for categoryIdpatchIntentsCategory(String categoryId, IntentsCategoryPatch body) Patch category for categoryIdpatchIntentsCategoryWithHttpInfo(String categoryId, IntentsCategoryPatch body) Patch category for categoryIdPatch customer intent for customerIntentIdPatch customer intent for customerIntentIdpatchIntentsCustomerintent(String customerIntentId, CustomerIntentPatch body) Patch customer intent for customerIntentIdpatchIntentsCustomerintentWithHttpInfo(String customerIntentId, CustomerIntentPatch body) Patch customer intent for customerIntentIdpostIntentsAssignmentsExternalcontactCustomerintentAssignment(PostIntentsAssignmentsExternalcontactCustomerintentAssignmentRequest request) Create customer intent assignment for external contactpostIntentsAssignmentsExternalcontactCustomerintentAssignment(ApiRequest<CustomerIntentAssignmentRequest> request) Create customer intent assignment for external contactpostIntentsAssignmentsExternalcontactCustomerintentAssignment(String externalContactId, String customerIntentId, CustomerIntentAssignmentRequest body) Create customer intent assignment for external contactpostIntentsAssignmentsExternalcontactCustomerintentAssignmentWithHttpInfo(String externalContactId, String customerIntentId, CustomerIntentAssignmentRequest body) Create customer intent assignment for external contactCreate categorypostIntentsCategories(ApiRequest<IntentsCategory> request) Create categoryCreate categoryCreate categoryCreate customer intentsCreate customer intentsCreate customer intentspostIntentsCustomerintentSourceintentsBulkAdd(PostIntentsCustomerintentSourceintentsBulkAddRequest request) Bulk add source intents to a customer intentBulk add source intents to a customer intentpostIntentsCustomerintentSourceintentsBulkAdd(String customerIntentId, BulkAddSourceIntentsRequest body) Bulk add source intents to a customer intentpostIntentsCustomerintentSourceintentsBulkAddWithHttpInfo(String customerIntentId, BulkAddSourceIntentsRequest body) Bulk add source intents to a customer intentpostIntentsCustomerintentSourceintentsBulkRemove(PostIntentsCustomerintentSourceintentsBulkRemoveRequest request) Bulk remove source intents mapped to a customer intentpostIntentsCustomerintentSourceintentsBulkRemove(ApiRequest<BulkRemoveSourceIntentsRequest> request) Bulk remove source intents mapped to a customer intentpostIntentsCustomerintentSourceintentsBulkRemove(String customerIntentId, BulkRemoveSourceIntentsRequest body) Bulk remove source intents mapped to a customer intentpostIntentsCustomerintentSourceintentsBulkRemoveWithHttpInfo(String customerIntentId, BulkRemoveSourceIntentsRequest body) Bulk remove source intents mapped to a customer intentCreate customer intents
-
Constructor Details
-
IntentsApi
public IntentsApi() -
IntentsApi
-
-
Method Details
-
deleteIntentsCategory
Delete category for categoryId- Parameters:
categoryId- Category id (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteIntentsCategoryWithHttpInfo
Delete category for categoryId- Parameters:
categoryId- Category id (required)- Throws:
IOException- if the request fails to be processed
-
deleteIntentsCategory
public void deleteIntentsCategory(DeleteIntentsCategoryRequest request) throws IOException, ApiException Delete category for categoryId- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteIntentsCategory
Delete category for categoryId- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
deleteIntentsCustomerintent
Delete customer intent for customerIntentId- Parameters:
customerIntentId- Customer Intent id (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteIntentsCustomerintentWithHttpInfo
public ApiResponse<Void> deleteIntentsCustomerintentWithHttpInfo(String customerIntentId) throws IOException Delete customer intent for customerIntentId- Parameters:
customerIntentId- Customer Intent id (required)- Throws:
IOException- if the request fails to be processed
-
deleteIntentsCustomerintent
public void deleteIntentsCustomerintent(DeleteIntentsCustomerintentRequest request) throws IOException, ApiException Delete customer intent for customerIntentId- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteIntentsCustomerintent
Delete customer intent for customerIntentId- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getIntentsAssignmentsExternalcontact
public CustomerIntentAssignmentListing getIntentsAssignmentsExternalcontact(String externalContactId, Integer pageSize, Integer pageNumber) throws IOException, ApiException Get customer intent assignments for externalContactId- Parameters:
externalContactId- External Contact id (required)pageSize- The total page size requested (optional, default to 25)pageNumber- The page number requested (optional, default to 1)- Returns:
- CustomerIntentAssignmentListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsAssignmentsExternalcontactWithHttpInfo
public ApiResponse<CustomerIntentAssignmentListing> getIntentsAssignmentsExternalcontactWithHttpInfo(String externalContactId, Integer pageSize, Integer pageNumber) throws IOException Get customer intent assignments for externalContactId- Parameters:
externalContactId- External Contact id (required)pageSize- The total page size requested (optional, default to 25)pageNumber- The page number requested (optional, default to 1)- Returns:
- CustomerIntentAssignmentListing
- Throws:
IOException- if the request fails to be processed
-
getIntentsAssignmentsExternalcontact
public CustomerIntentAssignmentListing getIntentsAssignmentsExternalcontact(GetIntentsAssignmentsExternalcontactRequest request) throws IOException, ApiException Get customer intent assignments for externalContactId- Parameters:
request- The request object- Returns:
- CustomerIntentAssignmentListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsAssignmentsExternalcontact
public ApiResponse<CustomerIntentAssignmentListing> getIntentsAssignmentsExternalcontact(ApiRequest<Void> request) throws IOException Get customer intent assignments for externalContactId- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getIntentsCategories
public IntentsCategoryListing getIntentsCategories(Integer pageSize, Integer pageNumber, String queryValue) throws IOException, ApiException Get categories- Parameters:
pageSize- The total page size requested (optional, default to 25)pageNumber- The page number requested (optional, default to 1)queryValue- Search query value to filter results by (optional)- Returns:
- IntentsCategoryListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsCategoriesWithHttpInfo
public ApiResponse<IntentsCategoryListing> getIntentsCategoriesWithHttpInfo(Integer pageSize, Integer pageNumber, String queryValue) throws IOException Get categories- Parameters:
pageSize- The total page size requested (optional, default to 25)pageNumber- The page number requested (optional, default to 1)queryValue- Search query value to filter results by (optional)- Returns:
- IntentsCategoryListing
- Throws:
IOException- if the request fails to be processed
-
getIntentsCategories
public IntentsCategoryListing getIntentsCategories(GetIntentsCategoriesRequest request) throws IOException, ApiException Get categories- Parameters:
request- The request object- Returns:
- IntentsCategoryListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsCategories
public ApiResponse<IntentsCategoryListing> getIntentsCategories(ApiRequest<Void> request) throws IOException Get categories- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getIntentsCategory
Get category for categoryId- Parameters:
categoryId- Category id (required)- Returns:
- IntentsCategory
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsCategoryWithHttpInfo
public ApiResponse<IntentsCategory> getIntentsCategoryWithHttpInfo(String categoryId) throws IOException Get category for categoryId- Parameters:
categoryId- Category id (required)- Returns:
- IntentsCategory
- Throws:
IOException- if the request fails to be processed
-
getIntentsCategory
public IntentsCategory getIntentsCategory(GetIntentsCategoryRequest request) throws IOException, ApiException Get category for categoryId- Parameters:
request- The request object- Returns:
- IntentsCategory
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsCategory
Get category for categoryId- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getIntentsCustomerintent
public CustomerIntentResponse getIntentsCustomerintent(String customerIntentId) throws IOException, ApiException Get customer intent for customerIntentId- Parameters:
customerIntentId- Customer Intent id (required)- Returns:
- CustomerIntentResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsCustomerintentWithHttpInfo
public ApiResponse<CustomerIntentResponse> getIntentsCustomerintentWithHttpInfo(String customerIntentId) throws IOException Get customer intent for customerIntentId- Parameters:
customerIntentId- Customer Intent id (required)- Returns:
- CustomerIntentResponse
- Throws:
IOException- if the request fails to be processed
-
getIntentsCustomerintent
public CustomerIntentResponse getIntentsCustomerintent(GetIntentsCustomerintentRequest request) throws IOException, ApiException Get customer intent for customerIntentId- Parameters:
request- The request object- Returns:
- CustomerIntentResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsCustomerintent
public ApiResponse<CustomerIntentResponse> getIntentsCustomerintent(ApiRequest<Void> request) throws IOException Get customer intent for customerIntentId- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getIntentsCustomerintentSourceintents
public CustomerSourceIntentListing getIntentsCustomerintentSourceintents(String customerIntentId, Integer pageSize, Integer pageNumber, String queryValue) throws IOException, ApiException Get source intents mapped to a customer intent- Parameters:
customerIntentId- Customer Intent id (required)pageSize- The total page size requested (optional, default to 25)pageNumber- The page number requested (optional, default to 1)queryValue- Search query value to filter results by (optional)- Returns:
- CustomerSourceIntentListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsCustomerintentSourceintentsWithHttpInfo
public ApiResponse<CustomerSourceIntentListing> getIntentsCustomerintentSourceintentsWithHttpInfo(String customerIntentId, Integer pageSize, Integer pageNumber, String queryValue) throws IOException Get source intents mapped to a customer intent- Parameters:
customerIntentId- Customer Intent id (required)pageSize- The total page size requested (optional, default to 25)pageNumber- The page number requested (optional, default to 1)queryValue- Search query value to filter results by (optional)- Returns:
- CustomerSourceIntentListing
- Throws:
IOException- if the request fails to be processed
-
getIntentsCustomerintentSourceintents
public CustomerSourceIntentListing getIntentsCustomerintentSourceintents(GetIntentsCustomerintentSourceintentsRequest request) throws IOException, ApiException Get source intents mapped to a customer intent- Parameters:
request- The request object- Returns:
- CustomerSourceIntentListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsCustomerintentSourceintents
public ApiResponse<CustomerSourceIntentListing> getIntentsCustomerintentSourceintents(ApiRequest<Void> request) throws IOException Get source intents mapped to a customer intent- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getIntentsCustomerintents
public CustomerIntentListing getIntentsCustomerintents(Integer pageSize, Integer pageNumber, String queryValue, String categoryId) throws IOException, ApiException Get customer intents- Parameters:
pageSize- The total page size requested (optional, default to 25)pageNumber- The page number requested (optional, default to 1)queryValue- Search query value to filter results by (optional)categoryId- CategoryId to filter query by (optional)- Returns:
- CustomerIntentListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsCustomerintentsWithHttpInfo
public ApiResponse<CustomerIntentListing> getIntentsCustomerintentsWithHttpInfo(Integer pageSize, Integer pageNumber, String queryValue, String categoryId) throws IOException Get customer intents- Parameters:
pageSize- The total page size requested (optional, default to 25)pageNumber- The page number requested (optional, default to 1)queryValue- Search query value to filter results by (optional)categoryId- CategoryId to filter query by (optional)- Returns:
- CustomerIntentListing
- Throws:
IOException- if the request fails to be processed
-
getIntentsCustomerintents
public CustomerIntentListing getIntentsCustomerintents(GetIntentsCustomerintentsRequest request) throws IOException, ApiException Get customer intents- Parameters:
request- The request object- Returns:
- CustomerIntentListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsCustomerintents
public ApiResponse<CustomerIntentListing> getIntentsCustomerintents(ApiRequest<Void> request) throws IOException Get customer intents- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getIntentsSourceintents
public CustomerSourceIntentListing getIntentsSourceintents(Integer pageSize, Integer pageNumber, String type, String sourceId) throws IOException, ApiException Get all mapped source intents by type. If no type selected default is type Segment- Parameters:
pageSize- The total page size requested (optional, default to 25)pageNumber- The page number requested (optional, default to 1)type- Source Type to query by. If none selected default response will be for type Segment. (optional)sourceId- Source Id to query by. Only required for sourceType: Copilot, Bot, Digitalbot (optional)- Returns:
- CustomerSourceIntentListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsSourceintentsWithHttpInfo
public ApiResponse<CustomerSourceIntentListing> getIntentsSourceintentsWithHttpInfo(Integer pageSize, Integer pageNumber, String type, String sourceId) throws IOException Get all mapped source intents by type. If no type selected default is type Segment- Parameters:
pageSize- The total page size requested (optional, default to 25)pageNumber- The page number requested (optional, default to 1)type- Source Type to query by. If none selected default response will be for type Segment. (optional)sourceId- Source Id to query by. Only required for sourceType: Copilot, Bot, Digitalbot (optional)- Returns:
- CustomerSourceIntentListing
- Throws:
IOException- if the request fails to be processed
-
getIntentsSourceintents
public CustomerSourceIntentListing getIntentsSourceintents(GetIntentsSourceintentsRequest request) throws IOException, ApiException Get all mapped source intents by type. If no type selected default is type Segment- Parameters:
request- The request object- Returns:
- CustomerSourceIntentListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIntentsSourceintents
public ApiResponse<CustomerSourceIntentListing> getIntentsSourceintents(ApiRequest<Void> request) throws IOException Get all mapped source intents by type. If no type selected default is type Segment- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchIntentsCategory
public IntentsCategory patchIntentsCategory(String categoryId, IntentsCategoryPatch body) throws IOException, ApiException Patch category for categoryId- Parameters:
categoryId- Category id (required)body- category (required)- Returns:
- IntentsCategory
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchIntentsCategoryWithHttpInfo
public ApiResponse<IntentsCategory> patchIntentsCategoryWithHttpInfo(String categoryId, IntentsCategoryPatch body) throws IOException Patch category for categoryId- Parameters:
categoryId- Category id (required)body- category (required)- Returns:
- IntentsCategory
- Throws:
IOException- if the request fails to be processed
-
patchIntentsCategory
public IntentsCategory patchIntentsCategory(PatchIntentsCategoryRequest request) throws IOException, ApiException Patch category for categoryId- Parameters:
request- The request object- Returns:
- IntentsCategory
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchIntentsCategory
public ApiResponse<IntentsCategory> patchIntentsCategory(ApiRequest<IntentsCategoryPatch> request) throws IOException Patch category for categoryId- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchIntentsCustomerintent
public CustomerIntentResponse patchIntentsCustomerintent(String customerIntentId, CustomerIntentPatch body) throws IOException, ApiException Patch customer intent for customerIntentId- Parameters:
customerIntentId- Customer Intent id (required)body- Customer intent (required)- Returns:
- CustomerIntentResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchIntentsCustomerintentWithHttpInfo
public ApiResponse<CustomerIntentResponse> patchIntentsCustomerintentWithHttpInfo(String customerIntentId, CustomerIntentPatch body) throws IOException Patch customer intent for customerIntentId- Parameters:
customerIntentId- Customer Intent id (required)body- Customer intent (required)- Returns:
- CustomerIntentResponse
- Throws:
IOException- if the request fails to be processed
-
patchIntentsCustomerintent
public CustomerIntentResponse patchIntentsCustomerintent(PatchIntentsCustomerintentRequest request) throws IOException, ApiException Patch customer intent for customerIntentId- Parameters:
request- The request object- Returns:
- CustomerIntentResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchIntentsCustomerintent
public ApiResponse<CustomerIntentResponse> patchIntentsCustomerintent(ApiRequest<CustomerIntentPatch> request) throws IOException Patch customer intent for customerIntentId- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postIntentsAssignmentsExternalcontactCustomerintentAssignment
public CustomerIntentAssignmentResponse postIntentsAssignmentsExternalcontactCustomerintentAssignment(String externalContactId, String customerIntentId, CustomerIntentAssignmentRequest body) throws IOException, ApiException Create customer intent assignment for external contact- Parameters:
externalContactId- External Contact id (required)customerIntentId- Customer Intent id (required)body- Customer intent assignment (required)- Returns:
- CustomerIntentAssignmentResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postIntentsAssignmentsExternalcontactCustomerintentAssignmentWithHttpInfo
public ApiResponse<CustomerIntentAssignmentResponse> postIntentsAssignmentsExternalcontactCustomerintentAssignmentWithHttpInfo(String externalContactId, String customerIntentId, CustomerIntentAssignmentRequest body) throws IOException Create customer intent assignment for external contact- Parameters:
externalContactId- External Contact id (required)customerIntentId- Customer Intent id (required)body- Customer intent assignment (required)- Returns:
- CustomerIntentAssignmentResponse
- Throws:
IOException- if the request fails to be processed
-
postIntentsAssignmentsExternalcontactCustomerintentAssignment
public CustomerIntentAssignmentResponse postIntentsAssignmentsExternalcontactCustomerintentAssignment(PostIntentsAssignmentsExternalcontactCustomerintentAssignmentRequest request) throws IOException, ApiException Create customer intent assignment for external contact- Parameters:
request- The request object- Returns:
- CustomerIntentAssignmentResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postIntentsAssignmentsExternalcontactCustomerintentAssignment
public ApiResponse<CustomerIntentAssignmentResponse> postIntentsAssignmentsExternalcontactCustomerintentAssignment(ApiRequest<CustomerIntentAssignmentRequest> request) throws IOException Create customer intent assignment for external contact- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postIntentsCategories
Create category- Parameters:
body- category (required)- Returns:
- IntentsCategory
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postIntentsCategoriesWithHttpInfo
public ApiResponse<IntentsCategory> postIntentsCategoriesWithHttpInfo(IntentsCategory body) throws IOException Create category- Parameters:
body- category (required)- Returns:
- IntentsCategory
- Throws:
IOException- if the request fails to be processed
-
postIntentsCategories
public IntentsCategory postIntentsCategories(PostIntentsCategoriesRequest request) throws IOException, ApiException Create category- Parameters:
request- The request object- Returns:
- IntentsCategory
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postIntentsCategories
public ApiResponse<IntentsCategory> postIntentsCategories(ApiRequest<IntentsCategory> request) throws IOException Create category- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postIntentsCustomerintentSourceintentsBulkAdd
public BulkSourceIntentsResponse postIntentsCustomerintentSourceintentsBulkAdd(String customerIntentId, BulkAddSourceIntentsRequest body) throws IOException, ApiException Bulk add source intents to a customer intent- Parameters:
customerIntentId- Customer Intent id (required)body- Source intents to be added (required)- Returns:
- BulkSourceIntentsResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postIntentsCustomerintentSourceintentsBulkAddWithHttpInfo
public ApiResponse<BulkSourceIntentsResponse> postIntentsCustomerintentSourceintentsBulkAddWithHttpInfo(String customerIntentId, BulkAddSourceIntentsRequest body) throws IOException Bulk add source intents to a customer intent- Parameters:
customerIntentId- Customer Intent id (required)body- Source intents to be added (required)- Returns:
- BulkSourceIntentsResponse
- Throws:
IOException- if the request fails to be processed
-
postIntentsCustomerintentSourceintentsBulkAdd
public BulkSourceIntentsResponse postIntentsCustomerintentSourceintentsBulkAdd(PostIntentsCustomerintentSourceintentsBulkAddRequest request) throws IOException, ApiException Bulk add source intents to a customer intent- Parameters:
request- The request object- Returns:
- BulkSourceIntentsResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postIntentsCustomerintentSourceintentsBulkAdd
public ApiResponse<BulkSourceIntentsResponse> postIntentsCustomerintentSourceintentsBulkAdd(ApiRequest<BulkAddSourceIntentsRequest> request) throws IOException Bulk add source intents to a customer intent- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postIntentsCustomerintentSourceintentsBulkRemove
public BulkSourceIntentsResponse postIntentsCustomerintentSourceintentsBulkRemove(String customerIntentId, BulkRemoveSourceIntentsRequest body) throws IOException, ApiException Bulk remove source intents mapped to a customer intent- Parameters:
customerIntentId- Customer Intent id (required)body- Source intents to be removed (required)- Returns:
- BulkSourceIntentsResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postIntentsCustomerintentSourceintentsBulkRemoveWithHttpInfo
public ApiResponse<BulkSourceIntentsResponse> postIntentsCustomerintentSourceintentsBulkRemoveWithHttpInfo(String customerIntentId, BulkRemoveSourceIntentsRequest body) throws IOException Bulk remove source intents mapped to a customer intent- Parameters:
customerIntentId- Customer Intent id (required)body- Source intents to be removed (required)- Returns:
- BulkSourceIntentsResponse
- Throws:
IOException- if the request fails to be processed
-
postIntentsCustomerintentSourceintentsBulkRemove
public BulkSourceIntentsResponse postIntentsCustomerintentSourceintentsBulkRemove(PostIntentsCustomerintentSourceintentsBulkRemoveRequest request) throws IOException, ApiException Bulk remove source intents mapped to a customer intent- Parameters:
request- The request object- Returns:
- BulkSourceIntentsResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postIntentsCustomerintentSourceintentsBulkRemove
public ApiResponse<BulkSourceIntentsResponse> postIntentsCustomerintentSourceintentsBulkRemove(ApiRequest<BulkRemoveSourceIntentsRequest> request) throws IOException Bulk remove source intents mapped to a customer intent- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postIntentsCustomerintents
public CustomerIntentResponse postIntentsCustomerintents(CustomerIntent body) throws IOException, ApiException Create customer intents- Parameters:
body- Customer intent (required)- Returns:
- CustomerIntentResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postIntentsCustomerintentsWithHttpInfo
public ApiResponse<CustomerIntentResponse> postIntentsCustomerintentsWithHttpInfo(CustomerIntent body) throws IOException Create customer intents- Parameters:
body- Customer intent (required)- Returns:
- CustomerIntentResponse
- Throws:
IOException- if the request fails to be processed
-
postIntentsCustomerintents
public CustomerIntentResponse postIntentsCustomerintents(PostIntentsCustomerintentsRequest request) throws IOException, ApiException Create customer intents- Parameters:
request- The request object- Returns:
- CustomerIntentResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postIntentsCustomerintents
public ApiResponse<CustomerIntentResponse> postIntentsCustomerintents(ApiRequest<CustomerIntent> request) throws IOException Create customer intents- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-