AsyncWritingBiddingDoc
An API for writing bidding documents.
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.
RAM authorization
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. Details are as follows:
-
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. Details are as follows:
- Required resource types are marked with a leading asterisk (*).
- 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 all dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:AsyncWritingBiddingDoc | create | *All Resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | No | llm-xx | |
| TaskId | string | No | The unique ID of the task. | 7AA2AE16-D873-5C5F-9708-15396C382EB1 |
| Prompt | string | No | The prompt. | Input prompt for custom viewpoints |
| CompanyKeyword | string | No | The name of the bidding company. | comany name |
Response elements
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | Id of the request | F2F366D6-E9FE-1006-BB70-2C650896AAB5 |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Message | string | The error message. | success |
| Success | boolean | Indicates whether the request was successful. | true |
| Data | object | The business data. | |
| TaskId | string | The ID of the task. | 3f7045e099474ba28ceca1b4eb6d6e21 |
| Code | string | The status code. | successful |
Examples
Success response
JSON format
{
"RequestId": "F2F366D6-E9FE-1006-BB70-2C650896AAB5",
"HttpStatusCode": 200,
"Message": "success",
"Success": true,
"Data": {
"TaskId": "3f7045e099474ba28ceca1b4eb6d6e21"
},
"Code": "successful"
}
Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 403 | NoPermission | You are not authorized to perform this action. | Please check the workspaceId assignment |
Visit the Error Center to view more error codes.