Set the Default Summary Template
Set the default summary template for the tenant.
Request URL
PUT {base_url}/uc-ai/api/v1/summary-templates/default
Request parameters
- Headers
-
Parameter Required Type Description Authorization Yes String The access token used for authentication. Format: Bearer
{access_token}.x-tenant-code Yes String The tenant name. Note: You can obtain tenant name using the Query Tenants interface.
- Body parameters
-
Parameter Required Type Description templateId Yes Integer The ID of the summary template to set as the default. Note: You can obtain the ID using the Query Summary Templates interface.
Response parameters
| Parameter | Type | Description |
|---|---|---|
| requestId | String | The unique ID of the request, which can be used to quickly locate the request. |
| code | String | The HTTP status code of the request.
|
| message | String | The status message of the request. |
| detailMessage | String | The detailed error information. When the request is successful, this parameter returns empty. |
Example
Request example
PUT /uc-ai/api/v1/summary-templates/default HTTP/1.1
Host: api.cn.novoone.com
Authorization: Bearer eyJraWQiOiJjbi0wLWtleS0xIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJkaXN0cmlidXRvcmV4YW1wbGVAb3V0bG9vay5jb20iLCJhcHBfa2V5Ijoic2xOdnQzaHc1NXB2Vm5HRlNhR2ZOVTNmMWxYQ3lpa08iLCJncmFudF90eXBlIjoib3BlbmFwaSIsImNsaWVudF9leHQiOnsiZGVzY3JpcHRpb24iOiLnrKzkuInmlrnlkIjkvZzkvJnkvLTlupTnlKgiLCJwYXJ0bmVyIjoi56S65L6L5ZCI5L2c5LyZ5Ly0In0sImNsaWVudF90eXBlIjoib3BlbmFwaSIsImV4cCI6MTc5MjU2NzI3NywiaWF0IjoxNzkyNTQ1Njc3LCJqdGkiOiJlMmNkNjE5Ny1iNGY3LTQ2ZjItOTU5NC0wODBiYmEyYmI2YWYiLCJjbGllbnRfaWQiOiJub3ZvLW9wZW4tcGxhdGZvcm0iLCJ1c2VyX2V4dCI6eyJyb2xlSWRzIjpbM10sInN0eXBlIjoiQURNSU4iLCJ0ZW5hbnRDb2RlIjpudWxsLCJ0eXBlIjoiUF9BQ0NPVU5UIiwidXNlcklkIjozMDc2OTEzNjQ0OTE1OTk4NzIwLCJlbWFpbCI6ImRpc3RyaWJ1dG9yZXhhbXBsZUBvdXRsb29rLmNvbSIsInVzZXJuYW1lIjoiZGlzdHJpYnV0b3JleGFtcGxlQG91dGxvb2suY29tIiwidWNJZCI6MzA3NjkxMzY0NDg5MDgzMjg5Nn19.gcSnhONW7FfAWhnidO-5j8BL_670vVJMfyunKycxtSyTjcEXkia6o8unfZT7zwoIvrR9SEhcLVkGis_sUxMIVLeZuTeBMuny0kU3pzuYt8QJ531OT1YnrVw0uZcmRNmvVIVe9MfnPYeH3QONM7vZFYnHoN41cKKEEnYaHAXVQINKBHzzAiYGdt0ykRCJBsJIar8DbelygFpZvnsK2uCMNgEhatZdghlFTdv1pu7juPB1hyV9Lanx7FQDn4yx8uUwKQWBPITtuNnp6UAuwxnOq0b-XmYz689yyDSXUw09C_w05lKU6km3QUKtRuQjGz-Wr2pBPU-U1ajr6CU7nJO0ag
x-tenant-code: jint
Content-Type: application/json
{
"templateId": 2112715819776798721
}
Response example
HTTP/1.1 200 OK { "requestId": "a05f86de158ddfc8b131578de2153bfb", "code": "200", "message": "SUCCESS" }