ListBiddingDoc

Updated at:

Retrieves the list of bidding document writing tasks.

Try it now

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 lists 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. 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 for the operation. Details:

    • 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: the other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.

ActionAccess levelResource typeCondition keyDependent action
aimiaobi:ListBiddingDoclist
*All resources
*
    None
None

Request parameters

ParameterTypeRequiredDescriptionExample
WorkspaceIdstringNollm-xx
TaskNamestringNo

Defines the task name.

My bidding task
TaskStatusintegerNo

Task status

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

Start creation time, in timestamp format.

2023-02-19 07:28:11
CreateTimeEndstringNo

End creation time, in timestamp format.

2023-03-18 02:00:00
CurrentintegerNo

Current page number

1
SizeintegerNo

Number of items per page. Default: 10.

10
SkipintegerNo

Deprecated

null
MaxResultsintegerNo

Deprecated

null
NextTokenstringNo

Deprecated

null

Response elements

ElementTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request

1813ceee-7fe5-41b4-87e5-982a4d18cca5
Codestring

Status code

success
HttpStatusCodeinteger

HTTP status code

200
Messagestring

Error description

success
Successboolean

Whether the operation was successful: true for success, false for failure

true
MaxResultsinteger

Deprecated

null
NextTokenstring

Deprecated

null
TotalCountinteger

Deprecated

null
Currentinteger

Current page number

1
Sizeinteger

Number of items per page

10
Totalinteger

Total records

10
Dataarray<object>

Returned data

Dataobject

Business data

TaskIdstring

Task ID.

3f7045e099474ba28ceca1b4eb6d6e21
TaskNamestring

Task name

My bidding task
TaskStatusinteger

Task status

1
CreateTimeStartstring

Creation time - start range, format: yyyy-MM-dd HH:mm:ss

2023-03-18 02:00:00
TaskStepstring

Task step

analysis writing

Examples

Success response

JSON format

{
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Code": "success",
  "HttpStatusCode": 200,
  "Message": "success",
  "Success": true,
  "MaxResults": 0,
  "NextToken": null,
  "TotalCount": 0,
  "Current": 1,
  "Size": 10,
  "Total": 10,
  "Data": [
    {
      "TaskId": "3f7045e099474ba28ceca1b4eb6d6e21",
      "TaskName": "任务名称",
      "TaskStatus": 1,
      "CreateTimeStart": "2023-03-18 02:00:00\n",
      "TaskStep": "analysis\nwriting"
    }
  ]
}

Error codes

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

Visit the Error Center for more error codes.