POST api/v2/MDLSampleType
Request
URI Parameters
Body Parameters
MDLSampleTypeInsert| Name | Description | Type | Additional information |
|---|---|---|---|
| SampleTypeId | integer | ||
| MDLCalculationId | integer |
Request Formats
application/json, text/json
Sample:
{
"SampleTypeId": 1,
"MDLCalculationId": 2
}
text/html
Sample:
{"SampleTypeId":1,"MDLCalculationId":2}
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":{}}