ExportInsightCustomValue

Updated at:

Retrieves the custom_value table data for a specified organization in Performance Insight.

Operation description

The Performance 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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /organization/{organizationId}/data/customValues HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

organizationId

string

Yes

The organization ID. This is a string that you can obtain from the Yunxiao 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. Maximum value: 10,000.

10

Response elements

Element

Type

Description

Example

object

Schema of Response

totalCount

integer

The total count.

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 results.

10

result

array<object>

The returned results.

object

custom_value

id

integer

The auto-increment ID of the record.

320737507

fieldId

string

The field ID, such as the custom field ID or tag ID.

34dde3dfa5e3750151a7c4xxxx

gmtCreate

integer

The creation time.

1704950971000

gmtModified

integer

The update time.

1714669494000

identifier

string

The unique identifier of the associated value in the custom field table.

442d4a6a9980e841dc192a411080xxxx

isDeleted

string

Specifies whether the record is deleted. Valid values: Y and N.

N

organizationId

string

The organization ID.

61db9af2148974246bexxxx

targetId

string

The resource ID of the associated object.

1ee00fcb1a18c2dc83dafdxxxx

targetType

string

The resource type of the associated object, such as workitem, space, or code.

Workitem

type

string

The value type of the custom field.

string

value

string

The value.

66

doubleValue

number

The double value.

66.6

longValue

integer

The long value.

66

Examples

Success response

JSON format

{
  "totalCount": 100,
  "nextToken": "2",
  "maxResults": 10,
  "result": [
    {
      "id": 320737507,
      "fieldId": "34dde3dfa5e3750151a7c4xxxx",
      "gmtCreate": 1704950971000,
      "gmtModified": 1714669494000,
      "identifier": "442d4a6a9980e841dc192a411080xxxx",
      "isDeleted": "N",
      "organizationId": "61db9af2148974246bexxxx",
      "targetId": "1ee00fcb1a18c2dc83dafdxxxx",
      "targetType": "Workitem",
      "type": "string",
      "value": "66",
      "doubleValue": 66.6,
      "longValue": 66
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.