POST api/v2/sampletypes/FixControlPlanCopy?maintenanceKey={maintenanceKey}

Request

URI Parameters

NameDescriptionTypeAdditional information
maintenanceKey

string

Required

Body Parameters

Collection of RequestCopyControlPlanBySampleTypeIds
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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}}