POST api/list/pm/properties

Used to return a list of properties in PM Processes this list API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The pm properties list filter data contract supplied with the request.

PmPropertiesListFilterDataContract
NameDescriptionTypeAdditional information
ServiceLevels

The collection of service levels.

Collection of string

None.

MissingCertificateAndLicencesTypes

The collection of missing certificate and licences types.

Collection of string

None.

TeamGroupIds

The unique identifiers of the related team group resources.

Collection of integer

None.

BranchIds

The unique identifiers of the related branch resources.

Collection of integer

None.

IncludeActiveTenancies

Indicates whether include active tenancies is true.

boolean

None.

Sort

The sort classification.

PmPropertyListSort

None.

PageSize

The page size value.

integer

None.

PageNumber

The page number value.

integer

None.

Term

The term value.

string

None.

OrderByDescending

Indicates whether order by descending is true.

boolean

None.

Name

The name value.

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "ServiceLevels": [
    "sample string 1",
    "sample string 2"
  ],
  "MissingCertificateAndLicencesTypes": [
    "sample string 1",
    "sample string 2"
  ],
  "TeamGroupIds": [
    1,
    2
  ],
  "BranchIds": [
    1,
    2
  ],
  "IncludeActiveTenancies": true,
  "Sort": 0,
  "PageSize": 1,
  "PageNumber": 1,
  "Term": "sample string 1",
  "OrderByDescending": true,
  "Name": "sample string 2"
}

Response Information

Resource Description

The response returned after the operation completes.

PagedCollectionDataContractOfPropertiesListDataContract
NameDescriptionTypeAdditional information
TotalCount

The total count value.

integer

None.

CurrentCount

The current count value.

integer

None.

PageSize

The page size value.

integer

None.

PageNumber

The page number value.

integer

None.

Collection

The collection of collection.

Collection of PropertiesListDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "CurrentCount": 2,
  "PageSize": 1,
  "PageNumber": 1,
  "Collection": [
    {
      "PropertyId": 1,
      "Address": "sample string 2",
      "ServiceLevel": "sample string 3",
      "LandlordGroupId": 4,
      "LandlordPrimaryContactName": "sample string 5",
      "ActiveTenanciesCount": 6,
      "EpcStatus": "sample string 7",
      "LegionellaStatus": "sample string 8",
      "ElectricalSafetyStatus": "sample string 9",
      "GasSafetyStatus": "sample string 10"
    },
    {
      "PropertyId": 1,
      "Address": "sample string 2",
      "ServiceLevel": "sample string 3",
      "LandlordGroupId": 4,
      "LandlordPrimaryContactName": "sample string 5",
      "ActiveTenanciesCount": 6,
      "EpcStatus": "sample string 7",
      "LegionellaStatus": "sample string 8",
      "ElectricalSafetyStatus": "sample string 9",
      "GasSafetyStatus": "sample string 10"
    }
  ]
}