Skip to main content

GetCustomText

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 Resources is 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.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:GetCustomTextget
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample
AgentKeystringYes

Workspace unique identifier: AgentKey

xxxxx_p_efm
IdlongYes

Primary key ID

63
CommodityCodestringNo

Product code

Product code

Response elements

NameTypeDescriptionExample
object

PlainResult

Codestring

The status code.

NoData
Dataobject

The business data.

Contentstring

Content

Content
CreateTimestring

Creation time

Creation time
CreateUserstring

Created by

Created by
Idlong

Primary key ID

34
Titlestring

Title

Title
UpdateTimestring

Update time

Update time
UpdateUserstring

Updated by

Updated by
HttpStatusCodeinteger

The HTTP status code.

200
Messagestring

The error description.

success
RequestIdstring

The unique ID of the request.

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

Indicates whether the request was successful: true for success, false for failure.

true

Examples

Success response JSON format
{
  "Code": "NoData",
  "Data": {
    "Content": "Content",
    "CreateTime": "Creation time",
    "CreateUser": "Created by",
    "Id": 34,
    "Title": "Title",
    "UpdateTime": "Update time",
    "UpdateUser": "Updated by"
  },
  "HttpStatusCode": 200,
  "Message": "success",
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Success": true
}

Error codes

For more error codes, visit Error Center.