ジョブに関する情報は、Job.xmlから抽出されます。
のURLです。
POST:http://api.aurelon.com/api/v2/job/status
リクエストヘッダ。
Content-Type : application/json
MisKey : 認証を参照。
HardwareHash : 認証を参照
SerialNumber : 認証を参照
ApplicationVersion : Authenticationを参照。
リクエストの本文です。
を含むJSONオブジェクト。
- JobGUID– 必須 – ジョブのGUIDです。
- StatusSpooler– “Waiting”, “Hold”, “Warning”, “Spooling”, “Processing”, “Canceling”, “Ready”, “Deleting”, “NotSupported “のいずれか1つ
- 進捗状況– 印刷の進捗状況を示す0から100までの整数値。
- ProgressLabel– 追加の進行状況情報を表す文字列です。
例{"JobGUID":"00092EA6-fb01-11e5-9b85-793ef2c92c66", "StatusSpooler":"Processing","Progress":30}
対応する。
操作の結果を含むコンテンツタイプapplication/json。
成功です。
200 OK :: “ジョブの保存に成功しました”
エラーです。
- 400 Bad Request :{“Message”:””JobGUID” value required”}.
- 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”: “JobGUID is not found”}.
- 415 Unsupported Media Type :{“Message”: “Expected type: application/json”}.
- 500 Internal Server Error :{“Message”: “Internal Server Error”}.