共用方式為


Workflow Run Action Repetitions Request Histories - List

列出工作流程執行重複要求歷程記錄。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories?api-version=2025-03-01

URI 參數

名稱 位於 必要 類型 Description
actionName
path True

string

工作流程動作名稱。

name
path True

string

網站名稱。

repetitionName
path True

string

工作流程重複。

resourceGroupName
path True

string

minLength: 1
maxLength: 90
pattern: ^[-\w\._\(\)]+[^\.]$

資源所屬資源群組的名稱。

runName
path True

string

工作流程執行名稱。

subscriptionId
path True

string

您的 Azure 訂用帳戶識別碼。 這是 GUID 格式的字串(例如 0000000000-0000-0000-0000-0000000000000000)。

workflowName
path True

string

工作流程名稱。

api-version
query True

string

API 版本

回應

名稱 類型 Description
200 OK

RequestHistoryListResult

OK

Other Status Codes

ErrorResponse

說明作業為何失敗的錯誤回應。

安全性

azure_auth

Azure Active Directory OAuth2 流

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/authorize

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

List repetition request history

範例要求

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/hostruntime/runtime/webhooks/workflow/api/management/workflows/test-workflow/runs/08586776228332053161046300351/actions/HTTP_Webhook/repetitions/000001/requestHistories?api-version=2025-03-01

範例回覆

{
  "value": [
    {
      "properties": {
        "startTime": "2018-10-25T18:36:51.9206732Z",
        "endTime": "2018-10-25T18:36:52.1863033Z",
        "request": {
          "headers": {
            "Accept-Language": "en-US",
            "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)",
            "x-ms-execution-location": "brazilsouth",
            "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56",
            "x-ms-workflow-version": "08586611142904036539",
            "x-ms-workflow-name": "test-workflow",
            "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56",
            "x-ms-workflow-run-id": "08586611142736787787412824395CU21",
            "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8",
            "x-ms-workflow-operation-name": "HTTP_Webhook",
            "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
            "x-ms-workflow-resourcegroup-name": "test-resource-group",
            "x-ms-workflow-subscription-capacity": "Large",
            "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256",
            "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256",
            "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256",
            "x-ms-client-tracking-id": "08586611142736787787412824395CU21",
            "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8"
          },
          "uri": "http://tempuri.org",
          "method": "GET"
        },
        "response": {
          "headers": {
            "Cache-Control": "private",
            "Date": "Thu, 25 Oct 2018 18:36:51 GMT",
            "Location": "http://www.bing.com/",
            "Server": "Microsoft-IIS/10.0",
            "X-AspNet-Version": "4.0.30319",
            "X-Powered-By": "ASP.NET"
          },
          "statusCode": 302,
          "bodyLink": {
            "uri": "https://tempuri.org",
            "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==",
            "contentSize": 137,
            "contentHash": {
              "algorithm": "md5",
              "value": "2LOOAR8Eh2pd7AvRHXUhRg=="
            }
          }
        }
      },
      "id": "/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686",
      "name": "08586611142732800686",
      "type": "/workflows/runs/actions/requestHistories"
    }
  ]
}

定義

名稱 Description
ContentHash

內容哈希。

ContentLink

內容連結。

ErrorProperties

錯誤屬性會指出邏輯服務無法處理傳入要求的原因。 原因在錯誤訊息中提供。

ErrorResponse

錯誤回應表示邏輯服務無法處理傳入的要求。 error 屬性包含錯誤詳細資料。

Object
Request

一個請求。

RequestHistory

請求歷史記錄。

RequestHistoryListResult

工作流程要求歷程記錄的清單。

RequestHistoryProperties

請求歷史記錄。

Response

一個回應。

ContentHash

內容哈希。

名稱 類型 Description
algorithm

string

內容哈希的演算法。

value

string

內容哈希的值。

內容連結。

名稱 類型 Description
contentHash

ContentHash

內容哈希。

contentSize

integer (int64)

內容大小。

contentVersion

string

內容版本。

metadata

Object

元數據。

uri

string

內容連結 URI。

ErrorProperties

錯誤屬性會指出邏輯服務無法處理傳入要求的原因。 原因在錯誤訊息中提供。

名稱 類型 Description
code

string

錯誤碼。

message

string

錯誤訊息,指出作業失敗的原因。

ErrorResponse

錯誤回應表示邏輯服務無法處理傳入的要求。 error 屬性包含錯誤詳細資料。

名稱 類型 Description
error

ErrorProperties

錯誤屬性。

Object

Request

一個請求。

名稱 類型 Description
headers

Object

附加至要求的所有標頭清單。

method

string

用於請求的 HTTP 方法。

uri

string

要求的目的地。

RequestHistory

請求歷史記錄。

名稱 類型 Description
id

string

資源標識碼。

location

string

資源位置。

name

string

取得資源名稱。

properties

RequestHistoryProperties

要求歷程記錄屬性。

tags

object

資源標記。

type

string

取得資源類型。

RequestHistoryListResult

工作流程要求歷程記錄的清單。

名稱 類型 Description
nextLink

string

取得下一組結果的 URL。

value

RequestHistory[]

工作流程要求歷程記錄的清單。

RequestHistoryProperties

請求歷史記錄。

名稱 類型 Description
endTime

string (date-time)

請求結束的時間。

request

Request

要求。

response

Response

回應。

startTime

string (date-time)

請求開始的時間。

Response

一個回應。

名稱 類型 Description
bodyLink

ContentLink

有關正文內容物位置的詳細信息。

headers

Object

附加至回應的所有標頭清單。

statusCode

integer (int32)

回應的狀態碼。