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).



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 December 4, 2019

Was this article helpful?

Related Articles