POST Experiment/DuplicateExperiment
Request Information
URI Parameters
None.
Body Parameters
DuplicateExperimentInput| Name | Description | Type | Additional information |
|---|---|---|---|
| origExperimentId | globally unique identifier |
None. |
|
| userName | string |
None. |
|
| partnerRoleId | globally unique identifier |
None. |
|
| userBusinessUnits | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"origExperimentId": "afcf15ec-7d2b-4cde-a86c-4b8fe8052e25",
"userName": "sample string 2",
"partnerRoleId": "c98e4654-521f-4d85-9d7a-4ab6bedb9b69",
"userBusinessUnits": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ExperimentController.DuplicateExperimentInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.TrialsAPIServices.Controllers">
<origExperimentId>afcf15ec-7d2b-4cde-a86c-4b8fe8052e25</origExperimentId>
<partnerRoleId>c98e4654-521f-4d85-9d7a-4ab6bedb9b69</partnerRoleId>
<userBusinessUnits xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</userBusinessUnits>
<userName>sample string 2</userName>
</ExperimentController.DuplicateExperimentInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Experiment| Name | Description | Type | Additional information |
|---|---|---|---|
| ExperimentId | globally unique identifier |
None. |
|
| Title | string |
None. |
|
| Name | string |
None. |
|
| CropId | integer |
None. |
|
| ExperimentTypeId | integer |
None. |
|
| GrowingYear | integer |
None. |
|
| TotalPlannedLocations | integer |
None. |
|
| AgreementRequired | boolean |
None. |
|
| Description | string |
None. |
|
| NumberOfReplications | integer |
None. |
|
| AddName | string |
None. |
|
| AddDate | date |
None. |
|
| LastMaintenanceName | string |
None. |
|
| LastMaintenanceDate | date |
None. |
|
| IsSeedLocallySourced | boolean |
None. |
|
| IsSeedTreatmentFactor | boolean |
None. |
|
| ParentExperimentId | globally unique identifier |
None. |
|
| IsAvailableInTDE | boolean |
None. |
|
| IsLocalExperiment | boolean |
None. |
|
| ExperimentSubTypeId | integer |
None. |
|
| SalesSeason | integer |
None. |
|
| Region | string |
None. |
|
| Country | string |
None. |
|
| CompanyCode | string |
None. |
|
| Crop | Crop |
None. |
|
| ExperimentBusinessUnitArea | Collection of ExperimentBusinessUnitArea |
None. |
|
| ExperimentFactor | Collection of ExperimentFactor |
None. |
|
| ExperimentGrouping | Collection of ExperimentGrouping |
None. |
|
| ExperimentLayout | Collection of ExperimentLayout |
None. |
|
| ExperimentLocation | Collection of ExperimentLocation |
None. |
|
| ExperimentType | ExperimentType |
None. |
|
| Protocol | Collection of Protocol |
None. |
|
| Strip | Collection of Strip |
None. |
|
| ExperimentMeasurement | Collection of ExperimentMeasurement |
None. |
|
| ExperimentPartnerAssignment | Collection of ExperimentPartnerAssignment |
None. |
|
| ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.