ExportInsightField
Retrieves the field table data of a specified organization in Efficiency Insight.
Operation description
The Efficiency Insight data export API is available only to Premium Edition customers. To learn more about the features of Yunxiao Premium Edition, visit https://help.aliyun.com/document_detail/173288.html.
Try it now
Test
RAM authorization
Request syntax
POST /organization/{organizationId}/data/fields HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| organizationId |
string |
Yes |
The organization ID. It is a string that can be obtained from the Yunxiao access URL, such as https://devops.aliyun.com/organization/#{organizationId}. |
61db9af2148974246bexxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| startTime |
string |
Yes |
The start time. The interval between the start time and the end time cannot exceed one year. Format: YYYY-MM-DD HH:mm:ss. |
2024-05-01 00:00:00 |
| endTime |
string |
Yes |
The end time. The interval between the start time and the end time cannot exceed one year. Format: YYYY-MM-DD HH:mm:ss. |
2024-06-01 00:00:00 |
| nextToken |
string |
No |
The token for the next page. |
1 |
| maxResults |
integer |
No |
The maximum number of results to return. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| totalCount |
integer |
The total number of records. |
100 |
| nextToken |
string |
The token for the next page. A value of null indicates that no more pages are available. |
2 |
| maxResults |
integer |
The number of returned records. |
10 |
| result |
array<object> |
The returned results. |
|
|
object |
field |
||
| id |
integer |
The auto-increment ID of the record. |
666666 |
| fieldId |
string |
The field ID, such as the custom field ID or tag ID. |
9798551 |
| fieldName |
string |
The field name. |
Multi-select field |
| gmtCreate |
integer |
The creation time. |
1713752162000 |
| gmtModified |
integer |
The update time. |
1714977502000 |
| identifier |
string |
[Deprecated] |
field-444153 |
| isDeleted |
string |
Indicates whether the field is deleted. Valid values: Y and N. |
N |
| isSystem |
string |
Indicates whether the field is a system field. Valid values: Y and N. |
N |
| optionValue |
string |
The list of available options for the field, such as the options for an enumeration field. |
"[\"Yes\"]" |
| organizationId |
string |
The organization ID. |
61db9af2148974246bexxxx |
| targetId |
string |
The ID of the target object to which the field applies, such as a project ID or an organization ID. |
61db9af2148974246bexxxx |
| targetType |
string |
The scope of the target object to which the field applies, such as project or organization. |
organization |
| type |
string |
The field type, such as tag, enumeration, text, or number. |
string |
| position |
integer |
The display order of the field. |
150 |
| scope |
string |
The scope of the field. Valid values: space (project-level), global, and system. |
global |
| source |
string |
The source system of the field, such as Projex or Teambition. |
projex |
Examples
Success response
JSON format
{
"totalCount": 100,
"nextToken": "2",
"maxResults": 10,
"result": [
{
"id": 666666,
"fieldId": "9798551",
"fieldName": "多选字段",
"gmtCreate": 1713752162000,
"gmtModified": 1714977502000,
"identifier": "field-444153",
"isDeleted": "N",
"isSystem": "N",
"optionValue": "\"[\\\"是\\\"]\"",
"organizationId": "61db9af2148974246bexxxx",
"targetId": "61db9af2148974246bexxxx",
"targetType": "organization",
"type": "string",
"position": 150,
"scope": "global",
"source": "projex"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.