GET Area/Base/All

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Area
NameDescriptionTypeAdditional information
AreaCode

string

None.

Name

string

None.

BusinessUnitCode

string

None.

LastMaintenanceName

string

None.

LastMaintenanceDate

date

None.

BusinessUnit

BusinessUnit

None.

Territory

Collection of Territory

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "$id": "1",
    "AreaCode": "sample string 1",
    "Name": "sample string 2",
    "BusinessUnitCode": "sample string 3",
    "LastMaintenanceName": "sample string 4",
    "LastMaintenanceDate": "2024-12-09T16:10:24.9220934+00:00",
    "Territory": [
      {
        "$id": "2",
        "TerritoryCode": "sample string 1",
        "Name": "sample string 2",
        "AreaCode": "sample string 1",
        "BusinessUnitCode": "sample string 1",
        "LastMaintenanceName": "sample string 5",
        "LastMaintenanceDate": "2024-12-09T16:10:24.9377103+00:00",
        "Region": "sample string 7",
        "ManagerName": "sample string 8",
        "DistrictCode": "sample string 9",
        "CountryCode": "sample string 10",
        "CompanyCode": "sample string 11",
        "Area": {
          "$ref": "1"
        },
        "BusinessUnit": {
          "$id": "3",
          "BusinessUnitCode": "sample string 1",
          "Name": "sample string 2",
          "LastMaintenanceName": "sample string 3",
          "LastMaintenanceDate": "2024-12-09T16:10:24.9220934+00:00",
          "LegalEntityId": 1.0,
          "SortOrder": 1,
          "CompanyCode": "sample string 5",
          "CountryCode": "sample string 6",
          "Area": [],
          "ExperimentBusinessUnitArea": [],
          "SeedRequest": [],
          "Territory": [
            {
              "$ref": "2"
            }
          ],
          "ChangeTracker": {
            "$id": "4",
            "State": 2,
            "ObjectsRemovedFromCollectionProperties": {},
            "OriginalValues": {},
            "ExtendedProperties": {},
            "ObjectsAddedToCollectionProperties": {
              "Territory": [
                {
                  "$ref": "2"
                }
              ]
            }
          }
        },
        "ChangeTracker": {
          "$id": "5",
          "State": 2,
          "ObjectsRemovedFromCollectionProperties": {},
          "OriginalValues": {},
          "ExtendedProperties": {},
          "ObjectsAddedToCollectionProperties": {}
        }
      }
    ],
    "ChangeTracker": {
      "$id": "6",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {
        "Territory": [
          {
            "$ref": "2"
          }
        ]
      }
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfArea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <Area i:nil="true" />
  <Area z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <AreaCode>sample string 1</AreaCode>
    <BusinessUnit i:nil="true" />
    <BusinessUnitCode>sample string 3</BusinessUnitCode>
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties>
        <AddedObjectsForProperty>
          <CollectionPropertyName>Territory</CollectionPropertyName>
          <AddedObjects>
            <ObjectValue z:Id="i3" i:type="Territory">
              <Area z:Ref="i1" />
              <AreaCode>sample string 1</AreaCode>
              <BusinessUnit z:Id="i4">
                <Area />
                <BusinessUnitCode>sample string 1</BusinessUnitCode>
                <ChangeTracker z:Id="i5">
                  <ExtendedProperties />
                  <ObjectsAddedToCollectionProperties>
                    <AddedObjectsForProperty>
                      <CollectionPropertyName>Territory</CollectionPropertyName>
                      <AddedObjects>
                        <ObjectValue z:Ref="i3" />
                      </AddedObjects>
                    </AddedObjectsForProperty>
                  </ObjectsAddedToCollectionProperties>
                  <ObjectsRemovedFromCollectionProperties />
                  <OriginalValues />
                  <State>Added</State>
                </ChangeTracker>
                <CompanyCode>sample string 5</CompanyCode>
                <CountryCode>sample string 6</CountryCode>
                <ExperimentBusinessUnitArea />
                <LastMaintenanceDate>2024-12-09T16:10:24.9220934+00:00</LastMaintenanceDate>
                <LastMaintenanceName>sample string 3</LastMaintenanceName>
                <LegalEntityId>1</LegalEntityId>
                <Name>sample string 2</Name>
                <SeedRequest />
                <SortOrder>1</SortOrder>
                <Territory>
                  <Territory z:Ref="i3" />
                </Territory>
              </BusinessUnit>
              <BusinessUnitCode>sample string 1</BusinessUnitCode>
              <ChangeTracker z:Id="i6">
                <ExtendedProperties />
                <ObjectsAddedToCollectionProperties />
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <CompanyCode>sample string 11</CompanyCode>
              <CountryCode>sample string 10</CountryCode>
              <DistrictCode>sample string 9</DistrictCode>
              <LastMaintenanceDate>2024-12-09T16:10:24.9377103+00:00</LastMaintenanceDate>
              <LastMaintenanceName>sample string 5</LastMaintenanceName>
              <ManagerName>sample string 8</ManagerName>
              <Name>sample string 2</Name>
              <Region>sample string 7</Region>
              <TerritoryCode>sample string 1</TerritoryCode>
            </ObjectValue>
          </AddedObjects>
        </AddedObjectsForProperty>
      </ObjectsAddedToCollectionProperties>
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <LastMaintenanceDate>2024-12-09T16:10:24.9220934+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 4</LastMaintenanceName>
    <Name>sample string 2</Name>
    <Territory>
      <Territory z:Ref="i3" />
    </Territory>
  </Area>
</ArrayOfArea>