POST api/list/pm/landlords

Returns a list of landlords 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 landlord list filter data contract supplied with the request.

PmLandlordListFilterDataContract
NameDescriptionTypeAdditional information
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.

HasBankAccount

Indicates whether this item has bank account.

boolean

None.

IdReceived

Indicates whether id received is true.

boolean

None.

IncludeArchived

Indicates whether include archived is true.

boolean

None.

IncludeTenantFindTenanciesOnly

Indicates whether include tenant find tenancies only is true.

boolean

None.

IncludeActiveTenancies

Indicates whether include active tenancies is true.

boolean

None.

Sort

The sort classification.

PMGroupSort

None.

ProofOfIdStatus

The collection of proof of id status.

Collection of string

None.

ProofOfAddressStatus

The collection of proof of address status.

Collection of string

None.

ProofOfSanctionsStatus

The collection of proof of sanctions status.

Collection of string

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:
{
  "TeamGroupIds": [
    1,
    2
  ],
  "BranchIds": [
    1,
    2
  ],
  "HasBankAccount": true,
  "IdReceived": true,
  "IncludeArchived": true,
  "IncludeTenantFindTenanciesOnly": true,
  "IncludeActiveTenancies": true,
  "Sort": 0,
  "ProofOfIdStatus": [
    "sample string 1",
    "sample string 2"
  ],
  "ProofOfAddressStatus": [
    "sample string 1",
    "sample string 2"
  ],
  "ProofOfSanctionsStatus": [
    "sample string 1",
    "sample string 2"
  ],
  "PageSize": 1,
  "PageNumber": 1,
  "Term": "sample string 2",
  "OrderByDescending": true,
  "Name": "sample string 3"
}

Response Information

Resource Description

The response returned after the operation completes.

PagedCollectionDataContractOfLandlordListDataContract
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 LandlordListDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "CurrentCount": 2,
  "PageSize": 1,
  "PageNumber": 1,
  "Collection": [
    {
      "GroupId": 1,
      "GroupName": "sample string 2",
      "PrimaryContactName": "sample string 3",
      "Email": "sample string 4",
      "EmailMarketingStatus": "sample string 5",
      "Telephone": "sample string 6",
      "TelephoneMarketingStatus": "sample string 7",
      "Address": "sample string 8",
      "GroupMembers": 9,
      "ActiveTenanciesCount": 10,
      "IdReceived": 11,
      "IdStatus": 12,
      "ProofOfAddressReceived": 13,
      "ProofOfAddressStatus": 14,
      "ProofOfSanctionsReceived": 15,
      "ProofOfSanctionsStatus": 16
    },
    {
      "GroupId": 1,
      "GroupName": "sample string 2",
      "PrimaryContactName": "sample string 3",
      "Email": "sample string 4",
      "EmailMarketingStatus": "sample string 5",
      "Telephone": "sample string 6",
      "TelephoneMarketingStatus": "sample string 7",
      "Address": "sample string 8",
      "GroupMembers": 9,
      "ActiveTenanciesCount": 10,
      "IdReceived": 11,
      "IdStatus": 12,
      "ProofOfAddressReceived": 13,
      "ProofOfAddressStatus": 14,
      "ProofOfSanctionsReceived": 15,
      "ProofOfSanctionsStatus": 16
    }
  ]
}