Dataflows - Cancel Dataflow Transaction

尝试取消指定的事务。

所需范围

Dataflow.ReadWrite.All

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/transactions/{transactionId}/cancel

URI 参数

名称 必需 类型 说明
groupId
path True

string

uuid

工作区 ID

transactionId
path True

string

uuid

事务 ID

响应

名称 类型 说明
200 OK

DataflowTransactionStatus

确定

示例

Example

Sample Request

POST https://api.powerbi.com/v1.0/myorg/groups/51e47fc5-48fd-4826-89f0-021111110abd/dataflows/transactions/2020-09-11T19:21:52.8778432Z@9cc7a369-6112-4dba-97b6-b07ff5699568$1374282/cancel

Sample Response

{
  "transactionId": "2020-09-11T19:21:52.8778432Z@9cc7a369-6112-4dba-97b6-b07ff5699568$1374282",
  "status": "SuccessfullyMarked"
}

定义

DataflowTransactionStatus

数据流刷新事务的状态

名称 类型 说明
status enum:
  • alreadyConcluded
  • invalid
  • notFound
  • successfullyMarked

事务状态

transactionId

string

事务 ID