POST ExperimentPartnerAssignment/GetTrialCoordinatorAssignmentsYrs
Request Information
URI Parameters
None.
Body Parameters
GetTrialCoordinatorAssignmentsYrsInputName | Description | Type | Additional information |
---|---|---|---|
partnerRoleId | globally unique identifier |
None. |
|
growingYears | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "partnerRoleId": "53b93806-3580-40d4-9d98-ad506cb4cecf", "growingYears": [ 1, 2 ] }
application/xml, text/xml
Sample:
<ExperimentPartnerAssignmentController.GetTrialCoordinatorAssignmentsYrsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.TrialsAPIServices.Controllers"> <growingYears xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </growingYears> <partnerRoleId>53b93806-3580-40d4-9d98-ad506cb4cecf</partnerRoleId> </ExperimentPartnerAssignmentController.GetTrialCoordinatorAssignmentsYrsInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of AssignmentDetailName | Description | Type | Additional information |
---|---|---|---|
AssignedPerson | string |
None. |
|
AssignedPersonRole | string |
None. |
|
AssignedPersonFISId | integer |
None. |
|
AssignedPersonTerr | Collection of Territory |
None. |
|
AssignedPersonTerritory | string |
None. |
|
AssignedPersonBU | Collection of BusinessUnit |
None. |
|
Street1 | string |
None. |
|
Street2 | string |
None. |
|
City | string |
None. |
|
StateProvince | string |
None. |
|
PostalCode | string |
None. |
|
Country | string |
None. |
|
County | string |
None. |
|
Crop | string |
None. |
|
Season | integer |
None. |
|
ExperimentTitle | string |
None. |
|
ShipToLocationName | string |
None. |
|
GrowingYear | integer |
None. |
|
Year | string |
None. |
|
IsSeedLocallySourced | boolean |
None. |
|
TrialCoordinator | string |
None. |
|
BusinessUnits | Collection of BusinessUnit |
None. |
|
BusinessUnit | string |
None. |
|
Stewards | Collection of string |
None. |
|
Steward | string |
None. |
|
NumberOfPlannedLocations | integer |
None. |
|
NumUnitsPlannedPerLocation | integer |
None. |
|
AssignmentType | string |
None. |
|
AssignedNumberOfLocations | integer |
None. |
|
Assignment | ExperimentPartnerAssignment |
None. |
Response Formats
application/json, text/json
Sample:
[ { "AssignedPerson": "sample string 1", "AssignedPersonRole": "sample string 2", "AssignedPersonFISId": 1, "AssignedPersonTerr": [ { "$id": "1", "TerritoryCode": "sample string 1", "Name": "sample string 2", "AreaCode": "sample string 3", "BusinessUnitCode": "sample string 1", "LastMaintenanceName": "sample string 5", "LastMaintenanceDate": "2024-12-05T12:05:12.6296163+00:00", "Region": "sample string 7", "ManagerName": "sample string 8", "DistrictCode": "sample string 9", "CountryCode": "sample string 10", "CompanyCode": "sample string 11", "BusinessUnit": { "$id": "2", "BusinessUnitCode": "sample string 1", "Name": "sample string 2", "LastMaintenanceName": "sample string 3", "LastMaintenanceDate": "2024-12-05T12:05:12.6296163+00:00", "LegalEntityId": 1.0, "SortOrder": 1, "CompanyCode": "sample string 5", "CountryCode": "sample string 6", "Area": [], "ExperimentBusinessUnitArea": [ { "$id": "3", "ExperimentId": "827f4b07-8ace-40f7-9f6e-c908cf31a471", "BusinessUnitCode": "sample string 1", "AddName": "sample string 3", "AddDate": "2024-12-05T12:05:12.7546516+00:00", "DistrictCode": "sample string 5", "BusinessUnit": { "$ref": "2" }, "Experiment": { "$id": "4", "ExperimentId": "827f4b07-8ace-40f7-9f6e-c908cf31a471", "Title": "sample string 2", "Name": "sample string 3", "CropId": 4, "ExperimentTypeId": 5, "GrowingYear": 6, "TotalPlannedLocations": 7, "AgreementRequired": true, "Description": "sample string 9", "NumberOfReplications": 1, "AddName": "sample string 10", "AddDate": "2024-12-05T12:05:12.7546516+00:00", "LastMaintenanceName": "sample string 12", "LastMaintenanceDate": "2024-12-05T12:05:12.7546516+00:00", "IsSeedLocallySourced": true, "IsSeedTreatmentFactor": true, "ParentExperimentId": "184d8d09-25e6-4d78-a5c1-91b177ad59c7", "IsAvailableInTDE": true, "IsLocalExperiment": true, "ExperimentSubTypeId": 1, "SalesSeason": 1, "Region": "sample string 17", "Country": "sample string 18", "CompanyCode": "sample string 19", "ExperimentBusinessUnitArea": [ { "$ref": "3" } ], "ExperimentFactor": [], "ExperimentGrouping": [ { "$id": "5", "ExperimentId": "827f4b07-8ace-40f7-9f6e-c908cf31a471", "ExperimentGroupId": "b465258d-37fc-432d-82a7-e91e1d7f0ece", "LastMaintenanceName": "sample string 3", "LastMaintenanceDate": "2024-12-05T12:05:12.7546516+00:00", "Experiment": { "$ref": "4" }, "ExperimentGroup": { "$id": "6", "ExperimentGroupId": "b465258d-37fc-432d-82a7-e91e1d7f0ece", "GroupName": "sample string 2", "Year": 3, "CropId": 1, "AddName": "sample string 5", "AddDate": "2024-12-05T12:05:12.7546516+00:00", "LastMaintenanceName": "sample string 7", "LastMaintenanceDate": "2024-12-05T12:05:12.7546516+00:00", "Crop": { "$id": "7", "CropId": 1, "Name": "sample string 2", "ProductLineCode": "sample string 3", "Genus": "sample string 4", "Code": "sample string 5", "TrackingCode": "sample string 6", "LastMaintenanceName": "sample string 7", "LastMaintenanceDate": "2024-12-05T12:05:12.7546516+00:00", "IsOnlySourcedLocally": true, "ExperimentGroup": [ { "$ref": "6" } ], "Experiment": [], "ChangeTracker": { "$id": "8", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "ExperimentGroup": [ { "$ref": "6" } ] } } }, "ExperimentGrouping": [ { "$ref": "5" } ], "ChangeTracker": { "$id": "9", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "ExperimentGrouping": [ { "$ref": "5" } ] } } }, "ChangeTracker": { "$id": "10", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } } ], "ExperimentLayout": [], "ExperimentLocation": [], "Protocol": [], "Strip": [], "ExperimentMeasurement": [], "ExperimentPartnerAssignment": [], "ChangeTracker": { "$id": "11", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "ExperimentGrouping": [ { "$ref": "5" } ], "ExperimentBusinessUnitArea": [ { "$ref": "3" } ] } } }, "ChangeTracker": { "$ref": "10" } } ], "SeedRequest": [], "Territory": [ { "$ref": "1" } ], "ChangeTracker": { "$id": "12", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "Territory": [ { "$ref": "1" } ], "ExperimentBusinessUnitArea": [ { "$ref": "3" } ] } } }, "ChangeTracker": { "$ref": "10" } }, { "$ref": "1" } ], "AssignedPersonTerritory": "sample string 2, sample string 2", "AssignedPersonBU": [ { "$ref": "2" }, { "$ref": "2" } ], "Street1": "sample string 3", "Street2": "sample string 4", "City": "sample string 5", "StateProvince": "sample string 6", "PostalCode": "sample string 7", "Country": "sample string 8", "County": "sample string 9", "Crop": "sample string 10", "Season": 1, "ExperimentTitle": "sample string 11", "ShipToLocationName": "sample string 12", "GrowingYear": 13, "Year": "13", "IsSeedLocallySourced": true, "TrialCoordinator": "sample string 15", "BusinessUnits": [ { "$ref": "2" }, { "$ref": "2" } ], "BusinessUnit": "sample string 2, sample string 2", "Stewards": [ "sample string 1", "sample string 2" ], "Steward": "sample string 1, sample string 2", "NumberOfPlannedLocations": 1, "NumUnitsPlannedPerLocation": 1, "AssignmentType": "" }, { "AssignedPerson": "sample string 1", "AssignedPersonRole": "sample string 2", "AssignedPersonFISId": 1, "AssignedPersonTerr": [ { "$ref": "1" }, { "$ref": "1" } ], "AssignedPersonTerritory": "sample string 2, sample string 2", "AssignedPersonBU": [ { "$ref": "2" }, { "$ref": "2" } ], "Street1": "sample string 3", "Street2": "sample string 4", "City": "sample string 5", "StateProvince": "sample string 6", "PostalCode": "sample string 7", "Country": "sample string 8", "County": "sample string 9", "Crop": "sample string 10", "Season": 1, "ExperimentTitle": "sample string 11", "ShipToLocationName": "sample string 12", "GrowingYear": 13, "Year": "13", "IsSeedLocallySourced": true, "TrialCoordinator": "sample string 15", "BusinessUnits": [ { "$ref": "2" }, { "$ref": "2" } ], "BusinessUnit": "sample string 2, sample string 2", "Stewards": [ "sample string 1", "sample string 2" ], "Steward": "sample string 1, sample string 2", "NumberOfPlannedLocations": 1, "NumUnitsPlannedPerLocation": 1, "AssignmentType": "" } ]
application/xml, text/xml
Sample:
<ArrayOfAssignmentDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <AssignmentDetail> <AssignedNumberOfLocations i:nil="true" /> <AssignedPerson>sample string 1</AssignedPerson> <AssignedPersonBU> <BusinessUnit z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <Area /> <BusinessUnitCode>sample string 1</BusinessUnitCode> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>Territory</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i3" i:type="Territory"> <Area i:nil="true" /> <AreaCode>sample string 3</AreaCode> <BusinessUnit z:Ref="i1" /> <BusinessUnitCode>sample string 1</BusinessUnitCode> <ChangeTracker z:Id="i4"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <CompanyCode>sample string 11</CompanyCode> <CountryCode>sample string 10</CountryCode> <DistrictCode>sample string 9</DistrictCode> <LastMaintenanceDate>2024-12-05T12:05:12.6296163+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 5</LastMaintenanceName> <ManagerName>sample string 8</ManagerName> <Name>sample string 2</Name> <Region>sample string 7</Region> <TerritoryCode>sample string 1</TerritoryCode> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> <AddedObjectsForProperty> <CollectionPropertyName>ExperimentBusinessUnitArea</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i5" i:type="ExperimentBusinessUnitArea"> <AddDate>2024-12-05T12:05:12.7546516+00:00</AddDate> <AddName>sample string 3</AddName> <BusinessUnit z:Ref="i1" /> <BusinessUnitCode>sample string 1</BusinessUnitCode> <ChangeTracker z:Ref="i4" /> <DistrictCode>sample string 5</DistrictCode> <Experiment z:Id="i6"> <AddDate>2024-12-05T12:05:12.7546516+00:00</AddDate> <AddName>sample string 10</AddName> <AgreementRequired>true</AgreementRequired> <ChangeTracker z:Id="i7"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>ExperimentGrouping</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i8" i:type="ExperimentGrouping"> <ChangeTracker z:Ref="i4" /> <Experiment z:Ref="i6" /> <ExperimentGroup z:Id="i9"> <AddDate>2024-12-05T12:05:12.7546516+00:00</AddDate> <AddName>sample string 5</AddName> <ChangeTracker z:Id="i10"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>ExperimentGrouping</CollectionPropertyName> <AddedObjects> <ObjectValue z:Ref="i8" /> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Crop z:Id="i11"> <ChangeTracker z:Id="i12"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>ExperimentGroup</CollectionPropertyName> <AddedObjects> <ObjectValue z:Ref="i9" /> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Code>sample string 5</Code> <CropId>1</CropId> <Experiment /> <ExperimentGroup> <ExperimentGroup z:Ref="i9" /> </ExperimentGroup> <Genus>sample string 4</Genus> <IsOnlySourcedLocally>true</IsOnlySourcedLocally> <LastMaintenanceDate>2024-12-05T12:05:12.7546516+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 7</LastMaintenanceName> <Name>sample string 2</Name> <ProductLineCode>sample string 3</ProductLineCode> <TrackingCode>sample string 6</TrackingCode> </Crop> <CropId>1</CropId> <ExperimentGroupId>b465258d-37fc-432d-82a7-e91e1d7f0ece</ExperimentGroupId> <ExperimentGrouping> <ExperimentGrouping z:Ref="i8" /> </ExperimentGrouping> <GroupName>sample string 2</GroupName> <LastMaintenanceDate>2024-12-05T12:05:12.7546516+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 7</LastMaintenanceName> <Year>3</Year> </ExperimentGroup> <ExperimentGroupId>b465258d-37fc-432d-82a7-e91e1d7f0ece</ExperimentGroupId> <ExperimentId>827f4b07-8ace-40f7-9f6e-c908cf31a471</ExperimentId> <LastMaintenanceDate>2024-12-05T12:05:12.7546516+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 3</LastMaintenanceName> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> <AddedObjectsForProperty> <CollectionPropertyName>ExperimentBusinessUnitArea</CollectionPropertyName> <AddedObjects> <ObjectValue z:Ref="i5" /> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <CompanyCode>sample string 19</CompanyCode> <Country>sample string 18</Country> <Crop i:nil="true" /> <CropId>4</CropId> <Description>sample string 9</Description> <ExperimentBusinessUnitArea> <ExperimentBusinessUnitArea z:Ref="i5" /> </ExperimentBusinessUnitArea> <ExperimentFactor /> <ExperimentGrouping> <ExperimentGrouping z:Ref="i8" /> </ExperimentGrouping> <ExperimentId>827f4b07-8ace-40f7-9f6e-c908cf31a471</ExperimentId> <ExperimentLayout /> <ExperimentLocation /> <ExperimentMeasurement /> <ExperimentPartnerAssignment /> <ExperimentSubTypeId>1</ExperimentSubTypeId> <ExperimentType i:nil="true" /> <ExperimentTypeId>5</ExperimentTypeId> <GrowingYear>6</GrowingYear> <IsAvailableInTDE>true</IsAvailableInTDE> <IsLocalExperiment>true</IsLocalExperiment> <IsSeedLocallySourced>true</IsSeedLocallySourced> <IsSeedTreatmentFactor>true</IsSeedTreatmentFactor> <LastMaintenanceDate>2024-12-05T12:05:12.7546516+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 12</LastMaintenanceName> <Name>sample string 3</Name> <NumberOfReplications>1</NumberOfReplications> <ParentExperimentId>184d8d09-25e6-4d78-a5c1-91b177ad59c7</ParentExperimentId> <Protocol /> <Region>sample string 17</Region> <SalesSeason>1</SalesSeason> <Strip /> <Title>sample string 2</Title> <TotalPlannedLocations>7</TotalPlannedLocations> </Experiment> <ExperimentId>827f4b07-8ace-40f7-9f6e-c908cf31a471</ExperimentId> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <CompanyCode>sample string 5</CompanyCode> <CountryCode>sample string 6</CountryCode> <ExperimentBusinessUnitArea> <ExperimentBusinessUnitArea z:Ref="i5" /> </ExperimentBusinessUnitArea> <LastMaintenanceDate>2024-12-05T12:05:12.6296163+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 3</LastMaintenanceName> <LegalEntityId>1</LegalEntityId> <Name>sample string 2</Name> <SeedRequest /> <SortOrder>1</SortOrder> <Territory> <Territory z:Ref="i3" /> </Territory> </BusinessUnit> <BusinessUnit z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </AssignedPersonBU> <AssignedPersonFISId>1</AssignedPersonFISId> <AssignedPersonRole>sample string 2</AssignedPersonRole> <AssignedPersonTerr> <Territory z:Ref="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> <Territory z:Ref="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </AssignedPersonTerr> <Assignment i:nil="true" /> <BusinessUnits> <BusinessUnit z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> <BusinessUnit z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </BusinessUnits> <City>sample string 5</City> <Country>sample string 8</Country> <County>sample string 9</County> <Crop>sample string 10</Crop> <ExperimentTitle>sample string 11</ExperimentTitle> <GrowingYear>13</GrowingYear> <IsSeedLocallySourced>true</IsSeedLocallySourced> <NumUnitsPlannedPerLocation>1</NumUnitsPlannedPerLocation> <NumberOfPlannedLocations>1</NumberOfPlannedLocations> <PostalCode>sample string 7</PostalCode> <Season>1</Season> <ShipToLocationName>sample string 12</ShipToLocationName> <StateProvince>sample string 6</StateProvince> <Stewards xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Stewards> <Street1>sample string 3</Street1> <Street2>sample string 4</Street2> <TrialCoordinator>sample string 15</TrialCoordinator> </AssignmentDetail> <AssignmentDetail> <AssignedNumberOfLocations i:nil="true" /> <AssignedPerson>sample string 1</AssignedPerson> <AssignedPersonBU> <BusinessUnit z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> <BusinessUnit z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </AssignedPersonBU> <AssignedPersonFISId>1</AssignedPersonFISId> <AssignedPersonRole>sample string 2</AssignedPersonRole> <AssignedPersonTerr> <Territory z:Ref="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> <Territory z:Ref="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </AssignedPersonTerr> <Assignment i:nil="true" /> <BusinessUnits> <BusinessUnit z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> <BusinessUnit z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </BusinessUnits> <City>sample string 5</City> <Country>sample string 8</Country> <County>sample string 9</County> <Crop>sample string 10</Crop> <ExperimentTitle>sample string 11</ExperimentTitle> <GrowingYear>13</GrowingYear> <IsSeedLocallySourced>true</IsSeedLocallySourced> <NumUnitsPlannedPerLocation>1</NumUnitsPlannedPerLocation> <NumberOfPlannedLocations>1</NumberOfPlannedLocations> <PostalCode>sample string 7</PostalCode> <Season>1</Season> <ShipToLocationName>sample string 12</ShipToLocationName> <StateProvince>sample string 6</StateProvince> <Stewards xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Stewards> <Street1>sample string 3</Street1> <Street2>sample string 4</Street2> <TrialCoordinator>sample string 15</TrialCoordinator> </AssignmentDetail> </ArrayOfAssignmentDetail>