Querying Templates
Function Description
When submitting a service ticket, users need to enter the required information based on a template.
URI
GET /v1.0/servicerequest/case/template
Request
Request Parameters
Parameter |
Mandatory |
Type |
Value Range |
Description |
---|---|---|---|---|
businessTypeId |
Yes |
String |
64 |
Specifies the problem type ID. See Querying Service Ticket Problem Type to get the ID. |
Request Example
businessTypeId=12312313
Response Message
Response Parameters
Parameter |
Type |
Description |
---|---|---|
totalCount |
Integer |
Specifies the total number of templates. |
templateList |
List<Template> |
Specifies the list of service ticket template information. For details, see Table 2. |
Parameter |
Type |
Description |
---|---|---|
templateId |
String |
Specifies the template ID. |
templateName |
String |
Specifies the template name. |
templateContent |
String |
Specifies the template content. |
Example Response
{ "totalCount": 13, "templateList": [ { "templateId": "123", "templateName": "Event", "templateContent": "" }, { "templateId": "123", "templateName": "Quota", "templateContent": "" } ] }
Status Code
For details about status codes, see Status Codes.
Error Code
For details about error codes, see Historical Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.