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 |
model
|
path | True |
string uuid |
モデル識別子。 |
result
|
path | True |
string uuid |
コピー操作の結果識別子。 |
要求ヘッダー
名前 | 必須 | 型 | 説明 |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
Success |
|
Other Status Codes |
エラーに関する追加の詳細を含む、成功していない応答に付随する応答エンティティ。 |
セキュリティ
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}"
}
]
}
}
定義
名前 | 説明 |
---|---|
Copy |
キューに入れられたコピー操作の状態と結果。 |
Copy |
カスタム モデルのコピーの結果。 |
Error |
|
Error |
|
Operation |
キューに入った操作の状態。 |
CopyOperationResult
キューに入れられたコピー操作の状態と結果。
名前 | 型 | 説明 |
---|---|---|
copyResult |
コピー操作の結果。 |
|
createdDateTime |
string |
コピー操作が送信された日時 (UTC)。 |
lastUpdatedDateTime |
string |
状態が最後に更新された日時 (UTC)。 |
status |
操作の状態。 |
CopyResult
カスタム モデルのコピーの結果。
名前 | 型 | 説明 |
---|---|---|
errors |
コピー操作中に返されたエラー。 |
|
modelId |
string |
ターゲット モデルの識別子。 |
ErrorInformation
名前 | 型 | 説明 |
---|---|---|
code |
string |
|
message |
string |
ErrorResponse
名前 | 型 | 説明 |
---|---|---|
error |
OperationStatus
キューに入った操作の状態。
名前 | 型 | 説明 |
---|---|---|
failed |
string |
|
notStarted |
string |
|
running |
string |
|
succeeded |
string |