Get Custom Model Copy Result - Get Custom Model Copy Result

Dapatkan Hasil Salin Model Kustom
Dapatkan status saat ini dan hasil operasi salin model kustom.

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

Parameter URI

Name In Required Type Description
endpoint
path True
  • string

Titik akhir Cognitive Services yang didukung (protokol dan nama host, misalnya: https://westus2.api.cognitive.microsoft.com).

modelId
path True
  • string
uuid

Pengidentifikasi model.

resultId
path True
  • string
uuid

Salin pengidentifikasi hasil operasi.

Header Permintaan

Name Required Type Description
Ocp-Apim-Subscription-Key True
  • string

Respons

Name Type Description
200 OK

Berhasil

Other Status Codes

Entitas respons yang menyertai respons yang tidak berhasil berisi detail tambahan tentang kesalahan tersebut.

Keamanan

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

Contoh

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

Get copy custom model result

Sample Request

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

Sample Response

{
  "status": "succeeded",
  "createdDateTime": "2020-01-01T00:00:00Z",
  "lastUpdatedDateTime": "2020-01-01T00:01:00Z",
  "copyResult": {
    "modelId": "{modelId}",
    "errors": []
  }
}

Get copy custom model result with failures

Sample Request

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

Sample Response

{
  "status": "failed",
  "createdDateTime": "2020-01-01T00:00:00Z",
  "lastUpdatedDateTime": "2020-01-01T00:01:00Z",
  "copyResult": {
    "modelId": "{modelId}",
    "errors": [
      {
        "code": "ResourceResolverError",
        "message": "{ErrorMessage}"
      }
    ]
  }
}

Definisi

CopyOperationResult

Status dan hasil operasi penyalinan yang diantrekan.

CopyResult

Hasil salinan model kustom.

ErrorInformation
ErrorResponse
OperationStatus

Status operasi antrean.

CopyOperationResult

Status dan hasil operasi penyalinan yang diantrekan.

Name Type Description
copyResult

Hasil operasi salin.

createdDateTime
  • string

Tanggal dan waktu (UTC) ketika operasi penyalinan dikirimkan.

lastUpdatedDateTime
  • string

Tanggal dan waktu (UTC) ketika status terakhir diperbarui.

status

Status operasi.

CopyResult

Hasil salinan model kustom.

Name Type Description
errors

Kesalahan yang dikembalikan selama operasi penyalinan.

modelId
  • string

Pengidentifikasi model target.

ErrorInformation

Name Type Description
code
  • string
message
  • string

ErrorResponse

Name Type Description
error

OperationStatus

Status operasi antrean.

Name Type Description
failed
  • string
notStarted
  • string
running
  • string
succeeded
  • string