1. ホーム
  2. ナレッジベース
  3. ドキュメント付きジョブの追加

ドキュメント付きジョブの追加

job.xmlと1つのドキュメントからジョブビルドを追加します。 この呼び出しにより、埋め込まれたドキュメントのリンクは、ドキュメントに割り当てられているDocumentGUIDに置き換えられます。 DocumentGUID はレスポンスで返される。

のURLです。

POST:http://api.aurelon.com/api/v2/job

リクエストヘッダ。

Content-Type : multipart/form-data
MisKey : 認証を参照。
HardwareHash : 認証を参照
SerialNumber : 認証を参照
ApplicationVersion : Authenticationを参照。

リクエストの本文です。

フォームデータ1:必須

  • 名前Job.xml
  • Content-Type: application/xml
  • ジョブ XML (ジョブ XML 仕様を参照)

フォームデータ2:必須

  • 名前原稿の原画名
  • Content-Type: application/pdf or image/.{format}
  • ドキュメントのバイナリコンテンツ

対応する。

操作の結果を含むコンテンツタイプapplication/json。

成功です。

200 OK :{“Message”: “Job successfully saved”, “DocumentGUID”: “00000000-0000-0000-0000000000”}, “DocumentGUID”: “00000000-0000-0000000000”}.

エラーです。

  • 400 Bad Request :{“Message”:””DeviceGUID” value required in xml”}{“Message”: “DeviceGUID “value required in xml”}。
  • 401 Unauthorized :{“Message”: “Invalid HardwareHash”}のようなメッセージが表示されます。
  • 401 Unauthorized :{“Message”: “Invalid MisKey”}.
  • 401 Unauthorized :{“Message”:””MisKey” or “HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}”MisKey “または “HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}.
  • 404 Not Found :{“Message”: “DeviceGUID is not found”}.
  • 415 Unsupported Media Type :{“Message”: “This request is not properly formatted”}.
  • 500 Internal Server Error :{“Message”: “Internal Server Error”}.

ジョブXMLの例:こちら

Updated on 5月 10, 2022

Was this article helpful?