POST Location/Base/SaveAll
Request Information
URI Parameters
None.
Body Parameters
Collection of Location| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationId | globally unique identifier |
None. |
|
| ExperimentId | globally unique identifier |
None. |
|
| AOIId | integer |
None. |
|
| LocationName | string |
None. |
|
| BusinessPartnerRoleId | globally unique identifier |
None. |
|
| CountryCode | string |
None. |
|
| StateCode | string |
None. |
|
| CountyFipsCode | string |
None. |
|
| PostalCode | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| LatLongFromPostalCode | boolean |
None. |
|
| LegalRelease | boolean |
None. |
|
| UseName | boolean |
None. |
|
| SilageKit | boolean |
None. |
|
| Courtesy | boolean |
None. |
|
| PlantingDate | date |
None. |
|
| HarvestDate | date |
None. |
|
| TrialPlanted | boolean |
None. |
|
| TrialHarvested | boolean |
None. |
|
| PreviousCropCode | string |
None. |
|
| IrrigateCode | integer |
None. |
|
| TillageCode | string |
None. |
|
| WeighingDevice | decimal number |
None. |
|
| AddName | string |
None. |
|
| AddDate | date |
None. |
|
| LastMaintenanceName | string |
None. |
|
| LastMaintenanceDate | date |
None. |
|
| TrackingName | string |
None. |
|
| SalesProviderPartnerRoleId | globally unique identifier |
None. |
|
| OperationId | globally unique identifier |
None. |
|
| Nitrogen | decimal number |
None. |
|
| YMStatusID | integer |
None. |
|
| ExperimentLocation | Collection of ExperimentLocation |
None. |
|
| LocationComment | Collection of LocationComment |
None. |
|
| LocationMeasurement | Collection of LocationMeasurement |
None. |
|
| LocationPartnerAssignment | Collection of LocationPartnerAssignment |
None. |
|
| LocationStrip | Collection of LocationStrip |
None. |
|
| LocationStatus | LocationStatus |
None. |
|
| LocationTrait | Collection of LocationTrait |
None. |
|
| LocationKitRequest | Collection of LocationKitRequest |
None. |
|
| LocationTerritory | LocationTerritory |
None. |
|
| LocationAgreement | Collection of LocationAgreement |
None. |
|
| ChangeTracker | ObjectChangeTracker |
None. |
|
| BusinessPartner | string |
None. |
|
| TDEContactName | string |
None. |
Request Formats
application/json, text/json
Sample:
[
null,
{
"$id": "1",
"LocationId": "b967e17b-6a19-42be-8793-e17630eb0c43",
"ExperimentId": "817bbd33-690a-4fd4-b5bc-ab42c07d25a9",
"AOIId": 1,
"LocationName": "sample string 3",
"BusinessPartnerRoleId": "147e279a-b9f8-44ac-bdbd-230b71a12ec4",
"CountryCode": "sample string 4",
"StateCode": "sample string 5",
"CountyFipsCode": "sample string 6",
"PostalCode": "sample string 7",
"Latitude": 1.1,
"Longitude": 1.1,
"LatLongFromPostalCode": true,
"LegalRelease": true,
"UseName": true,
"SilageKit": true,
"Courtesy": true,
"PlantingDate": "2026-03-09T01:57:35.3802892+00:00",
"HarvestDate": "2026-03-09T01:57:35.3802892+00:00",
"TrialPlanted": true,
"TrialHarvested": true,
"PreviousCropCode": "sample string 8",
"IrrigateCode": 1,
"TillageCode": "sample string 9",
"WeighingDevice": 1.1,
"AddName": "sample string 10",
"AddDate": "2026-03-09T01:57:35.3802892+00:00",
"LastMaintenanceName": "sample string 12",
"LastMaintenanceDate": "2026-03-09T01:57:35.3802892+00:00",
"TrackingName": "sample string 14",
"SalesProviderPartnerRoleId": "68e9fa4a-3eec-4a71-af14-142789520d6e",
"OperationId": "74796b97-98d7-435d-8a4d-ff28956e652d",
"Nitrogen": 1.1,
"YMStatusID": 1,
"ExperimentLocation": [
{
"$id": "2",
"ExperimentLocationId": "be6cb543-b7a0-4abe-a79c-a34300d37e6a",
"ExperimentId": "125c5a42-f637-455f-aad6-83dcbe7d8c35",
"LocationId": "b967e17b-6a19-42be-8793-e17630eb0c43",
"AddName": "sample string 4",
"AddDate": "2026-03-09T01:57:35.3802892+00:00",
"Location": {
"$ref": "1"
},
"ChangeTracker": {
"$id": "3",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {}
}
}
],
"LocationComment": [],
"LocationMeasurement": [],
"LocationPartnerAssignment": [],
"LocationStrip": [],
"LocationTrait": [],
"LocationKitRequest": [],
"LocationAgreement": [],
"ChangeTracker": {
"$id": "4",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {
"ExperimentLocation": [
{
"$ref": "2"
}
]
}
}
}
]
application/xml, text/xml
Sample:
<ArrayOfLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
<Location i:nil="true" />
<Location z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
<AOIId>1</AOIId>
<AddDate>2026-03-09T01:57:35.3802892+00:00</AddDate>
<AddName>sample string 10</AddName>
<BusinessPartner i:nil="true" />
<BusinessPartnerRoleId>147e279a-b9f8-44ac-bdbd-230b71a12ec4</BusinessPartnerRoleId>
<ChangeTracker z:Id="i2">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties>
<AddedObjectsForProperty>
<CollectionPropertyName>ExperimentLocation</CollectionPropertyName>
<AddedObjects>
<ObjectValue z:Id="i3" i:type="ExperimentLocation">
<AddDate>2026-03-09T01:57:35.3802892+00:00</AddDate>
<AddName>sample string 4</AddName>
<ChangeTracker z:Id="i4">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties />
<ObjectsRemovedFromCollectionProperties />
<OriginalValues />
<State>Added</State>
</ChangeTracker>
<Experiment i:nil="true" />
<ExperimentId>125c5a42-f637-455f-aad6-83dcbe7d8c35</ExperimentId>
<ExperimentLocationId>be6cb543-b7a0-4abe-a79c-a34300d37e6a</ExperimentLocationId>
<Location z:Ref="i1" />
<LocationId>b967e17b-6a19-42be-8793-e17630eb0c43</LocationId>
</ObjectValue>
</AddedObjects>
</AddedObjectsForProperty>
</ObjectsAddedToCollectionProperties>
<ObjectsRemovedFromCollectionProperties />
<OriginalValues />
<State>Added</State>
</ChangeTracker>
<CountryCode>sample string 4</CountryCode>
<CountyFipsCode>sample string 6</CountyFipsCode>
<Courtesy>true</Courtesy>
<ExperimentId>817bbd33-690a-4fd4-b5bc-ab42c07d25a9</ExperimentId>
<ExperimentLocation>
<ExperimentLocation z:Ref="i3" />
</ExperimentLocation>
<HarvestDate>2026-03-09T01:57:35.3802892+00:00</HarvestDate>
<IrrigateCode>1</IrrigateCode>
<LastMaintenanceDate>2026-03-09T01:57:35.3802892+00:00</LastMaintenanceDate>
<LastMaintenanceName>sample string 12</LastMaintenanceName>
<LatLongFromPostalCode>true</LatLongFromPostalCode>
<Latitude>1.1</Latitude>
<LegalRelease>true</LegalRelease>
<LocationAgreement />
<LocationComment />
<LocationId>b967e17b-6a19-42be-8793-e17630eb0c43</LocationId>
<LocationKitRequest />
<LocationMeasurement />
<LocationName>sample string 3</LocationName>
<LocationPartnerAssignment />
<LocationStatus i:nil="true" />
<LocationStrip />
<LocationTerritory i:nil="true" />
<LocationTrait />
<Longitude>1.1</Longitude>
<Nitrogen>1.1</Nitrogen>
<OperationId>74796b97-98d7-435d-8a4d-ff28956e652d</OperationId>
<PlantingDate>2026-03-09T01:57:35.3802892+00:00</PlantingDate>
<PostalCode>sample string 7</PostalCode>
<PreviousCropCode>sample string 8</PreviousCropCode>
<SalesProviderPartnerRoleId>68e9fa4a-3eec-4a71-af14-142789520d6e</SalesProviderPartnerRoleId>
<SilageKit>true</SilageKit>
<StateCode>sample string 5</StateCode>
<TDEContactName i:nil="true" />
<TillageCode>sample string 9</TillageCode>
<TrackingName>sample string 14</TrackingName>
<TrialHarvested>true</TrialHarvested>
<TrialPlanted>true</TrialPlanted>
<UseName>true</UseName>
<WeighingDevice>1.1</WeighingDevice>
<YMStatusID>1</YMStatusID>
</Location>
</ArrayOfLocation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Location| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationId | globally unique identifier |
None. |
|
| ExperimentId | globally unique identifier |
None. |
|
| AOIId | integer |
None. |
|
| LocationName | string |
None. |
|
| BusinessPartnerRoleId | globally unique identifier |
None. |
|
| CountryCode | string |
None. |
|
| StateCode | string |
None. |
|
| CountyFipsCode | string |
None. |
|
| PostalCode | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| LatLongFromPostalCode | boolean |
None. |
|
| LegalRelease | boolean |
None. |
|
| UseName | boolean |
None. |
|
| SilageKit | boolean |
None. |
|
| Courtesy | boolean |
None. |
|
| PlantingDate | date |
None. |
|
| HarvestDate | date |
None. |
|
| TrialPlanted | boolean |
None. |
|
| TrialHarvested | boolean |
None. |
|
| PreviousCropCode | string |
None. |
|
| IrrigateCode | integer |
None. |
|
| TillageCode | string |
None. |
|
| WeighingDevice | decimal number |
None. |
|
| AddName | string |
None. |
|
| AddDate | date |
None. |
|
| LastMaintenanceName | string |
None. |
|
| LastMaintenanceDate | date |
None. |
|
| TrackingName | string |
None. |
|
| SalesProviderPartnerRoleId | globally unique identifier |
None. |
|
| OperationId | globally unique identifier |
None. |
|
| Nitrogen | decimal number |
None. |
|
| YMStatusID | integer |
None. |
|
| ExperimentLocation | Collection of ExperimentLocation |
None. |
|
| LocationComment | Collection of LocationComment |
None. |
|
| LocationMeasurement | Collection of LocationMeasurement |
None. |
|
| LocationPartnerAssignment | Collection of LocationPartnerAssignment |
None. |
|
| LocationStrip | Collection of LocationStrip |
None. |
|
| LocationStatus | LocationStatus |
None. |
|
| LocationTrait | Collection of LocationTrait |
None. |
|
| LocationKitRequest | Collection of LocationKitRequest |
None. |
|
| LocationTerritory | LocationTerritory |
None. |
|
| LocationAgreement | Collection of LocationAgreement |
None. |
|
| ChangeTracker | ObjectChangeTracker |
None. |
|
| BusinessPartner | string |
None. |
|
| TDEContactName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
null,
{
"$id": "1",
"LocationId": "02c45a4d-9a61-4937-adba-0061b83893c0",
"ExperimentId": "d976a9bf-e8ad-4b82-a196-5ffb24d2b0fe",
"AOIId": 1,
"LocationName": "sample string 3",
"BusinessPartnerRoleId": "8f1e5fe2-c1ba-4c09-bd65-109147fc24f1",
"CountryCode": "sample string 4",
"StateCode": "sample string 5",
"CountyFipsCode": "sample string 6",
"PostalCode": "sample string 7",
"Latitude": 1.1,
"Longitude": 1.1,
"LatLongFromPostalCode": true,
"LegalRelease": true,
"UseName": true,
"SilageKit": true,
"Courtesy": true,
"PlantingDate": "2026-03-09T01:57:35.4114505+00:00",
"HarvestDate": "2026-03-09T01:57:35.4114505+00:00",
"TrialPlanted": true,
"TrialHarvested": true,
"PreviousCropCode": "sample string 8",
"IrrigateCode": 1,
"TillageCode": "sample string 9",
"WeighingDevice": 1.1,
"AddName": "sample string 10",
"AddDate": "2026-03-09T01:57:35.4114505+00:00",
"LastMaintenanceName": "sample string 12",
"LastMaintenanceDate": "2026-03-09T01:57:35.4114505+00:00",
"TrackingName": "sample string 14",
"SalesProviderPartnerRoleId": "22271a04-30ad-4b91-a1b7-4dc82e157917",
"OperationId": "c50cf9bd-b185-44c9-b61b-3164590df0f4",
"Nitrogen": 1.1,
"YMStatusID": 1,
"ExperimentLocation": [
{
"$id": "2",
"ExperimentLocationId": "73e20493-27bb-4ab8-933c-d480b2d26546",
"ExperimentId": "012ae1f4-3ab7-4749-8fe1-219ac7493ede",
"LocationId": "02c45a4d-9a61-4937-adba-0061b83893c0",
"AddName": "sample string 4",
"AddDate": "2026-03-09T01:57:35.4114505+00:00",
"Location": {
"$ref": "1"
},
"ChangeTracker": {
"$id": "3",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {}
}
}
],
"LocationComment": [],
"LocationMeasurement": [],
"LocationPartnerAssignment": [],
"LocationStrip": [],
"LocationTrait": [],
"LocationKitRequest": [],
"LocationAgreement": [],
"ChangeTracker": {
"$id": "4",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {
"ExperimentLocation": [
{
"$ref": "2"
}
]
}
}
}
]
application/xml, text/xml
Sample:
<ArrayOfLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
<Location i:nil="true" />
<Location z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
<AOIId>1</AOIId>
<AddDate>2026-03-09T01:57:35.4114505+00:00</AddDate>
<AddName>sample string 10</AddName>
<BusinessPartner i:nil="true" />
<BusinessPartnerRoleId>8f1e5fe2-c1ba-4c09-bd65-109147fc24f1</BusinessPartnerRoleId>
<ChangeTracker z:Id="i2">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties>
<AddedObjectsForProperty>
<CollectionPropertyName>ExperimentLocation</CollectionPropertyName>
<AddedObjects>
<ObjectValue z:Id="i3" i:type="ExperimentLocation">
<AddDate>2026-03-09T01:57:35.4114505+00:00</AddDate>
<AddName>sample string 4</AddName>
<ChangeTracker z:Id="i4">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties />
<ObjectsRemovedFromCollectionProperties />
<OriginalValues />
<State>Added</State>
</ChangeTracker>
<Experiment i:nil="true" />
<ExperimentId>012ae1f4-3ab7-4749-8fe1-219ac7493ede</ExperimentId>
<ExperimentLocationId>73e20493-27bb-4ab8-933c-d480b2d26546</ExperimentLocationId>
<Location z:Ref="i1" />
<LocationId>02c45a4d-9a61-4937-adba-0061b83893c0</LocationId>
</ObjectValue>
</AddedObjects>
</AddedObjectsForProperty>
</ObjectsAddedToCollectionProperties>
<ObjectsRemovedFromCollectionProperties />
<OriginalValues />
<State>Added</State>
</ChangeTracker>
<CountryCode>sample string 4</CountryCode>
<CountyFipsCode>sample string 6</CountyFipsCode>
<Courtesy>true</Courtesy>
<ExperimentId>d976a9bf-e8ad-4b82-a196-5ffb24d2b0fe</ExperimentId>
<ExperimentLocation>
<ExperimentLocation z:Ref="i3" />
</ExperimentLocation>
<HarvestDate>2026-03-09T01:57:35.4114505+00:00</HarvestDate>
<IrrigateCode>1</IrrigateCode>
<LastMaintenanceDate>2026-03-09T01:57:35.4114505+00:00</LastMaintenanceDate>
<LastMaintenanceName>sample string 12</LastMaintenanceName>
<LatLongFromPostalCode>true</LatLongFromPostalCode>
<Latitude>1.1</Latitude>
<LegalRelease>true</LegalRelease>
<LocationAgreement />
<LocationComment />
<LocationId>02c45a4d-9a61-4937-adba-0061b83893c0</LocationId>
<LocationKitRequest />
<LocationMeasurement />
<LocationName>sample string 3</LocationName>
<LocationPartnerAssignment />
<LocationStatus i:nil="true" />
<LocationStrip />
<LocationTerritory i:nil="true" />
<LocationTrait />
<Longitude>1.1</Longitude>
<Nitrogen>1.1</Nitrogen>
<OperationId>c50cf9bd-b185-44c9-b61b-3164590df0f4</OperationId>
<PlantingDate>2026-03-09T01:57:35.4114505+00:00</PlantingDate>
<PostalCode>sample string 7</PostalCode>
<PreviousCropCode>sample string 8</PreviousCropCode>
<SalesProviderPartnerRoleId>22271a04-30ad-4b91-a1b7-4dc82e157917</SalesProviderPartnerRoleId>
<SilageKit>true</SilageKit>
<StateCode>sample string 5</StateCode>
<TDEContactName i:nil="true" />
<TillageCode>sample string 9</TillageCode>
<TrackingName>sample string 14</TrackingName>
<TrialHarvested>true</TrialHarvested>
<TrialPlanted>true</TrialPlanted>
<UseName>true</UseName>
<WeighingDevice>1.1</WeighingDevice>
<YMStatusID>1</YMStatusID>
</Location>
</ArrayOfLocation>