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": "7497f5de-5587-46e3-86c1-67c28aafffd9",
"ExperimentId": "a8a13474-a598-4eb6-8b60-9a2890b69256",
"AOIId": 1,
"LocationName": "sample string 3",
"BusinessPartnerRoleId": "d78dea8b-2a80-4baa-93c1-f23e126f9712",
"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": "2025-10-28T02:20:56.0441343+00:00",
"HarvestDate": "2025-10-28T02:20:56.0441343+00:00",
"TrialPlanted": true,
"TrialHarvested": true,
"PreviousCropCode": "sample string 8",
"IrrigateCode": 1,
"TillageCode": "sample string 9",
"WeighingDevice": 1.1,
"AddName": "sample string 10",
"AddDate": "2025-10-28T02:20:56.0441343+00:00",
"LastMaintenanceName": "sample string 12",
"LastMaintenanceDate": "2025-10-28T02:20:56.0441343+00:00",
"TrackingName": "sample string 14",
"SalesProviderPartnerRoleId": "3f4ce3c9-7219-4ffc-90a9-1d4b80aeec1d",
"OperationId": "ebc98851-f8e5-4a8f-9dbb-4e93b9c7ccf4",
"Nitrogen": 1.1,
"YMStatusID": 1,
"ExperimentLocation": [
{
"$id": "2",
"ExperimentLocationId": "b3effdab-31ea-4864-b836-35b823d09121",
"ExperimentId": "a3eccba3-050c-45c9-b119-1510dbcad129",
"LocationId": "7497f5de-5587-46e3-86c1-67c28aafffd9",
"AddName": "sample string 4",
"AddDate": "2025-10-28T02:20:56.0441343+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>2025-10-28T02:20:56.0441343+00:00</AddDate>
<AddName>sample string 10</AddName>
<BusinessPartner i:nil="true" />
<BusinessPartnerRoleId>d78dea8b-2a80-4baa-93c1-f23e126f9712</BusinessPartnerRoleId>
<ChangeTracker z:Id="i2">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties>
<AddedObjectsForProperty>
<CollectionPropertyName>ExperimentLocation</CollectionPropertyName>
<AddedObjects>
<ObjectValue z:Id="i3" i:type="ExperimentLocation">
<AddDate>2025-10-28T02:20:56.0441343+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>a3eccba3-050c-45c9-b119-1510dbcad129</ExperimentId>
<ExperimentLocationId>b3effdab-31ea-4864-b836-35b823d09121</ExperimentLocationId>
<Location z:Ref="i1" />
<LocationId>7497f5de-5587-46e3-86c1-67c28aafffd9</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>a8a13474-a598-4eb6-8b60-9a2890b69256</ExperimentId>
<ExperimentLocation>
<ExperimentLocation z:Ref="i3" />
</ExperimentLocation>
<HarvestDate>2025-10-28T02:20:56.0441343+00:00</HarvestDate>
<IrrigateCode>1</IrrigateCode>
<LastMaintenanceDate>2025-10-28T02:20:56.0441343+00:00</LastMaintenanceDate>
<LastMaintenanceName>sample string 12</LastMaintenanceName>
<LatLongFromPostalCode>true</LatLongFromPostalCode>
<Latitude>1.1</Latitude>
<LegalRelease>true</LegalRelease>
<LocationAgreement />
<LocationComment />
<LocationId>7497f5de-5587-46e3-86c1-67c28aafffd9</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>ebc98851-f8e5-4a8f-9dbb-4e93b9c7ccf4</OperationId>
<PlantingDate>2025-10-28T02:20:56.0441343+00:00</PlantingDate>
<PostalCode>sample string 7</PostalCode>
<PreviousCropCode>sample string 8</PreviousCropCode>
<SalesProviderPartnerRoleId>3f4ce3c9-7219-4ffc-90a9-1d4b80aeec1d</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": "74a6689f-54a5-4209-9927-09958a46f0ce",
"ExperimentId": "4e7d89d9-0790-4487-b13b-4e3472d35bc2",
"AOIId": 1,
"LocationName": "sample string 3",
"BusinessPartnerRoleId": "e07bb5d4-c61c-4cce-9772-6c340bde3eb1",
"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": "2025-10-28T02:20:56.0909928+00:00",
"HarvestDate": "2025-10-28T02:20:56.0909928+00:00",
"TrialPlanted": true,
"TrialHarvested": true,
"PreviousCropCode": "sample string 8",
"IrrigateCode": 1,
"TillageCode": "sample string 9",
"WeighingDevice": 1.1,
"AddName": "sample string 10",
"AddDate": "2025-10-28T02:20:56.0909928+00:00",
"LastMaintenanceName": "sample string 12",
"LastMaintenanceDate": "2025-10-28T02:20:56.0909928+00:00",
"TrackingName": "sample string 14",
"SalesProviderPartnerRoleId": "f942277d-113e-40e3-a92c-086afde42787",
"OperationId": "8c2b895a-8b0b-471e-8f25-a16bfc659902",
"Nitrogen": 1.1,
"YMStatusID": 1,
"ExperimentLocation": [
{
"$id": "2",
"ExperimentLocationId": "b9c0efe6-9022-4985-af4c-abf469dcf2ad",
"ExperimentId": "0aef7f9d-4665-4443-b995-84e424f21e83",
"LocationId": "74a6689f-54a5-4209-9927-09958a46f0ce",
"AddName": "sample string 4",
"AddDate": "2025-10-28T02:20:56.0909928+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>2025-10-28T02:20:56.0909928+00:00</AddDate>
<AddName>sample string 10</AddName>
<BusinessPartner i:nil="true" />
<BusinessPartnerRoleId>e07bb5d4-c61c-4cce-9772-6c340bde3eb1</BusinessPartnerRoleId>
<ChangeTracker z:Id="i2">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties>
<AddedObjectsForProperty>
<CollectionPropertyName>ExperimentLocation</CollectionPropertyName>
<AddedObjects>
<ObjectValue z:Id="i3" i:type="ExperimentLocation">
<AddDate>2025-10-28T02:20:56.0909928+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>0aef7f9d-4665-4443-b995-84e424f21e83</ExperimentId>
<ExperimentLocationId>b9c0efe6-9022-4985-af4c-abf469dcf2ad</ExperimentLocationId>
<Location z:Ref="i1" />
<LocationId>74a6689f-54a5-4209-9927-09958a46f0ce</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>4e7d89d9-0790-4487-b13b-4e3472d35bc2</ExperimentId>
<ExperimentLocation>
<ExperimentLocation z:Ref="i3" />
</ExperimentLocation>
<HarvestDate>2025-10-28T02:20:56.0909928+00:00</HarvestDate>
<IrrigateCode>1</IrrigateCode>
<LastMaintenanceDate>2025-10-28T02:20:56.0909928+00:00</LastMaintenanceDate>
<LastMaintenanceName>sample string 12</LastMaintenanceName>
<LatLongFromPostalCode>true</LatLongFromPostalCode>
<Latitude>1.1</Latitude>
<LegalRelease>true</LegalRelease>
<LocationAgreement />
<LocationComment />
<LocationId>74a6689f-54a5-4209-9927-09958a46f0ce</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>8c2b895a-8b0b-471e-8f25-a16bfc659902</OperationId>
<PlantingDate>2025-10-28T02:20:56.0909928+00:00</PlantingDate>
<PostalCode>sample string 7</PostalCode>
<PreviousCropCode>sample string 8</PreviousCropCode>
<SalesProviderPartnerRoleId>f942277d-113e-40e3-a92c-086afde42787</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>