POST Location/Base/SaveAll
Request Information
URI Parameters
None.
Body Parameters
Collection of LocationName | 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": "5a97b705-ecad-494b-a03b-a9b738522797", "ExperimentId": "e2270345-480d-454d-ba40-f544d22075eb", "AOIId": 1, "LocationName": "sample string 3", "BusinessPartnerRoleId": "4613042c-6d84-41d8-bf98-beddbeef5c78", "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": "2024-12-05T17:27:07.3349685+00:00", "HarvestDate": "2024-12-05T17:27:07.3349685+00:00", "TrialPlanted": true, "TrialHarvested": true, "PreviousCropCode": "sample string 8", "IrrigateCode": 1, "TillageCode": "sample string 9", "WeighingDevice": 1.1, "AddName": "sample string 10", "AddDate": "2024-12-05T17:27:07.3349685+00:00", "LastMaintenanceName": "sample string 12", "LastMaintenanceDate": "2024-12-05T17:27:07.3349685+00:00", "TrackingName": "sample string 14", "SalesProviderPartnerRoleId": "d00469eb-a18c-4915-bcc6-f1abb01b976e", "OperationId": "474831d3-f911-4758-ac83-19e6d0581266", "Nitrogen": 1.1, "YMStatusID": 1, "ExperimentLocation": [ { "$id": "2", "ExperimentLocationId": "1b38ad31-7fbe-4181-88a0-20c747fb4e98", "ExperimentId": "b5dbbb26-dd57-411a-b15c-cb1c1e5f6867", "LocationId": "5a97b705-ecad-494b-a03b-a9b738522797", "AddName": "sample string 4", "AddDate": "2024-12-05T17:27:07.3349685+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>2024-12-05T17:27:07.3349685+00:00</AddDate> <AddName>sample string 10</AddName> <BusinessPartner i:nil="true" /> <BusinessPartnerRoleId>4613042c-6d84-41d8-bf98-beddbeef5c78</BusinessPartnerRoleId> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>ExperimentLocation</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i3" i:type="ExperimentLocation"> <AddDate>2024-12-05T17:27:07.3349685+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>b5dbbb26-dd57-411a-b15c-cb1c1e5f6867</ExperimentId> <ExperimentLocationId>1b38ad31-7fbe-4181-88a0-20c747fb4e98</ExperimentLocationId> <Location z:Ref="i1" /> <LocationId>5a97b705-ecad-494b-a03b-a9b738522797</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>e2270345-480d-454d-ba40-f544d22075eb</ExperimentId> <ExperimentLocation> <ExperimentLocation z:Ref="i3" /> </ExperimentLocation> <HarvestDate>2024-12-05T17:27:07.3349685+00:00</HarvestDate> <IrrigateCode>1</IrrigateCode> <LastMaintenanceDate>2024-12-05T17:27:07.3349685+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 12</LastMaintenanceName> <LatLongFromPostalCode>true</LatLongFromPostalCode> <Latitude>1.1</Latitude> <LegalRelease>true</LegalRelease> <LocationAgreement /> <LocationComment /> <LocationId>5a97b705-ecad-494b-a03b-a9b738522797</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>474831d3-f911-4758-ac83-19e6d0581266</OperationId> <PlantingDate>2024-12-05T17:27:07.3349685+00:00</PlantingDate> <PostalCode>sample string 7</PostalCode> <PreviousCropCode>sample string 8</PreviousCropCode> <SalesProviderPartnerRoleId>d00469eb-a18c-4915-bcc6-f1abb01b976e</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 LocationName | 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": "13531131-6398-49e5-adaf-1971c3d9f946", "ExperimentId": "87d7d490-9194-4c61-a621-735772697591", "AOIId": 1, "LocationName": "sample string 3", "BusinessPartnerRoleId": "f28b9ca0-811a-4dde-a42f-0b0fd1de2068", "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": "2024-12-05T17:27:07.7099704+00:00", "HarvestDate": "2024-12-05T17:27:07.7099704+00:00", "TrialPlanted": true, "TrialHarvested": true, "PreviousCropCode": "sample string 8", "IrrigateCode": 1, "TillageCode": "sample string 9", "WeighingDevice": 1.1, "AddName": "sample string 10", "AddDate": "2024-12-05T17:27:07.7099704+00:00", "LastMaintenanceName": "sample string 12", "LastMaintenanceDate": "2024-12-05T17:27:07.7099704+00:00", "TrackingName": "sample string 14", "SalesProviderPartnerRoleId": "27dd16d5-3d7e-453b-8fd1-adcb6275b4dc", "OperationId": "c1bd9052-161b-4ac7-b742-ea79bd7e216b", "Nitrogen": 1.1, "YMStatusID": 1, "ExperimentLocation": [ { "$id": "2", "ExperimentLocationId": "dcb114c9-c485-4ce1-a55e-98b65491e655", "ExperimentId": "c003bb00-c238-4185-9007-f7ed289b2903", "LocationId": "13531131-6398-49e5-adaf-1971c3d9f946", "AddName": "sample string 4", "AddDate": "2024-12-05T17:27:07.7099704+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>2024-12-05T17:27:07.7099704+00:00</AddDate> <AddName>sample string 10</AddName> <BusinessPartner i:nil="true" /> <BusinessPartnerRoleId>f28b9ca0-811a-4dde-a42f-0b0fd1de2068</BusinessPartnerRoleId> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>ExperimentLocation</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i3" i:type="ExperimentLocation"> <AddDate>2024-12-05T17:27:07.7099704+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>c003bb00-c238-4185-9007-f7ed289b2903</ExperimentId> <ExperimentLocationId>dcb114c9-c485-4ce1-a55e-98b65491e655</ExperimentLocationId> <Location z:Ref="i1" /> <LocationId>13531131-6398-49e5-adaf-1971c3d9f946</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>87d7d490-9194-4c61-a621-735772697591</ExperimentId> <ExperimentLocation> <ExperimentLocation z:Ref="i3" /> </ExperimentLocation> <HarvestDate>2024-12-05T17:27:07.7099704+00:00</HarvestDate> <IrrigateCode>1</IrrigateCode> <LastMaintenanceDate>2024-12-05T17:27:07.7099704+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 12</LastMaintenanceName> <LatLongFromPostalCode>true</LatLongFromPostalCode> <Latitude>1.1</Latitude> <LegalRelease>true</LegalRelease> <LocationAgreement /> <LocationComment /> <LocationId>13531131-6398-49e5-adaf-1971c3d9f946</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>c1bd9052-161b-4ac7-b742-ea79bd7e216b</OperationId> <PlantingDate>2024-12-05T17:27:07.7099704+00:00</PlantingDate> <PostalCode>sample string 7</PostalCode> <PreviousCropCode>sample string 8</PreviousCropCode> <SalesProviderPartnerRoleId>27dd16d5-3d7e-453b-8fd1-adcb6275b4dc</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>