POST api/v2/samples/{sampleId}/SampleDocs
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sampleId | integer |
Required |
Body Parameters
SampleDocsUpdateParams| Name | Description | Type | Additional information |
|---|---|---|---|
| DocTemplateIds | Collection of integer | ||
| SyncPortal | boolean | ||
| AutomaticGeneration | boolean |
Request Formats
application/json, text/json
Sample:
{
"DocTemplateIds": [
1,
2
],
"SyncPortal": true,
"AutomaticGeneration": true
}
text/html
Sample:
{"DocTemplateIds":[1,2],"SyncPortal":true,"AutomaticGeneration":true}
Response
DefaultResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean | ||
| Messages | Collection of string | ||
| DialogType | integer | ||
| Data | Object |
Response Format
application/json, text/json
Sample:
{
"Success": true,
"Messages": [
"sample string 1",
"sample string 2"
],
"DialogType": 1,
"Data": {}
}
text/html
Sample:
{"Success":true,"Messages":["sample string 1","sample string 2"],"DialogType":1,"Data":{}}