POST api/list/pm/landlords
Returns a list of landlords in PM
Request Information
URI Parameters
None.
Body Parameters
PmLandlordListFilterDataContractName | Description | Type | Additional information |
---|---|---|---|
TeamGroupIds | Collection of integer |
None. |
|
BranchIds | Collection of integer |
None. |
|
HasBankAccount | boolean |
None. |
|
IdReceived | boolean |
None. |
|
IncludeArchived | boolean |
None. |
|
IncludeTenantFindTenanciesOnly | boolean |
None. |
|
IncludeActiveTenancies | boolean |
None. |
|
Sort | PMGroupSort |
None. |
|
ProofOfIdStatus | Collection of string |
None. |
|
ProofOfAddressStatus | Collection of string |
None. |
|
PageSize | integer |
None. |
|
PageNumber | integer |
None. |
|
Term | string |
None. |
|
OrderByDescending | boolean |
None. |
|
Name | 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" ], "PageSize": 1, "PageNumber": 1, "Term": "sample string 2", "OrderByDescending": true, "Name": "sample string 3" }
Response Information
Resource Description
PagedCollectionDataContractOfLandlordListDataContractName | Description | Type | Additional information |
---|---|---|---|
TotalCount | integer |
None. |
|
CurrentCount | integer |
None. |
|
PageSize | integer |
None. |
|
PageNumber | integer |
None. |
|
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, "IdReceived": 10, "ActiveTenanciesCount": 11, "IdStatus": 12 }, { "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, "IdReceived": 10, "ActiveTenanciesCount": 11, "IdStatus": 12 } ] }