次の方法で共有


Custom Models - Get Copy Result

カスタム モデルのコピー操作の現在の状態と結果を取得します。

GET {endpoint}/formrecognizer/v2.1/custom/models/{modelId}/copyResults/{resultId}

URI パラメーター

名前 / 必須 説明
endpoint
path True

string

サポートされている Cognitive Services エンドポイント (プロトコルとホスト名など)。 https://westus2.api.cognitive.microsoft.com

modelId
path True

string

uuid

モデル識別子。

resultId
path True

string

uuid

コピー操作の結果識別子。

要求ヘッダー

名前 必須 説明
Ocp-Apim-Subscription-Key True

string

応答

名前 説明
200 OK

CopyOperationResult

Success

Other Status Codes

ErrorResponse

エラーに関する追加の詳細を含む、成功していない応答に付随する応答エンティティ。

セキュリティ

Ocp-Apim-Subscription-Key

型: apiKey
/: header

Get copy custom model result
Get copy custom model result with failures

Get copy custom model result

要求のサンプル

GET {endpoint}/formrecognizer/v2.1/custom/models/f973e3c1-1148-43bb-bea8-49d0603ab3a8/copyResults/3b1e6c5b-e113-4114-ab6b-ce65dfe8050f

応答のサンプル

{
  "status": "succeeded",
  "createdDateTime": "2020-01-01T00:00:00Z",
  "lastUpdatedDateTime": "2020-01-01T00:01:00Z",
  "copyResult": {
    "modelId": "f973e3c1-1148-43bb-bea8-49d0603ab3a8",
    "errors": []
  }
}

Get copy custom model result with failures

要求のサンプル

GET {endpoint}/formrecognizer/v2.1/custom/models/f973e3c1-1148-43bb-bea8-49d0603ab3a8/copyResults/3b1e6c5b-e113-4114-ab6b-ce65dfe8050f

応答のサンプル

{
  "status": "failed",
  "createdDateTime": "2020-01-01T00:00:00Z",
  "lastUpdatedDateTime": "2020-01-01T00:01:00Z",
  "copyResult": {
    "modelId": "f973e3c1-1148-43bb-bea8-49d0603ab3a8",
    "errors": [
      {
        "code": "ResourceResolverError",
        "message": "{ErrorMessage}"
      }
    ]
  }
}

定義

名前 説明
CopyOperationResult

キューに入れられたコピー操作の状態と結果。

CopyResult

カスタム モデルのコピーの結果。

ErrorInformation
ErrorResponse
OperationStatus

キューに入った操作の状態。

CopyOperationResult

キューに入れられたコピー操作の状態と結果。

名前 説明
copyResult

CopyResult

コピー操作の結果。

createdDateTime

string

コピー操作が送信された日時 (UTC)。

lastUpdatedDateTime

string

状態が最後に更新された日時 (UTC)。

status

OperationStatus

操作の状態。

CopyResult

カスタム モデルのコピーの結果。

名前 説明
errors

ErrorInformation[]

コピー操作中に返されたエラー。

modelId

string

ターゲット モデルの識別子。

ErrorInformation

名前 説明
code

string

message

string

ErrorResponse

名前 説明
error

ErrorInformation

OperationStatus

キューに入った操作の状態。

名前 説明
failed

string

notStarted

string

running

string

succeeded

string