POST Location/MergeLocations
Request Information
URI Parameters
None.
Body Parameters
MergeLocationsInputName | Description | Type | Additional information |
---|---|---|---|
masterLocationId | globally unique identifier |
None. |
|
experimentId | globally unique identifier |
None. |
|
locListResults | Collection of LocationListResults |
None. |
Request Formats
application/json, text/json
Sample:
{ "masterLocationId": "9c2fe8eb-ab1c-4e55-9598-894b96e9e980", "experimentId": "4ab044f5-294b-48b3-96da-512741886a7f", "locListResults": [ { "ExperimentTitle": "sample string 1", "previousCrop": "sample string 2", "CompanyCode": "sample string 3", "StripCount": 4, "Nitrogen": 1.1, "AverageMoisture": 1.1, "AverageMoistureDisplay": 1.1, "AverageYield": 1.1, "AverageYieldDisplay": 1.1, "ExperimentName": "sample string 5", "LocationName": "sample string 6", "BusinessPartner": "sample string 7", "BpFISId": "sample string 8", "Status": 1, "Crop": "sample string 9", "Year": 10, "ExperimentType": "sample string 11", "GroupList": [ "sample string 1", "sample string 2" ], "YMStatus": "sample string 12", "Irrigation": "sample string 13", "Tillage": "sample string 14", "GroupNames": "sample string 15", "Groups": "sample string 15", "TrialCoordinatorId": "2d96d1a4-cf4c-4719-b3fd-f11dd2f74eab", "TrialCoordinators": "sample string 17", "TDEContact": "sample string 18", "StewardNames": "sample string 19", "StewardList": [ "sample string 1", "sample string 2" ], "StewardIdList": [ "9f3e6067-c684-4e6b-8334-c0f329003613", "ff59521b-12db-4372-9ccd-05bc8eb06ad5" ], "Stewards": "sample string 19", "LocalTrackingName": "sample string 20 (C)", "TrackingName": "sample string 20", "SalesEntityPartnerRoles": [ { "$id": "1", "SalesEntityCode": "sample string 1", "SalesEntityTypeId": 2, "PartnerRoleId": "a1d571df-faee-4cb7-8e6a-68f6a7b9234e", "FromFIS": true, "CountryCode": "sample string 4", "CompanyCode": "sample string 5", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$ref": "1" } ], "BusinessUnit": "sample string 21", "SalesArea": "sample string 22", "SalesDistrict": "sample string 23", "Territory": "sample string 24", "State": "sample string 25", "County": "sample string 26", "Country": "sample string 27", "PlantedBit": true, "HarvestedBit": true, "CourtesyBit": true, "UseNameBit": true, "LegalReleaseBit": true, "Planted": "Yes", "Harvested": "Yes", "Courtesy": "Yes", "UseName": "Yes", "LegalRelease": "Yes", "PlantingDate": "2025-04-04T08:45:39.907603+00:00", "HarvestDate": "2025-04-04T08:45:39.907603+00:00", "KitRequestedDate": "2025-04-04T08:45:39.907603+00:00", "LastModifiedDate": "2025-04-04T08:45:39.907603+00:00", "BWOperationID": "sample string 28", "OperationName": "sample string 29", "WeighDevice": 1.1, "Latitude": 1.1, "Longitude": 1.1, "ExperimentId": "147c002a-93d1-4379-8f88-c00a5bad3f57", "TDEContactId": "17822581-8e3b-4f04-bdab-55cdeb90be0e", "TDEContactFISId": "sample string 32", "LocationId": "71b72c2d-f4a0-4fa5-bd1c-928567a253ce", "ExperimentPartnreAssignmentId": "da6e90cc-fb77-4ba6-af1c-1d3b6495ef34", "AssignedNumberOfLocations": 1, "ExistingLocations": 35, "IsLocalExperimentBit": true, "IsLocalExperiment": "Yes", "Agreements": [ { "$id": "3", "LocationId": "3c42c989-3a54-4f49-9b9f-3c0a1432d0fc", "DocumentId": 2, "Signed": true, "LastMaintenanceName": "sample string 4", "LastMaintenanceDate": "2025-04-04T08:45:39.9380579+00:00", "ChangeTracker": { "$ref": "2" } }, { "$ref": "3" } ], "AgreementsIndicator": 36, "AgreementsRequired": "sample string 37", "Season": 1, "LocationCount": 38, "City": "sample string 39", "YieldTraitId": 1, "CombinedExperiment": true }, { "ExperimentTitle": "sample string 1", "previousCrop": "sample string 2", "CompanyCode": "sample string 3", "StripCount": 4, "Nitrogen": 1.1, "AverageMoisture": 1.1, "AverageMoistureDisplay": 1.1, "AverageYield": 1.1, "AverageYieldDisplay": 1.1, "ExperimentName": "sample string 5", "LocationName": "sample string 6", "BusinessPartner": "sample string 7", "BpFISId": "sample string 8", "Status": 1, "Crop": "sample string 9", "Year": 10, "ExperimentType": "sample string 11", "GroupList": [ "sample string 1", "sample string 2" ], "YMStatus": "sample string 12", "Irrigation": "sample string 13", "Tillage": "sample string 14", "GroupNames": "sample string 15", "Groups": "sample string 15", "TrialCoordinatorId": "2d96d1a4-cf4c-4719-b3fd-f11dd2f74eab", "TrialCoordinators": "sample string 17", "TDEContact": "sample string 18", "StewardNames": "sample string 19", "StewardList": [ "sample string 1", "sample string 2" ], "StewardIdList": [ "9f3e6067-c684-4e6b-8334-c0f329003613", "ff59521b-12db-4372-9ccd-05bc8eb06ad5" ], "Stewards": "sample string 19", "LocalTrackingName": "sample string 20 (C)", "TrackingName": "sample string 20", "SalesEntityPartnerRoles": [ { "$ref": "1" }, { "$ref": "1" } ], "BusinessUnit": "sample string 21", "SalesArea": "sample string 22", "SalesDistrict": "sample string 23", "Territory": "sample string 24", "State": "sample string 25", "County": "sample string 26", "Country": "sample string 27", "PlantedBit": true, "HarvestedBit": true, "CourtesyBit": true, "UseNameBit": true, "LegalReleaseBit": true, "Planted": "Yes", "Harvested": "Yes", "Courtesy": "Yes", "UseName": "Yes", "LegalRelease": "Yes", "PlantingDate": "2025-04-04T08:45:39.907603+00:00", "HarvestDate": "2025-04-04T08:45:39.907603+00:00", "KitRequestedDate": "2025-04-04T08:45:39.907603+00:00", "LastModifiedDate": "2025-04-04T08:45:39.907603+00:00", "BWOperationID": "sample string 28", "OperationName": "sample string 29", "WeighDevice": 1.1, "Latitude": 1.1, "Longitude": 1.1, "ExperimentId": "147c002a-93d1-4379-8f88-c00a5bad3f57", "TDEContactId": "17822581-8e3b-4f04-bdab-55cdeb90be0e", "TDEContactFISId": "sample string 32", "LocationId": "71b72c2d-f4a0-4fa5-bd1c-928567a253ce", "ExperimentPartnreAssignmentId": "da6e90cc-fb77-4ba6-af1c-1d3b6495ef34", "AssignedNumberOfLocations": 1, "ExistingLocations": 35, "IsLocalExperimentBit": true, "IsLocalExperiment": "Yes", "Agreements": [ { "$ref": "3" }, { "$ref": "3" } ], "AgreementsIndicator": 36, "AgreementsRequired": "sample string 37", "Season": 1, "LocationCount": 38, "City": "sample string 39", "YieldTraitId": 1, "CombinedExperiment": true } ] }
application/xml, text/xml
Sample:
<LocationController.MergeLocationsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.TrialsAPIServices.Controllers"> <experimentId>4ab044f5-294b-48b3-96da-512741886a7f</experimentId> <locListResults xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <d2p1:LocationListResults> <d2p1:Agreements> <d2p1:LocationAgreement z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <d2p1:ChangeTracker z:Id="i2"> <d2p1:ExtendedProperties /> <d2p1:ObjectsAddedToCollectionProperties /> <d2p1:ObjectsRemovedFromCollectionProperties /> <d2p1:OriginalValues /> <d2p1:State>Added</d2p1:State> </d2p1:ChangeTracker> <d2p1:DocumentId>2</d2p1:DocumentId> <d2p1:LastMaintenanceDate>2025-04-04T08:45:39.9380579+00:00</d2p1:LastMaintenanceDate> <d2p1:LastMaintenanceName>sample string 4</d2p1:LastMaintenanceName> <d2p1:Location i:nil="true" /> <d2p1:LocationId>3c42c989-3a54-4f49-9b9f-3c0a1432d0fc</d2p1:LocationId> <d2p1:Signed>true</d2p1:Signed> </d2p1:LocationAgreement> <d2p1:LocationAgreement z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </d2p1:Agreements> <d2p1:AgreementsIndicator>36</d2p1:AgreementsIndicator> <d2p1:AgreementsRequired>sample string 37</d2p1:AgreementsRequired> <d2p1:AssignedNumberOfLocations>1</d2p1:AssignedNumberOfLocations> <d2p1:AverageMoisture>1.1</d2p1:AverageMoisture> <d2p1:AverageYield>1.1</d2p1:AverageYield> <d2p1:BWOperationID>sample string 28</d2p1:BWOperationID> <d2p1:BpFISId>sample string 8</d2p1:BpFISId> <d2p1:BusinessPartner>sample string 7</d2p1:BusinessPartner> <d2p1:BusinessUnit>sample string 21</d2p1:BusinessUnit> <d2p1:City>sample string 39</d2p1:City> <d2p1:CombinedExperiment>true</d2p1:CombinedExperiment> <d2p1:CompanyCode>sample string 3</d2p1:CompanyCode> <d2p1:Country>sample string 27</d2p1:Country> <d2p1:County>sample string 26</d2p1:County> <d2p1:CourtesyBit>true</d2p1:CourtesyBit> <d2p1:Crop>sample string 9</d2p1:Crop> <d2p1:ExistingLocations>35</d2p1:ExistingLocations> <d2p1:ExperimentId>147c002a-93d1-4379-8f88-c00a5bad3f57</d2p1:ExperimentId> <d2p1:ExperimentName>sample string 5</d2p1:ExperimentName> <d2p1:ExperimentPartnreAssignmentId>da6e90cc-fb77-4ba6-af1c-1d3b6495ef34</d2p1:ExperimentPartnreAssignmentId> <d2p1:ExperimentTitle>sample string 1</d2p1:ExperimentTitle> <d2p1:ExperimentType>sample string 11</d2p1:ExperimentType> <d2p1:GroupList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:GroupList> <d2p1:GroupNames>sample string 15</d2p1:GroupNames> <d2p1:HarvestDate>2025-04-04T08:45:39.907603+00:00</d2p1:HarvestDate> <d2p1:HarvestedBit>true</d2p1:HarvestedBit> <d2p1:Irrigation>sample string 13</d2p1:Irrigation> <d2p1:IsLocalExperimentBit>true</d2p1:IsLocalExperimentBit> <d2p1:KitRequestedDate>2025-04-04T08:45:39.907603+00:00</d2p1:KitRequestedDate> <d2p1:LastModifiedDate>2025-04-04T08:45:39.907603+00:00</d2p1:LastModifiedDate> <d2p1:Latitude>1.1</d2p1:Latitude> <d2p1:LegalReleaseBit>true</d2p1:LegalReleaseBit> <d2p1:LocationCount>38</d2p1:LocationCount> <d2p1:LocationId>71b72c2d-f4a0-4fa5-bd1c-928567a253ce</d2p1:LocationId> <d2p1:LocationName>sample string 6</d2p1:LocationName> <d2p1:Longitude>1.1</d2p1:Longitude> <d2p1:Nitrogen>1.1</d2p1:Nitrogen> <d2p1:OperationName>sample string 29</d2p1:OperationName> <d2p1:PlantedBit>true</d2p1:PlantedBit> <d2p1:PlantingDate>2025-04-04T08:45:39.907603+00:00</d2p1:PlantingDate> <d2p1:SalesArea>sample string 22</d2p1:SalesArea> <d2p1:SalesDistrict>sample string 23</d2p1:SalesDistrict> <d2p1:SalesEntityPartnerRoles> <d2p1:SalesEntityPartnerRole z:Id="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <d2p1:ChangeTracker z:Ref="i2" /> <d2p1:CompanyCode>sample string 5</d2p1:CompanyCode> <d2p1:CountryCode>sample string 4</d2p1:CountryCode> <d2p1:FromFIS>true</d2p1:FromFIS> <d2p1:PartnerRoleId>a1d571df-faee-4cb7-8e6a-68f6a7b9234e</d2p1:PartnerRoleId> <d2p1:SalesEntityCode>sample string 1</d2p1:SalesEntityCode> <d2p1:SalesEntityTypeId>2</d2p1:SalesEntityTypeId> </d2p1:SalesEntityPartnerRole> <d2p1:SalesEntityPartnerRole z:Ref="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </d2p1:SalesEntityPartnerRoles> <d2p1:Season>1</d2p1:Season> <d2p1:State>sample string 25</d2p1:State> <d2p1:Status>1</d2p1:Status> <d2p1:StewardIdList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>9f3e6067-c684-4e6b-8334-c0f329003613</d4p1:guid> <d4p1:guid>ff59521b-12db-4372-9ccd-05bc8eb06ad5</d4p1:guid> </d2p1:StewardIdList> <d2p1:StewardList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:StewardList> <d2p1:StewardNames>sample string 19</d2p1:StewardNames> <d2p1:StripCount>4</d2p1:StripCount> <d2p1:TDEContact>sample string 18</d2p1:TDEContact> <d2p1:TDEContactFISId>sample string 32</d2p1:TDEContactFISId> <d2p1:TDEContactId>17822581-8e3b-4f04-bdab-55cdeb90be0e</d2p1:TDEContactId> <d2p1:Territory>sample string 24</d2p1:Territory> <d2p1:Tillage>sample string 14</d2p1:Tillage> <d2p1:TrackingName>sample string 20</d2p1:TrackingName> <d2p1:TrialCoordinatorId>2d96d1a4-cf4c-4719-b3fd-f11dd2f74eab</d2p1:TrialCoordinatorId> <d2p1:TrialCoordinators>sample string 17</d2p1:TrialCoordinators> <d2p1:UseNameBit>true</d2p1:UseNameBit> <d2p1:WeighDevice>1.1</d2p1:WeighDevice> <d2p1:YMStatus>sample string 12</d2p1:YMStatus> <d2p1:Year>10</d2p1:Year> <d2p1:YieldTraitId>1</d2p1:YieldTraitId> <d2p1:previousCrop>sample string 2</d2p1:previousCrop> </d2p1:LocationListResults> <d2p1:LocationListResults> <d2p1:Agreements> <d2p1:LocationAgreement z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> <d2p1:LocationAgreement z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </d2p1:Agreements> <d2p1:AgreementsIndicator>36</d2p1:AgreementsIndicator> <d2p1:AgreementsRequired>sample string 37</d2p1:AgreementsRequired> <d2p1:AssignedNumberOfLocations>1</d2p1:AssignedNumberOfLocations> <d2p1:AverageMoisture>1.1</d2p1:AverageMoisture> <d2p1:AverageYield>1.1</d2p1:AverageYield> <d2p1:BWOperationID>sample string 28</d2p1:BWOperationID> <d2p1:BpFISId>sample string 8</d2p1:BpFISId> <d2p1:BusinessPartner>sample string 7</d2p1:BusinessPartner> <d2p1:BusinessUnit>sample string 21</d2p1:BusinessUnit> <d2p1:City>sample string 39</d2p1:City> <d2p1:CombinedExperiment>true</d2p1:CombinedExperiment> <d2p1:CompanyCode>sample string 3</d2p1:CompanyCode> <d2p1:Country>sample string 27</d2p1:Country> <d2p1:County>sample string 26</d2p1:County> <d2p1:CourtesyBit>true</d2p1:CourtesyBit> <d2p1:Crop>sample string 9</d2p1:Crop> <d2p1:ExistingLocations>35</d2p1:ExistingLocations> <d2p1:ExperimentId>147c002a-93d1-4379-8f88-c00a5bad3f57</d2p1:ExperimentId> <d2p1:ExperimentName>sample string 5</d2p1:ExperimentName> <d2p1:ExperimentPartnreAssignmentId>da6e90cc-fb77-4ba6-af1c-1d3b6495ef34</d2p1:ExperimentPartnreAssignmentId> <d2p1:ExperimentTitle>sample string 1</d2p1:ExperimentTitle> <d2p1:ExperimentType>sample string 11</d2p1:ExperimentType> <d2p1:GroupList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:GroupList> <d2p1:GroupNames>sample string 15</d2p1:GroupNames> <d2p1:HarvestDate>2025-04-04T08:45:39.907603+00:00</d2p1:HarvestDate> <d2p1:HarvestedBit>true</d2p1:HarvestedBit> <d2p1:Irrigation>sample string 13</d2p1:Irrigation> <d2p1:IsLocalExperimentBit>true</d2p1:IsLocalExperimentBit> <d2p1:KitRequestedDate>2025-04-04T08:45:39.907603+00:00</d2p1:KitRequestedDate> <d2p1:LastModifiedDate>2025-04-04T08:45:39.907603+00:00</d2p1:LastModifiedDate> <d2p1:Latitude>1.1</d2p1:Latitude> <d2p1:LegalReleaseBit>true</d2p1:LegalReleaseBit> <d2p1:LocationCount>38</d2p1:LocationCount> <d2p1:LocationId>71b72c2d-f4a0-4fa5-bd1c-928567a253ce</d2p1:LocationId> <d2p1:LocationName>sample string 6</d2p1:LocationName> <d2p1:Longitude>1.1</d2p1:Longitude> <d2p1:Nitrogen>1.1</d2p1:Nitrogen> <d2p1:OperationName>sample string 29</d2p1:OperationName> <d2p1:PlantedBit>true</d2p1:PlantedBit> <d2p1:PlantingDate>2025-04-04T08:45:39.907603+00:00</d2p1:PlantingDate> <d2p1:SalesArea>sample string 22</d2p1:SalesArea> <d2p1:SalesDistrict>sample string 23</d2p1:SalesDistrict> <d2p1:SalesEntityPartnerRoles> <d2p1:SalesEntityPartnerRole z:Ref="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> <d2p1:SalesEntityPartnerRole z:Ref="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </d2p1:SalesEntityPartnerRoles> <d2p1:Season>1</d2p1:Season> <d2p1:State>sample string 25</d2p1:State> <d2p1:Status>1</d2p1:Status> <d2p1:StewardIdList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>9f3e6067-c684-4e6b-8334-c0f329003613</d4p1:guid> <d4p1:guid>ff59521b-12db-4372-9ccd-05bc8eb06ad5</d4p1:guid> </d2p1:StewardIdList> <d2p1:StewardList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:StewardList> <d2p1:StewardNames>sample string 19</d2p1:StewardNames> <d2p1:StripCount>4</d2p1:StripCount> <d2p1:TDEContact>sample string 18</d2p1:TDEContact> <d2p1:TDEContactFISId>sample string 32</d2p1:TDEContactFISId> <d2p1:TDEContactId>17822581-8e3b-4f04-bdab-55cdeb90be0e</d2p1:TDEContactId> <d2p1:Territory>sample string 24</d2p1:Territory> <d2p1:Tillage>sample string 14</d2p1:Tillage> <d2p1:TrackingName>sample string 20</d2p1:TrackingName> <d2p1:TrialCoordinatorId>2d96d1a4-cf4c-4719-b3fd-f11dd2f74eab</d2p1:TrialCoordinatorId> <d2p1:TrialCoordinators>sample string 17</d2p1:TrialCoordinators> <d2p1:UseNameBit>true</d2p1:UseNameBit> <d2p1:WeighDevice>1.1</d2p1:WeighDevice> <d2p1:YMStatus>sample string 12</d2p1:YMStatus> <d2p1:Year>10</d2p1:Year> <d2p1:YieldTraitId>1</d2p1:YieldTraitId> <d2p1:previousCrop>sample string 2</d2p1:previousCrop> </d2p1:LocationListResults> </locListResults> <masterLocationId>9c2fe8eb-ab1c-4e55-9598-894b96e9e980</masterLocationId> </LocationController.MergeLocationsInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"a3bca809-f9ce-4b3f-ae9d-841c6816bea9"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">a3bca809-f9ce-4b3f-ae9d-841c6816bea9</guid>