Skip to main content

AsyncUploadTenderDoc

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.
OperationAccess levelResource typeCondition keyDependent action
aimiaobi:AsyncUploadTenderDoccreate
*All resources
*
    None
None

Request parameters

ParameterTypeRequiredDescriptionExample value
WorkspaceIdstringNollm-az2gglkjauwnnhpq
TenderDocNamestringNo

Tender document name

tender.pdf
FileKeystringNo

File OSS key

oss://default/aimiaobi-service-prod/aimiaobi/materialDocument/1601892701595700_10169811/208757545922605632_yst-test_9eb7d7e1deb543d88e2d6f1c9df456ef.docx

Response elements

ElementTypeDescriptionExample value
object

Schema of Response

RequestIdstring

Id of the request

3f7045e099474ba28ceca1b4eb6d6e21
HttpStatusCodeinteger

HTTP status code

200
Messagestring

Error description

success
Successboolean

Success: true for success, false for failure

true
Dataobject

Business data

TaskIdstring

Task ID

3f7045e099474ba28ceca1b4eb6d6e21
Codestring

Status code

successful

Examples

Success response JSON format
{
  "RequestId": "3f7045e099474ba28ceca1b4eb6d6e21",
  "HttpStatusCode": 200,
  "Message": "success",
  "Success": true,
  "Data": {
    "TaskId": "3f7045e099474ba28ceca1b4eb6d6e21"
  },
  "Code": "successful"
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissionYou are not authorized to perform this action.Please check the workspaceId assignment
Visit the Error Center to view more error codes.