GetRichText
Retrieves rich text information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:GetRichText |
get |
*All Resource
|
None | None |
Request syntax
POST /rich/detail HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| richTextId |
integer |
No |
The rich text ID. |
140080050 |
| instanceId |
integer |
No |
The resource ID. |
140080050 |
| instanceType |
string |
No |
The resource type. Valid values:
|
INCIDENT |
{ "richTextId" : 111111, "instanceId" : 111111111, "instanceType" : "INCIDENT" }
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure. |
||
| requestId |
string |
The request ID. |
4AA343E4-AB98-56D9-B699-D932902BA3EC |
| data |
object |
The returned data. |
|
| instanceId |
integer |
The resource ID. |
140080050 |
| richText |
string |
The rich text content. |
This is rich text |
| instanceType |
integer |
The resource type. Valid values:
|
0 |
{ "elapsedTime": 0, "requestId": "4AA343E4-AB98-56D9-B699-D932902BA3EC", "success": true, "errCode": 200, "errMessage": null, "data": { "id": 140080050, "instanceId": 133, "instanceType": 0, "richText": "null" } }
Examples
Success response
JSON format
{
"requestId": "4AA343E4-AB98-56D9-B699-D932902BA3EC",
"data": {
"instanceId": 140080050,
"richText": "这是一个富文本",
"instanceType": 0
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.