POST api/v2/sampletypes/FixControlPlanCopy?maintenanceKey={maintenanceKey}
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| maintenanceKey | string |
Required |
Body Parameters
Collection of RequestCopyControlPlanBySampleTypeIds| Name | Description | Type | Additional information |
|---|---|---|---|
| TargetSampleTypeIds | Collection of integer | ||
| SampleTypeId | integer |
Request Formats
application/json, text/json
Sample:
[
{
"TargetSampleTypeIds": [
1,
2
],
"SampleTypeId": 1
},
{
"TargetSampleTypeIds": [
1,
2
],
"SampleTypeId": 1
}
]
text/html
Sample:
[{"TargetSampleTypeIds":[1,2],"SampleTypeId":1},{"TargetSampleTypeIds":[1,2],"SampleTypeId":1}]
Response
DefaultResultOfResponseCopyControlPlanBySampleTypeIds| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean | ||
| Messages | Collection of string | ||
| Data | ResponseCopyControlPlanBySampleTypeIds |
Response Format
application/json, text/json
Sample:
{
"Success": true,
"Messages": [
"sample string 1",
"sample string 2"
],
"Data": {
"TargetSampleTypeIds": [
1,
2
],
"SampleTypeId": 1
}
}
text/html
Sample:
{"Success":true,"Messages":["sample string 1","sample string 2"],"Data":{"TargetSampleTypeIds":[1,2],"SampleTypeId":1}}