github.com/twilio/twilio-go@v1.20.1/rest/flex/v1/docs/InsightsQualityManagementCategoriesApi.md (about) 1 # InsightsQualityManagementCategoriesApi 2 3 All URIs are relative to *https://flex-api.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**CreateInsightsQuestionnairesCategory**](InsightsQualityManagementCategoriesApi.md#CreateInsightsQuestionnairesCategory) | **Post** /v1/Insights/QualityManagement/Categories | 8 [**DeleteInsightsQuestionnairesCategory**](InsightsQualityManagementCategoriesApi.md#DeleteInsightsQuestionnairesCategory) | **Delete** /v1/Insights/QualityManagement/Categories/{CategorySid} | 9 [**ListInsightsQuestionnairesCategory**](InsightsQualityManagementCategoriesApi.md#ListInsightsQuestionnairesCategory) | **Get** /v1/Insights/QualityManagement/Categories | 10 [**UpdateInsightsQuestionnairesCategory**](InsightsQualityManagementCategoriesApi.md#UpdateInsightsQuestionnairesCategory) | **Post** /v1/Insights/QualityManagement/Categories/{CategorySid} | 11 12 13 14 ## CreateInsightsQuestionnairesCategory 15 16 > FlexV1InsightsQuestionnairesCategory CreateInsightsQuestionnairesCategory(ctx, optional) 17 18 19 20 To create a category for Questions 21 22 ### Path Parameters 23 24 This endpoint does not need any path parameter. 25 26 ### Other Parameters 27 28 Other parameters are passed through a pointer to a CreateInsightsQuestionnairesCategoryParams struct 29 30 31 Name | Type | Description 32 ------------- | ------------- | ------------- 33 **Authorization** | **string** | The Authorization HTTP request header 34 **Name** | **string** | The name of this category. 35 36 ### Return type 37 38 [**FlexV1InsightsQuestionnairesCategory**](FlexV1InsightsQuestionnairesCategory.md) 39 40 ### Authorization 41 42 [accountSid_authToken](../README.md#accountSid_authToken) 43 44 ### HTTP request headers 45 46 - **Content-Type**: application/x-www-form-urlencoded 47 - **Accept**: application/json 48 49 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 50 [[Back to Model list]](../README.md#documentation-for-models) 51 [[Back to README]](../README.md) 52 53 54 ## DeleteInsightsQuestionnairesCategory 55 56 > DeleteInsightsQuestionnairesCategory(ctx, CategorySidoptional) 57 58 59 60 61 62 ### Path Parameters 63 64 65 Name | Type | Description 66 ------------- | ------------- | ------------- 67 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 68 **CategorySid** | **string** | The SID of the category to be deleted 69 70 ### Other Parameters 71 72 Other parameters are passed through a pointer to a DeleteInsightsQuestionnairesCategoryParams struct 73 74 75 Name | Type | Description 76 ------------- | ------------- | ------------- 77 **Authorization** | **string** | The Authorization HTTP request header 78 79 ### Return type 80 81 (empty response body) 82 83 ### Authorization 84 85 [accountSid_authToken](../README.md#accountSid_authToken) 86 87 ### HTTP request headers 88 89 - **Content-Type**: Not defined 90 - **Accept**: Not defined 91 92 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 93 [[Back to Model list]](../README.md#documentation-for-models) 94 [[Back to README]](../README.md) 95 96 97 ## ListInsightsQuestionnairesCategory 98 99 > []FlexV1InsightsQuestionnairesCategory ListInsightsQuestionnairesCategory(ctx, optional) 100 101 102 103 To get all the categories 104 105 ### Path Parameters 106 107 This endpoint does not need any path parameter. 108 109 ### Other Parameters 110 111 Other parameters are passed through a pointer to a ListInsightsQuestionnairesCategoryParams struct 112 113 114 Name | Type | Description 115 ------------- | ------------- | ------------- 116 **Authorization** | **string** | The Authorization HTTP request header 117 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 118 **Limit** | **int** | Max number of records to return. 119 120 ### Return type 121 122 [**[]FlexV1InsightsQuestionnairesCategory**](FlexV1InsightsQuestionnairesCategory.md) 123 124 ### Authorization 125 126 [accountSid_authToken](../README.md#accountSid_authToken) 127 128 ### HTTP request headers 129 130 - **Content-Type**: Not defined 131 - **Accept**: application/json 132 133 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 134 [[Back to Model list]](../README.md#documentation-for-models) 135 [[Back to README]](../README.md) 136 137 138 ## UpdateInsightsQuestionnairesCategory 139 140 > FlexV1InsightsQuestionnairesCategory UpdateInsightsQuestionnairesCategory(ctx, CategorySidoptional) 141 142 143 144 To update the category for Questions 145 146 ### Path Parameters 147 148 149 Name | Type | Description 150 ------------- | ------------- | ------------- 151 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 152 **CategorySid** | **string** | The SID of the category to be updated 153 154 ### Other Parameters 155 156 Other parameters are passed through a pointer to a UpdateInsightsQuestionnairesCategoryParams struct 157 158 159 Name | Type | Description 160 ------------- | ------------- | ------------- 161 **Authorization** | **string** | The Authorization HTTP request header 162 **Name** | **string** | The name of this category. 163 164 ### Return type 165 166 [**FlexV1InsightsQuestionnairesCategory**](FlexV1InsightsQuestionnairesCategory.md) 167 168 ### Authorization 169 170 [accountSid_authToken](../README.md#accountSid_authToken) 171 172 ### HTTP request headers 173 174 - **Content-Type**: application/x-www-form-urlencoded 175 - **Accept**: application/json 176 177 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 178 [[Back to Model list]](../README.md#documentation-for-models) 179 [[Back to README]](../README.md) 180