Retrieve custom text.
Try it now
You can run this API directly in OpenAPI Explorer, sparing you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Try it now
RAM authorization
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. Details are as follows:
- Action: The specific permission point.
- Access level: The access level of each action. Valid values: Write, Read, or List.
-
Resource type: The resource types that support authorization for the action. Details are as follows:
- Required resource types are marked with a leading *.
- For actions that do not support resource-level authorization,
All Resourcesis used.
- Condition key: The condition keys defined by the cloud service itself.
- Dependent action: The other permissions required to successfully perform the action. The caller must have the permissions of all dependent actions before the action can succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:GetCustomText | get | *All Resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| AgentKey | string | Yes | Workspace unique identifier: AgentKey | xxxxx_p_efm |
| Id | long | Yes | Primary key ID | 63 |
| CommodityCode | string | No | Product code | Product code |
Response elements
| Name | Type | Description | Example |
|---|---|---|---|
| object | PlainResult | ||
| Code | string | The status code. | NoData |
| Data | object | The business data. | |
| Content | string | Content | Content |
| CreateTime | string | Creation time | Creation time |
| CreateUser | string | Created by | Created by |
| Id | long | Primary key ID | 34 |
| Title | string | Title | Title |
| UpdateTime | string | Update time | Update time |
| UpdateUser | string | Updated by | Updated by |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Message | string | The error description. | success |
| RequestId | string | The unique ID of the request. | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Indicates whether the request was successful: true for success, false for failure. | true |
Examples
Success response
JSON format