GET api/Customer/GetAbonentsByHouseFilter?houseID={houseID}&filter={filter}
Список абонентов по дому
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| houseID |
Id Дома |
integer |
Required |
| filter |
все 0, только активные 1, только не активные 2 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AbonentDetailResultList| Name | Description | Type | Additional information |
|---|---|---|---|
| Data |
Структура абонента детально |
Collection of AbonentDetail |
None. |
| Result |
Результат обработки запроса |
boolean |
None. |
| Message |
Сообщение |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"Id": 1,
"Code": 2,
"Password": "sample string 16",
"Date": "2026-02-04T02:11:39.1967484+00:00",
"Apartment": 1,
"Provider": 1,
"Person": "sample string 3",
"Balance": 5.0,
"CreditDaily": 6.0,
"Granted": "2026-02-04T02:11:39.1967484+00:00",
"AgreementType": "sample string 8",
"IsMain": true,
"IsFrozen": true,
"HouseId": 4,
"Address": "sample string 10",
"Email": "sample string 11",
"Phone": "sample string 12",
"Info": "sample string 13",
"TotalCharges": 18.0,
"OtherCharges": 19.0,
"LastRecalc": "2026-02-04T02:11:39.1967484+00:00",
"Contacts": [
{
"Name": "sample string 1",
"Value": "sample string 2"
},
{
"Name": "sample string 1",
"Value": "sample string 2"
}
],
"ContactsText": "sample string 15",
"ACSData": {
"CurrentOff": 1,
"CurrentNotify": 2,
"CurrentCredit": "2026-02-04T02:11:39.1967484+00:00",
"Granted": "2026-02-04T02:11:39.1967484+00:00"
},
"speedURL": "sample string 20",
"Entrance": 1,
"Floor": 1
},
{
"Id": 1,
"Code": 2,
"Password": "sample string 16",
"Date": "2026-02-04T02:11:39.1967484+00:00",
"Apartment": 1,
"Provider": 1,
"Person": "sample string 3",
"Balance": 5.0,
"CreditDaily": 6.0,
"Granted": "2026-02-04T02:11:39.1967484+00:00",
"AgreementType": "sample string 8",
"IsMain": true,
"IsFrozen": true,
"HouseId": 4,
"Address": "sample string 10",
"Email": "sample string 11",
"Phone": "sample string 12",
"Info": "sample string 13",
"TotalCharges": 18.0,
"OtherCharges": 19.0,
"LastRecalc": "2026-02-04T02:11:39.1967484+00:00",
"Contacts": [
{
"Name": "sample string 1",
"Value": "sample string 2"
},
{
"Name": "sample string 1",
"Value": "sample string 2"
}
],
"ContactsText": "sample string 15",
"ACSData": {
"CurrentOff": 1,
"CurrentNotify": 2,
"CurrentCredit": "2026-02-04T02:11:39.1967484+00:00",
"Granted": "2026-02-04T02:11:39.1967484+00:00"
},
"speedURL": "sample string 20",
"Entrance": 1,
"Floor": 1
}
],
"Result": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<AbonentDetailResultList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceApi.Models">
<Message>sample string 2</Message>
<Result>true</Result>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Data.Models.dto">
<d2p1:AbonentDetail>
<d2p1:ACSData>
<d2p1:CurrentCredit>2026-02-04T02:11:39.1967484+00:00</d2p1:CurrentCredit>
<d2p1:CurrentNotify>2</d2p1:CurrentNotify>
<d2p1:CurrentOff>1</d2p1:CurrentOff>
<d2p1:Granted>2026-02-04T02:11:39.1967484+00:00</d2p1:Granted>
</d2p1:ACSData>
<d2p1:Address>sample string 10</d2p1:Address>
<d2p1:AgreementType>sample string 8</d2p1:AgreementType>
<d2p1:Apartment>1</d2p1:Apartment>
<d2p1:Balance>5</d2p1:Balance>
<d2p1:Code>2</d2p1:Code>
<d2p1:Contacts>
<d2p1:NameValueStruct>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:NameValueStruct>
<d2p1:NameValueStruct>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:NameValueStruct>
</d2p1:Contacts>
<d2p1:ContactsText>sample string 15</d2p1:ContactsText>
<d2p1:CreditDaily>6</d2p1:CreditDaily>
<d2p1:Date>2026-02-04T02:11:39.1967484+00:00</d2p1:Date>
<d2p1:Email>sample string 11</d2p1:Email>
<d2p1:Entrance>1</d2p1:Entrance>
<d2p1:Floor>1</d2p1:Floor>
<d2p1:Granted>2026-02-04T02:11:39.1967484+00:00</d2p1:Granted>
<d2p1:HouseId>4</d2p1:HouseId>
<d2p1:Id>1</d2p1:Id>
<d2p1:Info>sample string 13</d2p1:Info>
<d2p1:IsFrozen>true</d2p1:IsFrozen>
<d2p1:IsMain>true</d2p1:IsMain>
<d2p1:LastRecalc>2026-02-04T02:11:39.1967484+00:00</d2p1:LastRecalc>
<d2p1:OtherCharges>19</d2p1:OtherCharges>
<d2p1:Password>sample string 16</d2p1:Password>
<d2p1:Person>sample string 3</d2p1:Person>
<d2p1:Phone>sample string 12</d2p1:Phone>
<d2p1:Provider>1</d2p1:Provider>
<d2p1:TotalCharges>18</d2p1:TotalCharges>
<d2p1:speedURL>sample string 20</d2p1:speedURL>
</d2p1:AbonentDetail>
<d2p1:AbonentDetail>
<d2p1:ACSData>
<d2p1:CurrentCredit>2026-02-04T02:11:39.1967484+00:00</d2p1:CurrentCredit>
<d2p1:CurrentNotify>2</d2p1:CurrentNotify>
<d2p1:CurrentOff>1</d2p1:CurrentOff>
<d2p1:Granted>2026-02-04T02:11:39.1967484+00:00</d2p1:Granted>
</d2p1:ACSData>
<d2p1:Address>sample string 10</d2p1:Address>
<d2p1:AgreementType>sample string 8</d2p1:AgreementType>
<d2p1:Apartment>1</d2p1:Apartment>
<d2p1:Balance>5</d2p1:Balance>
<d2p1:Code>2</d2p1:Code>
<d2p1:Contacts>
<d2p1:NameValueStruct>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:NameValueStruct>
<d2p1:NameValueStruct>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:NameValueStruct>
</d2p1:Contacts>
<d2p1:ContactsText>sample string 15</d2p1:ContactsText>
<d2p1:CreditDaily>6</d2p1:CreditDaily>
<d2p1:Date>2026-02-04T02:11:39.1967484+00:00</d2p1:Date>
<d2p1:Email>sample string 11</d2p1:Email>
<d2p1:Entrance>1</d2p1:Entrance>
<d2p1:Floor>1</d2p1:Floor>
<d2p1:Granted>2026-02-04T02:11:39.1967484+00:00</d2p1:Granted>
<d2p1:HouseId>4</d2p1:HouseId>
<d2p1:Id>1</d2p1:Id>
<d2p1:Info>sample string 13</d2p1:Info>
<d2p1:IsFrozen>true</d2p1:IsFrozen>
<d2p1:IsMain>true</d2p1:IsMain>
<d2p1:LastRecalc>2026-02-04T02:11:39.1967484+00:00</d2p1:LastRecalc>
<d2p1:OtherCharges>19</d2p1:OtherCharges>
<d2p1:Password>sample string 16</d2p1:Password>
<d2p1:Person>sample string 3</d2p1:Person>
<d2p1:Phone>sample string 12</d2p1:Phone>
<d2p1:Provider>1</d2p1:Provider>
<d2p1:TotalCharges>18</d2p1:TotalCharges>
<d2p1:speedURL>sample string 20</d2p1:speedURL>
</d2p1:AbonentDetail>
</Data>
</AbonentDetailResultList>