POST Location/Base/LoadAllProperties
Request Information
URI Parameters
None.
Body Parameters
BaseLoadPropertiesInputOfLocationAndLocationName | Description | Type | Additional information |
---|---|---|---|
Entities | Collection of Location |
None. |
|
Property | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Entities": [ null, { "$id": "1", "LocationId": "ddf3b6ec-4318-48d8-80a6-e0edbcb36691", "ExperimentId": "4ff50a12-3f72-4413-a0cc-b850ec0f4e29", "AOIId": 1, "LocationName": "sample string 3", "BusinessPartnerRoleId": "e945ffe5-1257-4bc6-9f0f-3c6ade8e0dab", "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:29:35.378962+00:00", "HarvestDate": "2024-12-05T17:29:35.378962+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:29:35.378962+00:00", "LastMaintenanceName": "sample string 12", "LastMaintenanceDate": "2024-12-05T17:29:35.378962+00:00", "TrackingName": "sample string 14", "SalesProviderPartnerRoleId": "020cea27-ba24-4250-bb25-8713252834b1", "OperationId": "47ae8e7b-a008-40ee-9208-b6c239363421", "Nitrogen": 1.1, "YMStatusID": 1, "ExperimentLocation": [ { "$id": "2", "ExperimentLocationId": "dd2b3773-9337-4e46-a05a-cd24ae1764f6", "ExperimentId": "64ae448f-d0d1-4218-9532-dc37e50c597a", "LocationId": "ddf3b6ec-4318-48d8-80a6-e0edbcb36691", "AddName": "sample string 4", "AddDate": "2024-12-05T17:29:35.378962+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" } ] } } } ], "Property": "sample string 1" }
application/xml, text/xml
Sample:
<BaseController.BaseLoadPropertiesInputOfLocationLocationOJl1LX1v xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.TrialsAPIServices.Controllers"> <Entities xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <d2p1:Location i:nil="true" /> <d2p1:Location z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <d2p1:AOIId>1</d2p1:AOIId> <d2p1:AddDate>2024-12-05T17:29:35.378962+00:00</d2p1:AddDate> <d2p1:AddName>sample string 10</d2p1:AddName> <d2p1:BusinessPartner i:nil="true" /> <d2p1:BusinessPartnerRoleId>e945ffe5-1257-4bc6-9f0f-3c6ade8e0dab</d2p1:BusinessPartnerRoleId> <d2p1:ChangeTracker z:Id="i2"> <d2p1:ExtendedProperties /> <d2p1:ObjectsAddedToCollectionProperties> <d2p1:AddedObjectsForProperty> <d2p1:CollectionPropertyName>ExperimentLocation</d2p1:CollectionPropertyName> <d2p1:AddedObjects> <d2p1:ObjectValue z:Id="i3" i:type="d2p1:ExperimentLocation"> <d2p1:AddDate>2024-12-05T17:29:35.378962+00:00</d2p1:AddDate> <d2p1:AddName>sample string 4</d2p1:AddName> <d2p1:ChangeTracker z:Id="i4"> <d2p1:ExtendedProperties /> <d2p1:ObjectsAddedToCollectionProperties /> <d2p1:ObjectsRemovedFromCollectionProperties /> <d2p1:OriginalValues /> <d2p1:State>Added</d2p1:State> </d2p1:ChangeTracker> <d2p1:Experiment i:nil="true" /> <d2p1:ExperimentId>64ae448f-d0d1-4218-9532-dc37e50c597a</d2p1:ExperimentId> <d2p1:ExperimentLocationId>dd2b3773-9337-4e46-a05a-cd24ae1764f6</d2p1:ExperimentLocationId> <d2p1:Location z:Ref="i1" /> <d2p1:LocationId>ddf3b6ec-4318-48d8-80a6-e0edbcb36691</d2p1:LocationId> </d2p1:ObjectValue> </d2p1:AddedObjects> </d2p1:AddedObjectsForProperty> </d2p1:ObjectsAddedToCollectionProperties> <d2p1:ObjectsRemovedFromCollectionProperties /> <d2p1:OriginalValues /> <d2p1:State>Added</d2p1:State> </d2p1:ChangeTracker> <d2p1:CountryCode>sample string 4</d2p1:CountryCode> <d2p1:CountyFipsCode>sample string 6</d2p1:CountyFipsCode> <d2p1:Courtesy>true</d2p1:Courtesy> <d2p1:ExperimentId>4ff50a12-3f72-4413-a0cc-b850ec0f4e29</d2p1:ExperimentId> <d2p1:ExperimentLocation> <d2p1:ExperimentLocation z:Ref="i3" /> </d2p1:ExperimentLocation> <d2p1:HarvestDate>2024-12-05T17:29:35.378962+00:00</d2p1:HarvestDate> <d2p1:IrrigateCode>1</d2p1:IrrigateCode> <d2p1:LastMaintenanceDate>2024-12-05T17:29:35.378962+00:00</d2p1:LastMaintenanceDate> <d2p1:LastMaintenanceName>sample string 12</d2p1:LastMaintenanceName> <d2p1:LatLongFromPostalCode>true</d2p1:LatLongFromPostalCode> <d2p1:Latitude>1.1</d2p1:Latitude> <d2p1:LegalRelease>true</d2p1:LegalRelease> <d2p1:LocationAgreement /> <d2p1:LocationComment /> <d2p1:LocationId>ddf3b6ec-4318-48d8-80a6-e0edbcb36691</d2p1:LocationId> <d2p1:LocationKitRequest /> <d2p1:LocationMeasurement /> <d2p1:LocationName>sample string 3</d2p1:LocationName> <d2p1:LocationPartnerAssignment /> <d2p1:LocationStatus i:nil="true" /> <d2p1:LocationStrip /> <d2p1:LocationTerritory i:nil="true" /> <d2p1:LocationTrait /> <d2p1:Longitude>1.1</d2p1:Longitude> <d2p1:Nitrogen>1.1</d2p1:Nitrogen> <d2p1:OperationId>47ae8e7b-a008-40ee-9208-b6c239363421</d2p1:OperationId> <d2p1:PlantingDate>2024-12-05T17:29:35.378962+00:00</d2p1:PlantingDate> <d2p1:PostalCode>sample string 7</d2p1:PostalCode> <d2p1:PreviousCropCode>sample string 8</d2p1:PreviousCropCode> <d2p1:SalesProviderPartnerRoleId>020cea27-ba24-4250-bb25-8713252834b1</d2p1:SalesProviderPartnerRoleId> <d2p1:SilageKit>true</d2p1:SilageKit> <d2p1:StateCode>sample string 5</d2p1:StateCode> <d2p1:TDEContactName i:nil="true" /> <d2p1:TillageCode>sample string 9</d2p1:TillageCode> <d2p1:TrackingName>sample string 14</d2p1:TrackingName> <d2p1:TrialHarvested>true</d2p1:TrialHarvested> <d2p1:TrialPlanted>true</d2p1:TrialPlanted> <d2p1:UseName>true</d2p1:UseName> <d2p1:WeighingDevice>1.1</d2p1:WeighingDevice> <d2p1:YMStatusID>1</d2p1:YMStatusID> </d2p1:Location> </Entities> <Property>sample string 1</Property> </BaseController.BaseLoadPropertiesInputOfLocationLocationOJl1LX1v>
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": "3f8ddc2d-4b6f-4aee-8225-c61eab2b98f4", "ExperimentId": "ff8741ff-e8c4-4a4e-b2f1-924c9c50a432", "AOIId": 1, "LocationName": "sample string 3", "BusinessPartnerRoleId": "fde39c89-9613-4ea2-bcc0-240e75daa1f9", "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:29:35.4102126+00:00", "HarvestDate": "2024-12-05T17:29:35.4102126+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:29:35.4102126+00:00", "LastMaintenanceName": "sample string 12", "LastMaintenanceDate": "2024-12-05T17:29:35.4102126+00:00", "TrackingName": "sample string 14", "SalesProviderPartnerRoleId": "e5c33930-ef6f-4378-a29d-ce6aafccbef4", "OperationId": "ee45cb7d-251c-4e09-b475-9a31efa8600c", "Nitrogen": 1.1, "YMStatusID": 1, "ExperimentLocation": [ { "$id": "2", "ExperimentLocationId": "0b4e9134-6102-49f0-811c-383ecf3b1a67", "ExperimentId": "9a053f79-e202-4d19-bf30-14970039ef65", "LocationId": "3f8ddc2d-4b6f-4aee-8225-c61eab2b98f4", "AddName": "sample string 4", "AddDate": "2024-12-05T17:29:35.4102126+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:29:35.4102126+00:00</AddDate> <AddName>sample string 10</AddName> <BusinessPartner i:nil="true" /> <BusinessPartnerRoleId>fde39c89-9613-4ea2-bcc0-240e75daa1f9</BusinessPartnerRoleId> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>ExperimentLocation</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i3" i:type="ExperimentLocation"> <AddDate>2024-12-05T17:29:35.4102126+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>9a053f79-e202-4d19-bf30-14970039ef65</ExperimentId> <ExperimentLocationId>0b4e9134-6102-49f0-811c-383ecf3b1a67</ExperimentLocationId> <Location z:Ref="i1" /> <LocationId>3f8ddc2d-4b6f-4aee-8225-c61eab2b98f4</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>ff8741ff-e8c4-4a4e-b2f1-924c9c50a432</ExperimentId> <ExperimentLocation> <ExperimentLocation z:Ref="i3" /> </ExperimentLocation> <HarvestDate>2024-12-05T17:29:35.4102126+00:00</HarvestDate> <IrrigateCode>1</IrrigateCode> <LastMaintenanceDate>2024-12-05T17:29:35.4102126+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 12</LastMaintenanceName> <LatLongFromPostalCode>true</LatLongFromPostalCode> <Latitude>1.1</Latitude> <LegalRelease>true</LegalRelease> <LocationAgreement /> <LocationComment /> <LocationId>3f8ddc2d-4b6f-4aee-8225-c61eab2b98f4</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>ee45cb7d-251c-4e09-b475-9a31efa8600c</OperationId> <PlantingDate>2024-12-05T17:29:35.4102126+00:00</PlantingDate> <PostalCode>sample string 7</PostalCode> <PreviousCropCode>sample string 8</PreviousCropCode> <SalesProviderPartnerRoleId>e5c33930-ef6f-4378-a29d-ce6aafccbef4</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>