POST District/GetAllCachedDistricts

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of District
NameDescriptionTypeAdditional information
DistrictCode

string

None.

Name

string

None.

AreaCode

string

None.

BusinessUnitCode

string

None.

LastMaintenanceName

string

None.

LastMaintenanceDate

date

None.

Region

string

None.

ManagerName

string

None.

CompanyCode

string

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "DistrictCode": "sample string 1",
    "Name": "sample string 2",
    "AreaCode": "sample string 3",
    "BusinessUnitCode": "sample string 4",
    "LastMaintenanceName": "sample string 5",
    "LastMaintenanceDate": "2024-12-06T07:22:59.9761065+00:00",
    "Region": "sample string 7",
    "ManagerName": "sample string 8",
    "CompanyCode": "sample string 9",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDistrict xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <District z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <AreaCode>sample string 3</AreaCode>
    <BusinessUnitCode>sample string 4</BusinessUnitCode>
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties />
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <CompanyCode>sample string 9</CompanyCode>
    <DistrictCode>sample string 1</DistrictCode>
    <LastMaintenanceDate>2024-12-06T07:22:59.9761065+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 5</LastMaintenanceName>
    <ManagerName>sample string 8</ManagerName>
    <Name>sample string 2</Name>
    <Region>sample string 7</Region>
  </District>
  <District z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfDistrict>