Queries the users that are involved in a specified task flow.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | ListTaskFlowCooperators |
The operation that you want to perform. Set the value to ListTaskFlowCooperators. |
| Tid | Long | No | 3*** |
The ID of the tenant. Note To view the ID of the tenant, go to the Data Management (DMS) console and move the
pointer over the profile picture in the upper-right corner. For more information,
see View information about the current tenant.
|
| DagId | Long | Yes | 15**** |
The ID of the task flow. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to query the task flow ID. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 54C99C70-2DFF-5A8C-A252-EBAA1EB668EC |
The ID of the request. You can use the ID to locate logs and troubleshoot issues. |
| ErrorCode | String | UnknownError |
The error code returned if the request failed. |
| ErrorMessage | String | UnknownError |
The error message returned if the request failed. |
| Success | Boolean | true |
Indicates whether the request was successful. Valid values:
|
| CooperatorList | Array of Cooperator |
The users that are involved in the task flow. |
|
| Cooperator | |||
| NickName | String | name |
The alias of the user. |
| String | test@XX.com |
The email address of the user. |
|
| LoginName | String | name |
The username. |
Examples
Sample requests
http(s)://dms-enterprise.aliyuncs.com/?Action=ListTaskFlowCooperators
&DagId=15****
&Common request parametersSample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<ListTaskFlowCooperatorsResponse>
<RequestId>54C99C70-2DFF-5A8C-A252-EBAA1EB668EC</RequestId>
<ErrorCode>UnknownError</ErrorCode>
<ErrorMessage>UnknownError</ErrorMessage>
<Success>true</Success>
<CooperatorList>
<NickName>name</NickName>
<Email>test@XX.com</Email>
<LoginName>name</LoginName>
</CooperatorList>
</ListTaskFlowCooperatorsResponse>JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "54C99C70-2DFF-5A8C-A252-EBAA1EB668EC",
"Success" : true,
"CooperatorList" : [ {
"NickName" : "name",
"Email" : "test@XX.com",
"LoginName" : "name"
} ]
}Error codes
For a list of error codes, visit the API Error Center.