This API request allows you to deploy new Structured document.
Structured document is a document which has predefined structure and template, previously deployed to blockchain, which describes this structure.

Some rules for data which should be sent in request:

  1. Issue timestamp specifies the date and time when document has been created. For convenient use we recommend you specify time 00:00 (at the beginning of the day) when document is created, as you probably will make search using this date.
  2. Data in 'dataJson' field must have form: '{ "fields":{}, "tables":{} }'.
  3. Specify [] (empty brackets) is document should be visible only for you (private mode), array of public keys for 'permissioned' document (for you and some other participants) and ["public"] if document should be
    visible for everyone.

Response status codes:
201 - document has been successfully deployed
400 - you specify invalid data in one or few fields
401 - you are not authorized
500 - if unhandled and unexpected exception happened
502 - exception happens while working with blockchain node

Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!