1. Home
  2. Knowledge Base
  3. Set Document Resource

Set Document Resource


Add or replace the actual content file (resource) of an existing document. If DocumentGUID does not exist – error will be shown (DocumentGUID – returned by api call Create Document).


POST: http://api.aurelon.com/api/v2/document/<DocumentGUID>

Request Headers:

Content-Type : application/octet-stream
MisKey : see Authentication

Request Body:

Binary content of the document


Content type application/json containing the result of the operation.


200 OK : {“Message”:”Document resource successfully saved”}


  • 400 Bad Request : {“Message”:””DocumentGUID” value required”}
  • 401 Unauthorised : {“Message”:”Invalid MisKey”}
  • 401 Unauthorised : {“Message”: “”MisKey” or “HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}
  • 404 Not Found : {“Message”:”DocumentGUID is not found”}
  • 500 Internal Server Error : {“Message”:”Internal Server Error”}
Updated on May 19, 2022

Was this article helpful?