ListWorkitemEstimate
Retrieves a list of time estimate entries for a work item.
Operation description
Retrieves a list of time estimate entries for a work item.
Try it now
Test
RAM authorization
Request syntax
GET /organization/{organizationId}/workitems/{workitemId}/estimate/list HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| organizationId |
string |
Yes |
The organization ID. |
5ebbc0228123212b59xxxxx |
| workitemId |
string |
Yes |
The ID of the work item. |
5daa9a15c7fd55523996...... |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| requestId |
string |
The request ID. A unique value is generated for each request. Use this ID to troubleshoot issues. |
ASSDS-ASSASX-XSAXSA-XSAXSAXS |
| errorMsg |
string |
The error message. |
error |
| errorCode |
string |
The error code. |
Openapi.RequestError |
| success |
boolean |
Indicates whether the request was successful. Valid values: |
true |
| workitemTimeEstimate |
array<object> |
A list of time estimate entries. |
|
|
array<object> |
|||
| workitemIdentifier |
string |
The ID of the work item. |
5daa9a15c7fd55523996...... |
| identifier |
string |
The time entry ID. |
a4ac3a81e90217db32b7...... |
| gmtStart |
integer |
The start time. |
1653235200000 |
| gmtEnd |
integer |
The end time. |
1653235200000 |
| spentTime |
number |
The time estimate, in hours. |
8 |
| type |
string |
The work type. |
研发 |
| description |
string |
The description of the time entry. |
开发代码等 |
| recordUser |
object |
The user who recorded the entry. |
|
| identifier |
string |
The user's ID (also known as AliyunPK). |
132xxxx123 |
| name |
string |
The user's name. |
张三 |
| gmtCreate |
integer |
The time when the time entry was created. |
1653235200000 |
| gmtModified |
integer |
The time when the time entry was last modified. |
1653235200000 |
| code |
integer |
The API response code. |
200 |
Examples
Success response
JSON format
{
"requestId": "ASSDS-ASSASX-XSAXSA-XSAXSAXS",
"errorMsg": "error",
"errorCode": "Openapi.RequestError",
"success": true,
"workitemTimeEstimate": [
{
"workitemIdentifier": "5daa9a15c7fd55523996......",
"identifier": "a4ac3a81e90217db32b7......",
"gmtStart": 1653235200000,
"gmtEnd": 1653235200000,
"spentTime": 8,
"type": "研发",
"description": "开发代码等",
"recordUser": {
"identifier": "132xxxx123",
"name": "张三"
},
"gmtCreate": 1653235200000,
"gmtModified": 1653235200000
}
],
"code": 200
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Openapi.RequestError | request error | |
| 403 | Operate.NoPermission | NoPermission | You are not authorized to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.