POST Location/Base/LoadAllProperties

Request Information

URI Parameters

None.

Body Parameters

BaseLoadPropertiesInputOfLocationAndLocation
NameDescriptionTypeAdditional information
Entities

Collection of Location

None.

Property

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Entities": [
    null,
    {
      "$id": "1",
      "LocationId": "7badb07c-c921-4261-980a-88db85af3c7b",
      "ExperimentId": "9dcc3f7d-627f-47ac-95c9-f336ed97d21e",
      "AOIId": 1,
      "LocationName": "sample string 3",
      "BusinessPartnerRoleId": "8e323bc5-13b6-4bc7-bcad-7c55567ce31d",
      "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-09-12T05:25:54.5499272+00:00",
      "HarvestDate": "2024-09-12T05:25:54.5499272+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-09-12T05:25:54.5499272+00:00",
      "LastMaintenanceName": "sample string 12",
      "LastMaintenanceDate": "2024-09-12T05:25:54.5499272+00:00",
      "TrackingName": "sample string 14",
      "SalesProviderPartnerRoleId": "5ac542b5-4fa6-4566-9fc1-f19937f0479b",
      "OperationId": "3c9cf59f-a5dd-4300-8bb0-7e98f9c9776c",
      "Nitrogen": 1.1,
      "YMStatusID": 1,
      "ExperimentLocation": [
        {
          "$id": "2",
          "ExperimentLocationId": "5c653d52-1b30-4b70-9ebe-c8aa8c5284e5",
          "ExperimentId": "fc84df83-b22d-47e8-b916-e797f95819c4",
          "LocationId": "7badb07c-c921-4261-980a-88db85af3c7b",
          "AddName": "sample string 4",
          "AddDate": "2024-09-12T05:25:54.5499272+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-09-12T05:25:54.5499272+00:00</d2p1:AddDate>
      <d2p1:AddName>sample string 10</d2p1:AddName>
      <d2p1:BusinessPartner i:nil="true" />
      <d2p1:BusinessPartnerRoleId>8e323bc5-13b6-4bc7-bcad-7c55567ce31d</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-09-12T05:25:54.5499272+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>fc84df83-b22d-47e8-b916-e797f95819c4</d2p1:ExperimentId>
                <d2p1:ExperimentLocationId>5c653d52-1b30-4b70-9ebe-c8aa8c5284e5</d2p1:ExperimentLocationId>
                <d2p1:Location z:Ref="i1" />
                <d2p1:LocationId>7badb07c-c921-4261-980a-88db85af3c7b</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>9dcc3f7d-627f-47ac-95c9-f336ed97d21e</d2p1:ExperimentId>
      <d2p1:ExperimentLocation>
        <d2p1:ExperimentLocation z:Ref="i3" />
      </d2p1:ExperimentLocation>
      <d2p1:HarvestDate>2024-09-12T05:25:54.5499272+00:00</d2p1:HarvestDate>
      <d2p1:IrrigateCode>1</d2p1:IrrigateCode>
      <d2p1:LastMaintenanceDate>2024-09-12T05:25:54.5499272+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>7badb07c-c921-4261-980a-88db85af3c7b</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>3c9cf59f-a5dd-4300-8bb0-7e98f9c9776c</d2p1:OperationId>
      <d2p1:PlantingDate>2024-09-12T05:25:54.5499272+00:00</d2p1:PlantingDate>
      <d2p1:PostalCode>sample string 7</d2p1:PostalCode>
      <d2p1:PreviousCropCode>sample string 8</d2p1:PreviousCropCode>
      <d2p1:SalesProviderPartnerRoleId>5ac542b5-4fa6-4566-9fc1-f19937f0479b</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 Location
NameDescriptionTypeAdditional 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": "a47e9233-c03d-45f2-8235-f9d199d3c740",
    "ExperimentId": "e6e8df9d-2e4c-48bf-8ebd-486e60f2acdf",
    "AOIId": 1,
    "LocationName": "sample string 3",
    "BusinessPartnerRoleId": "abe5b63c-d11d-4c53-b39a-07f953a225ef",
    "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-09-12T05:25:54.6883215+00:00",
    "HarvestDate": "2024-09-12T05:25:54.6883215+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-09-12T05:25:54.6883215+00:00",
    "LastMaintenanceName": "sample string 12",
    "LastMaintenanceDate": "2024-09-12T05:25:54.6883215+00:00",
    "TrackingName": "sample string 14",
    "SalesProviderPartnerRoleId": "a2e8df60-fb0b-462b-beb9-2d20d0465051",
    "OperationId": "822e083c-f0cb-424e-9226-e6fbb4f8ea36",
    "Nitrogen": 1.1,
    "YMStatusID": 1,
    "ExperimentLocation": [
      {
        "$id": "2",
        "ExperimentLocationId": "53546b9a-44e0-4664-ae75-c509644aef58",
        "ExperimentId": "f961630f-c1a0-4304-97ab-d2ec95bef3f2",
        "LocationId": "a47e9233-c03d-45f2-8235-f9d199d3c740",
        "AddName": "sample string 4",
        "AddDate": "2024-09-12T05:25:54.6883215+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-09-12T05:25:54.6883215+00:00</AddDate>
    <AddName>sample string 10</AddName>
    <BusinessPartner i:nil="true" />
    <BusinessPartnerRoleId>abe5b63c-d11d-4c53-b39a-07f953a225ef</BusinessPartnerRoleId>
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties>
        <AddedObjectsForProperty>
          <CollectionPropertyName>ExperimentLocation</CollectionPropertyName>
          <AddedObjects>
            <ObjectValue z:Id="i3" i:type="ExperimentLocation">
              <AddDate>2024-09-12T05:25:54.6883215+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>f961630f-c1a0-4304-97ab-d2ec95bef3f2</ExperimentId>
              <ExperimentLocationId>53546b9a-44e0-4664-ae75-c509644aef58</ExperimentLocationId>
              <Location z:Ref="i1" />
              <LocationId>a47e9233-c03d-45f2-8235-f9d199d3c740</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>e6e8df9d-2e4c-48bf-8ebd-486e60f2acdf</ExperimentId>
    <ExperimentLocation>
      <ExperimentLocation z:Ref="i3" />
    </ExperimentLocation>
    <HarvestDate>2024-09-12T05:25:54.6883215+00:00</HarvestDate>
    <IrrigateCode>1</IrrigateCode>
    <LastMaintenanceDate>2024-09-12T05:25:54.6883215+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 12</LastMaintenanceName>
    <LatLongFromPostalCode>true</LatLongFromPostalCode>
    <Latitude>1.1</Latitude>
    <LegalRelease>true</LegalRelease>
    <LocationAgreement />
    <LocationComment />
    <LocationId>a47e9233-c03d-45f2-8235-f9d199d3c740</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>822e083c-f0cb-424e-9226-e6fbb4f8ea36</OperationId>
    <PlantingDate>2024-09-12T05:25:54.6883215+00:00</PlantingDate>
    <PostalCode>sample string 7</PostalCode>
    <PreviousCropCode>sample string 8</PreviousCropCode>
    <SalesProviderPartnerRoleId>a2e8df60-fb0b-462b-beb9-2d20d0465051</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>