POST
Returns information about the document and document content.
Type | Value |
---|---|
String | The document encoded as a Base64 string. |
Status | Type | Description |
---|---|---|
200 | Document |
On success, the HTTP status code in the response header is 200 (OK). The response body contains a Document |
Name | Type | Value | Optional |
---|---|---|---|
user |
Dictionary<string, object> | Contains all user defined document properties. | yes |
merge |
Merge |
Contains all merge blocks in the document. | yes |
merge |
Merge |
Contains all merge fields in the document. | yes |
document |
String[] | The document's keywords. The property value is null, if there are no keywords saved in the document. | yes |
author | String | The document's author. | yes |
creation |
Date |
The document's creation date. | yes |
creator |
String | The application name that created the document. | yes |
document |
String | The document's subject string. | yes |
document |
String | The document's title string. | yes |
last |
Date |
The date the document has last been modified on. | yes |
Name | Type | Value | Optional |
---|---|---|---|
name | String | The name of the Merge |
yes |
merge |
Merge |
Contains all merge blocks inside of the merge block (excluding blocks inside of nested merge blocks). | yes |
merge |
Merge |
Contains all merge fields inside of the merge block (excluding fields inside of nested merge blocks). | yes |
Name | Type | Value | Optional |
---|---|---|---|
date |
String | Specifies a string format which is applied to date / time values. | yes |
name | String | Gets and sets the name of the field. | yes |
numeric |
String | Specifies a string format which is applied to numeric values. | yes |
preserve |
Boolean | Specifies whether the formatting is preserved. | yes |
text | String | Gets and sets the text of the field. | yes |
text |
String | Gets and sets the text after the field. | yes |
text |
String | Gets and sets the text before the field. | yes |
Status | Description |
---|---|
401 | A 401 (Unauthorized) is returned, if the user is not authorized. |
400 | A 400 (Bad Request) is returned, if DS Server is not licensed or the license is invalid. |
400 | A 400 (Bad Request) is returned, if no document was found in the body. |
400 | A 400 (Bad Request) is returned, if the uploaded document is not valid. |