Data - Retrieve Task Result

Yürütülen bir görevin sonucunu alır

GET http://<Servername>/OperationsManager/data/getTaskResult/{batchId}

URI Parametreleri

Name İçinde Gerekli Tür Description
batchId
path True

string

Toplu iş kimliğini belirtin

Yanıtlar

Name Tür Description
200 OK

TaskResultResponse

TAMAM. Yürütülen bir görevin sonucu başarıyla alındı.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Örnekler

GetTaskResult

Örnek isteği

GET http://<Servername>/OperationsManager/data/getTaskResult/789be4ae-d365-4dca-8cdc-0c8c3b239689

Örnek yanıt

{
  "batchId": "789be4ae-d365-4dca-8cdc-0c8c3b239689",
  "taskName": "Show Running Rules and Monitors for this Object",
  "taskStatus": "Started",
  "taskTarget": "scomserver1.,contoso.net",
  "taskOutput": null,
  "errorCode": null,
  "errorMessage": null
}

Tanımlar

TaskResultResponse

Name Tür Description
batchId

string

Parti Kimliği

errorCode

integer

Hata kodu

errorMessage

string

Hata mesajı

taskName

string

görev Adı

taskOutput

string

Görev Çıktısı

taskStatus

string

Görev Durumu

taskTarget

string

Görev hedefi