跳至主要內容
API 參考
API 參考

批次物件

一個帳戶範圍的審核批次,其執行生命週期由相容的 Batch API 報告。

一個帳戶範圍的審核批次,其執行生命週期由相容的 Batch API 報告。

01

物件欄位

JSON 內容

資源可重用物件共享的穩定欄位。

批次23 個欄位
cancelled_atinteger | null
選填

Batch 被取消時的 Unix 時間戳。

cancelling_atinteger | null
選填

取消開始時的 Unix 時間戳。

completed_atinteger | null
選填

Batch 完成時的 Unix 時間戳。

completion_windowstring
必填

批次的完成視窗。

created_atinteger
必填

Batch 建立時的 Unix 時間戳。

endpointstring
必填

由批次處理的審核端點。

error_file_idstring | null
選填

RunAPI 錯誤檔案 ID

errorsobject | null
選填

批次驗證或執行錯誤

expired_atinteger | null
選填

Batch 過期時的 Unix 時間戳。

expires_atinteger | null
選填

Batch 將過期時的 Unix 時間戳。

failed_atinteger | null
選填

Batch 失敗時的 Unix 時間戳。

finalizing_atinteger | null
選填

Batch 進入最終化階段時的 Unix 時間戳。

idstring
必填

RunAPI 批次 ID。

in_progress_atinteger | null
選填

Batch 處理開始時的 Unix 時間戳。

input_file_idstring
必填

RunAPI 輸入檔案 ID。

metadataobject
必填

隨批次返回的調用方元數據。

objectstring
必填

物件類型。

output_file_idstring | null
選填

RunAPI 輸出檔案 ID

request_countsobject
必填
request_counts.completedinteger
必填
request_counts.failedinteger
必填
request_counts.totalinteger
必填
statusstring
必填

批次生命週期狀態。

允許值: validating, failed, in_progress, finalizing, completed, expired, cancelling, cancelled