Skip to main content

ListCustomText

Retrieve a list of custom texts.

Debug

You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples. Debug

Authorization information

The following table describes the authorization information for this API. You can use it in the Action element of a RAM permission policy statement to grant a RAM user or RAM role the permission to call this API. For more information, see the following:
  • Action: the specific permission point.
  • Access level: the access level of each operation. Valid values: Write, Read, or List.
  • Resource type: the resource types that support authorization for the operation. For more information, see the following:
    • Required resource types are marked with a leading asterisk (*).
    • For operations that do not support resource-level authorization, All Resources is used.
  • Condition key: the condition keys defined by the cloud service itself.
  • Dependent action: the other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:ListCustomTextlist
*All Resources
*
    None
None

Request parameters

ParameterTypeRequiredDescriptionExample
AgentKeystringYes

Unique identifier of the workspace: AgentKey

xxxxx_p_efm
CommodityCodestringNo

Commodity code.

commodityCode

Response elements

ElementTypeDescriptionExample
object

PlainResult

Codestring

Status code.

successful
Dataarray<object>

Business data.

Dataobject

Document object.

Contentstring

Content.

content
CreateTimestring

Creation time.

creation time
CreateUserstring

Creator.

creator
Idlong

Primary key ID.

40
Titlestring

Title.

title
UpdateTimestring

Update time.

update time
UpdateUserstring

Modifier.

modifier
HttpStatusCodeinteger

HTTP status code.

200
Messagestring

Error description.

successful
RequestIdstring

Unique request ID.

1813ceee-7fe5-41b4-87e5-982a4d18cca5
Successboolean

Indicates whether the request is successful. true: successful, false: failed.

true

Examples

Success response JSON format
{
  "Code": "successful",
  "Data": [
    {
      "Content": "内容",
      "CreateTime": "创建时间",
      "CreateUser": "创建用户",
      "Id": 40,
      "Title": "标题",
      "UpdateTime": "修改时间",
      "UpdateUser": "修改用户"
    }
  ],
  "HttpStatusCode": 200,
  "Message": "successful",
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Success": true
}

Error codes

Visit the Error Center to view more error codes.