メインコンテンツへスキップ
GET
/
docgen_jobs
/
{job_id}
cURL
curl -i -X GET "https://api.box.com/2.0/docgen_jobs/12345" \
     -H 'box-version: 2025.0' \
     -H "authorization: Bearer <ACCESS_TOKEN>"
{
  "id": "12345",
  "type": "docgen_job",
  "batch": {
    "id": "12345",
    "type": "docgen_batch"
  },
  "template_file": {
    "type": "file",
    "id": "42037322"
  },
  "template_file_version": {
    "id": "12345",
    "type": "file_version"
  },
  "status": "completed",
  "output_type": "docx",
  "output_file": {
    "type": "file",
    "id": "42037322"
  },
  "output_file_version": {
    "id": "12345",
    "type": "file_version"
  }
}
Box SDKのバージョニング戦略について詳しく学ぶ。」

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

box-version
enum<string>
required

Version header.

利用可能なオプション:
2025.0

Path Parameters

job_id
string
required

Box Doc GenジョブのID。

Response

Box Doc Genジョブの詳細。

Box Doc GenジョブのStandard版の表示。 Box Doc GenジョブのBase版の表示。

id
string
required

Box Doc Genジョブを表す一意の識別子。

Example:

"12345"

type
enum<string>
required

値は常にdocgen_jobになります。

利用可能なオプション:
docgen_job
Example:

"docgen_job"

batch
Box Doc Genのバッチ (Base) · object
required

ジョブが属しているBox Doc Genのバッチ。

template_file
ファイルの参照 · object
required

ジョブで使用されたBox Doc Genテンプレート。

template_file_version
ファイルバージョン (Base) · object
required

テンプレートのファイルバージョン。

status
enum<string>
required

ジョブのステータス。

利用可能なオプション:
submitted,
completed,
failed,
completed_with_error,
pending
Example:

"completed"

output_type
string
required

生成されたファイルの種類。

Example:

"docx"

output_file
ファイルの参照 · object

ジョブの出力ファイル。このプロパティは、ジョブが完了するまでnullとなります。

output_file_version
ファイルバージョン (Base) · object

出力ファイルのファイルバージョン。このプロパティは、ジョブが完了するまでnullとなります。