PUT api/preview/saveTextDocument

Save a file in text format

Request Information

URI Parameters

None.

Body Parameters

json is deserialised into this object

UpdatedPreviewDocument
NameDescriptionTypeAdditional information
fileType

string

None.

docReference

string

None.

data

string

None.

Request Formats

application/json, text/json

Sample:
{
  "fileType": "sample string 1",
  "docReference": "sample string 2",
  "data": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SystemDocumentDataContract
NameDescriptionTypeAdditional information
Partition

SystemStoragePartition

None.

Reference

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Partition": 0,
  "Reference": "sample string 1"
}