All Products
Search
Document Center

Data Management:ListClassificationTemplates

Last Updated:Oct 21, 2024

Queries the classification templates.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
TidlongNo

The ID of the tenant.

Note To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant.
3***

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

90260530-565C-42B9-A6E8-893481FE6AB6
Successboolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true
ErrorMessagestring

The error message returned if the request failed.

UnknownError
ErrorCodestring

The error code returned if the request failed.

UnknownError
TemplateListarray<object>

The list of templates.

TemplateListobject
TemplateIdlong

The ID of the classification template.

3**
Namestring

The name of the classification template.

test
TemplateTypestring

The type of the classification template. Valid values:

  • INNER: built-in template
  • USER_DEFINE: custom template
USER_DEFINE
Remarkstring

The remarks.

test

Examples

Sample success responses

JSONformat

{
  "RequestId": "90260530-565C-42B9-A6E8-893481FE6AB6",
  "Success": true,
  "ErrorMessage": "UnknownError",
  "ErrorCode": "UnknownError",
  "TemplateList": [
    {
      "TemplateId": 0,
      "Name": "test",
      "TemplateType": "USER_DEFINE",
      "Remark": "test"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history