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": "34f8a0c3-0957-48f4-897c-7454d9562ccf",
"ExperimentId": "cd5d9e90-a444-4257-8cac-329a8410cfc7",
"AOIId": 1,
"LocationName": "sample string 3",
"BusinessPartnerRoleId": "b91103c5-e4bf-4544-8f05-5bc9331163ee",
"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-11-22T05:46:32.8075715+00:00",
"HarvestDate": "2026-11-22T05:46:32.8075715+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-11-22T05:46:32.8075715+00:00",
"LastMaintenanceName": "sample string 12",
"LastMaintenanceDate": "2026-11-22T05:46:32.8075715+00:00",
"TrackingName": "sample string 14",
"SalesProviderPartnerRoleId": "e2016fee-dc6c-4fea-bab1-da08b1ce2665",
"OperationId": "fc1e02b3-997a-424d-acba-14a5157e3527",
"Nitrogen": 1.1,
"YMStatusID": 1,
"ExperimentLocation": [
{
"$id": "2",
"ExperimentLocationId": "501120a6-661f-447f-b715-9f401b35ccd2",
"ExperimentId": "03a55531-98e5-48f4-83e4-9d8541fcc339",
"LocationId": "34f8a0c3-0957-48f4-897c-7454d9562ccf",
"AddName": "sample string 4",
"AddDate": "2026-11-22T05:46:32.8075715+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-11-22T05:46:32.8075715+00:00</AddDate>
<AddName>sample string 10</AddName>
<BusinessPartner i:nil="true" />
<BusinessPartnerRoleId>b91103c5-e4bf-4544-8f05-5bc9331163ee</BusinessPartnerRoleId>
<ChangeTracker z:Id="i2">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties>
<AddedObjectsForProperty>
<CollectionPropertyName>ExperimentLocation</CollectionPropertyName>
<AddedObjects>
<ObjectValue z:Id="i3" i:type="ExperimentLocation">
<AddDate>2026-11-22T05:46:32.8075715+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>03a55531-98e5-48f4-83e4-9d8541fcc339</ExperimentId>
<ExperimentLocationId>501120a6-661f-447f-b715-9f401b35ccd2</ExperimentLocationId>
<Location z:Ref="i1" />
<LocationId>34f8a0c3-0957-48f4-897c-7454d9562ccf</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>cd5d9e90-a444-4257-8cac-329a8410cfc7</ExperimentId>
<ExperimentLocation>
<ExperimentLocation z:Ref="i3" />
</ExperimentLocation>
<HarvestDate>2026-11-22T05:46:32.8075715+00:00</HarvestDate>
<IrrigateCode>1</IrrigateCode>
<LastMaintenanceDate>2026-11-22T05:46:32.8075715+00:00</LastMaintenanceDate>
<LastMaintenanceName>sample string 12</LastMaintenanceName>
<LatLongFromPostalCode>true</LatLongFromPostalCode>
<Latitude>1.1</Latitude>
<LegalRelease>true</LegalRelease>
<LocationAgreement />
<LocationComment />
<LocationId>34f8a0c3-0957-48f4-897c-7454d9562ccf</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>fc1e02b3-997a-424d-acba-14a5157e3527</OperationId>
<PlantingDate>2026-11-22T05:46:32.8075715+00:00</PlantingDate>
<PostalCode>sample string 7</PostalCode>
<PreviousCropCode>sample string 8</PreviousCropCode>
<SalesProviderPartnerRoleId>e2016fee-dc6c-4fea-bab1-da08b1ce2665</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": "04b2be4d-6ee2-4ae3-892f-23c3763169ea",
"ExperimentId": "72881315-c9aa-4e47-b80c-24935716df1d",
"AOIId": 1,
"LocationName": "sample string 3",
"BusinessPartnerRoleId": "0ddf9802-a74c-432f-ba51-1fde60994464",
"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-11-22T05:46:32.8191063+00:00",
"HarvestDate": "2026-11-22T05:46:32.8191063+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-11-22T05:46:32.8191063+00:00",
"LastMaintenanceName": "sample string 12",
"LastMaintenanceDate": "2026-11-22T05:46:32.8191063+00:00",
"TrackingName": "sample string 14",
"SalesProviderPartnerRoleId": "a51de130-ebdd-4181-b554-fb44052b99b4",
"OperationId": "cec7cb2a-dc10-48ca-a8e1-13c5eaa1b8fd",
"Nitrogen": 1.1,
"YMStatusID": 1,
"ExperimentLocation": [
{
"$id": "2",
"ExperimentLocationId": "d0d881c4-e8b6-4c20-87f3-fbf7acbf991c",
"ExperimentId": "e08f1c2c-00bd-4a4f-aa11-bba1759e2f53",
"LocationId": "04b2be4d-6ee2-4ae3-892f-23c3763169ea",
"AddName": "sample string 4",
"AddDate": "2026-11-22T05:46:32.8191063+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-11-22T05:46:32.8191063+00:00</AddDate>
<AddName>sample string 10</AddName>
<BusinessPartner i:nil="true" />
<BusinessPartnerRoleId>0ddf9802-a74c-432f-ba51-1fde60994464</BusinessPartnerRoleId>
<ChangeTracker z:Id="i2">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties>
<AddedObjectsForProperty>
<CollectionPropertyName>ExperimentLocation</CollectionPropertyName>
<AddedObjects>
<ObjectValue z:Id="i3" i:type="ExperimentLocation">
<AddDate>2026-11-22T05:46:32.8191063+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>e08f1c2c-00bd-4a4f-aa11-bba1759e2f53</ExperimentId>
<ExperimentLocationId>d0d881c4-e8b6-4c20-87f3-fbf7acbf991c</ExperimentLocationId>
<Location z:Ref="i1" />
<LocationId>04b2be4d-6ee2-4ae3-892f-23c3763169ea</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>72881315-c9aa-4e47-b80c-24935716df1d</ExperimentId>
<ExperimentLocation>
<ExperimentLocation z:Ref="i3" />
</ExperimentLocation>
<HarvestDate>2026-11-22T05:46:32.8191063+00:00</HarvestDate>
<IrrigateCode>1</IrrigateCode>
<LastMaintenanceDate>2026-11-22T05:46:32.8191063+00:00</LastMaintenanceDate>
<LastMaintenanceName>sample string 12</LastMaintenanceName>
<LatLongFromPostalCode>true</LatLongFromPostalCode>
<Latitude>1.1</Latitude>
<LegalRelease>true</LegalRelease>
<LocationAgreement />
<LocationComment />
<LocationId>04b2be4d-6ee2-4ae3-892f-23c3763169ea</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>cec7cb2a-dc10-48ca-a8e1-13c5eaa1b8fd</OperationId>
<PlantingDate>2026-11-22T05:46:32.8191063+00:00</PlantingDate>
<PostalCode>sample string 7</PostalCode>
<PreviousCropCode>sample string 8</PreviousCropCode>
<SalesProviderPartnerRoleId>a51de130-ebdd-4181-b554-fb44052b99b4</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>