Edits the content of a bidding document.
Try it now
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.
Try it now
Authorization information
The following table describes the authorization information of the API. You can use it in the Action element of a RAM permission policy statement to grant RAM users or RAM roles 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 in the operation. For more information, see the following:
- Required resource types are marked with a leading *.
- For operations 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 operation. The caller must have the permissions of the dependent actions at the same time for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:EditBiddingDoc | update | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | No | llm-xx | |
| TaskId | string | No | The task ID. | 0dbf1055f8a2475d99904c3b76a0ffba |
| Content | string | No | The text content. | Bidding document content |
| ContentType | string | No | The content type. | outline bidding |
| ContentFormat | string | No | The format. | html markdown |
Response elements
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | Id of the request | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Code | string | The status code. | successful |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Message | string | The error message. | successful |
| Success | boolean | Indicates whether the request is successful. true indicates success and false indicates failure. | true |
| Data | object | The business data. | |
| TaskId | string | The task ID. | 3f7045e099474ba28ceca1b4eb6d6e21 |
Examples
Success response
JSON format
Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 403 | NoPermission | You are not authorized to perform this action. | Check the workspaceId assignment. |