Upload a tender document.
Debug
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Debug
RAM authorization
The following table describes the authorization information for this API. You can use the Action element in RAM permission policy statements to grant RAM users or RAM roles the permission to call this API. For more information, see the following:
- Operation: 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 for the operation. For more information:
- For required resource types, an asterisk (*) is prefixed.
- For operations that do not support resource-level authorization, All Resources is used.
- Condition key: the condition keys defined by the cloud service itself.
- Dependent action: other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.
| Operation | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:AsyncUploadTenderDoc | create | *All resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | No | llm-az2gglkjauwnnhpq | |
| TenderDocName | string | No | Tender document name | tender.pdf |
| FileKey | string | No | File OSS key | oss://default/aimiaobi-service-prod/aimiaobi/materialDocument/1601892701595700_10169811/208757545922605632_yst-test_9eb7d7e1deb543d88e2d6f1c9df456ef.docx |
Response elements
| Element | Type | Description | Example value |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | Id of the request | 3f7045e099474ba28ceca1b4eb6d6e21 |
| HttpStatusCode | integer | HTTP status code | 200 |
| Message | string | Error description | success |
| Success | boolean | Success: true for success, false for failure | true |
| Data | object | Business data | |
| TaskId | string | Task ID | 3f7045e099474ba28ceca1b4eb6d6e21 |
| Code | string | Status code | successful |
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. | Please check the workspaceId assignment |