共用方式為


Device deployment - Get BatchJobStatus

GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/batchJobStatus/{batchUploadTracking_id}

URI 參數

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

string

批次追蹤標識碼。

customer_id
path True

string

客戶標識碼。

version
path True

string

要求標頭

名稱 必要 類型 Description
Authorization True

string

授權持有人令牌

ms-correlationid

string

用於在內部追蹤要求。 如果未提供 ms-correlationid,伺服器會為每個要求產生新的要求

ms-cv

string

用於在內部追蹤要求。 如果未提供 ms-cv,伺服器將會為每個要求產生新的要求

ms-requestid

string

用於要求等冪性。 如果未提供 ms-requestid,伺服器將會為每個要求產生新的要求

回應

名稱 類型 Description
200 OK

Microsoft.Partner.Providers.Contracts.V1.BatchUploadDetails

要求成功。 批次上傳的狀態會在回應本文中傳回。

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

定義

名稱 Description
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Providers.Contracts.V1.BatchUploadDetails
Microsoft.Partner.Providers.Contracts.V1.DeviceUploadDetails

Microsoft.Partner.Core.Collections.ResourceAttributes

名稱 類型 Description
etag

string

objectType

string

Microsoft.Partner.Providers.Contracts.V1.BatchUploadDetails

名稱 類型 Description
batchTrackingId

string

completedTime

string (date-time)

devicesStatus

Microsoft.Partner.Providers.Contracts.V1.DeviceUploadDetails[]

startedTime

string (date-time)

status enum:
  • finished (int32)
  • finished_with_errors (int32)
  • processing (int32)
  • queued (int32)
  • unknown (int32)

Microsoft.Partner.Providers.Contracts.V1.DeviceUploadDetails

名稱 類型 Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

deviceId

string

errorCode

string

errorDescription

string

productKey

string

serialNumber

string

status enum:
  • finished (int32)
  • finished_with_errors (int32)
  • processing (int32)
  • queued (int32)
  • unknown (int32)