GetSummaryTemplate
Retrieves the content of a session summary template.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateId |
string |
Yes |
The template ID. |
43c2671b-8939-4223-86d0-6bd187905cc8_1717664210492 |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
GetSummaryTemplateResponse |
||
| Data |
object |
The data. |
|
| InstanceId |
string |
The instance ID. |
ccc-test |
| TemplateId |
string |
The template ID. |
43c2671b-8939-4223-86d0-6bd187905cc8_1717664210492 |
| CategoryId |
string |
The ID of the summary category. |
8939-4223-86d0-6bd187905cc8 |
| Name |
string |
The template name. |
Test template |
| State |
string |
The status code. Valid values:
|
Enabled |
| Editor |
string |
The template editor. |
editor-xxx@ccc-test |
| PropertyList |
array<object> |
The list of template fields. |
|
|
object |
The field definition. |
||
| DisplayName |
string |
The display name. |
DisplayName-A |
| Description |
string |
The field description. |
Description-xxxx |
| Name |
string |
The field name. |
Name-A |
| DataType |
string |
The data type. |
string |
| Pattern |
string |
The regular expression validation rule. |
^ |
| PatternErrorMessage |
string |
The error message for regular expression validation. |
Not a valid email address |
| MinLength |
integer |
The minimum length. |
1 |
| MaxLength |
integer |
The maximum length. |
30 |
| Minimum |
number |
The minimum numeric value. |
1 |
| Maximum |
number |
The maximum numeric value. |
10 |
| Required |
boolean |
Indicates whether the field is required. |
false |
| System |
boolean |
Indicates whether the field is a system field. |
false |
| Disabled |
boolean |
Indicates whether the field is disabled. |
false |
| Array |
boolean |
Indicates whether the field is an array. |
false |
| ReadOnly |
boolean |
Indicates whether the field is read-only. |
false |
| EditorType |
string |
The editor type. |
textbox |
| Attributes |
string |
The extended attributes. |
{} |
| DisplayOrder |
integer |
The display order in the list. |
1 |
| CreatedTime |
integer |
The creation time. The value is a UNIX timestamp in milliseconds. |
1717664210000 |
| UpdatedTime |
integer |
The update time. The value is a UNIX timestamp in milliseconds. |
1717664210000 |
| Creator |
string |
The creator. |
cretor-xxx@ccc-test |
| RequestId |
string |
The request ID. |
30C7D235-DDCF-4C7F-A462-5E2598252C2B |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The response code. |
OK |
| Message |
string |
The response message. |
None |
| Params |
array |
The list of error parameters. |
|
|
string |
The error parameter. |
None |
Examples
Success response
JSON format
{
"Data": {
"InstanceId": "ccc-test",
"TemplateId": "43c2671b-8939-4223-86d0-6bd187905cc8_1717664210492\n",
"CategoryId": "8939-4223-86d0-6bd187905cc8",
"Name": "测试模板",
"State": "Enabled",
"Editor": "editor-xxx@ccc-test",
"PropertyList": [
{
"DisplayName": "DisplayName-A",
"Description": "Description-xxxx",
"Name": "Name-A",
"DataType": "string\n",
"Pattern": "^",
"PatternErrorMessage": "不是有效的email地址\n",
"MinLength": 1,
"MaxLength": 30,
"Minimum": 1,
"Maximum": 10,
"Required": false,
"System": false,
"Disabled": false,
"Array": false,
"ReadOnly": false,
"EditorType": "textbox",
"Attributes": "{}",
"DisplayOrder": 1,
"CreatedTime": 1717664210000,
"UpdatedTime": 1717664210000,
"Creator": "cretor-xxx@ccc-test\n"
}
]
},
"RequestId": "30C7D235-DDCF-4C7F-A462-5E2598252C2B",
"HttpStatusCode": 200,
"Code": "OK",
"Message": "无",
"Params": [
"无"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | NotExists.InstanceId | The specified instance %s does not exist. | The specified call center instance does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.