GetBiddingDocInfo

Updated at:

Retrieves the generation results of a bidding document.

Debugging

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

Authorization information

The following table lists the authorization information for this 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:

  • 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:

    • Required resource types are marked with a leading asterisk (*).
    • 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: the other permissions required to successfully perform the operation. The caller must also have the permissions of the dependent actions for the operation to succeed.

ActionAccess levelResource typeCondition keyDependent action
aimiaobi:GetBiddingDocInfoget
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
WorkspaceIdstringNollm-xx
TaskIdstringNo

Task ID

7AA2AE16-D873-5C5F-9708-15396C382EB1

Response parameters

NameTypeDescriptionExample value
object

Schema of Response

RequestIdstring

Id of the request

F2F366D6-E9FE-1006-BB70-2C650896AAB5
HttpStatusCodeinteger

HTTP status code

200
Messagestring

Error description

success
Successboolean

Indicates whether the request was successful

true
Dataobject

Business data

TaskIdstring

Task ID

3f7045e099474ba28ceca1b4eb6d6e21
Stepstring

Current stage

analysis writing
Statusinteger

Task status

0-waiting, 1-running, 2-success, 3-pause, 4-fail
Contentstring

Bidding document content

Article content
ContentTypestring

File type.

outline bidding
ContentFormatstring

Format

markdown html
TenderDocUrlstring

Tender document URL

http://xxx
TenderFileTypestring

Tender document file type

pdf docx
Codestring

Status code

successful

Examples

Success response

JSON format

{
  "RequestId": "F2F366D6-E9FE-1006-BB70-2C650896AAB5",
  "HttpStatusCode": 200,
  "Message": "success",
  "Success": true,
  "Data": {
    "TaskId": "3f7045e099474ba28ceca1b4eb6d6e21",
    "Step": "analysis\nwriting",
    "Status": 0,
    "Content": "文章内容",
    "ContentType": "outline\nbidding",
    "ContentFormat": "markdown\nhtml",
    "TenderDocUrl": "http://xxx",
    "TenderFileType": "pdf\ndocx"
  },
  "Code": "successful"
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissionYou are not authorized to perform this action.Please check the workspaceId assignment

Visit Error Center to view more error codes.