GET api/Customer/GetAbonent_ByAddress?apartment={apartment}&houseId={houseId}

Получение списка абонентов по адресу

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apartment

Квартира

string

Required

houseId

Id Дома

integer

Required

Body Parameters

None.

Response Information

Resource Description

Список абонентов

AbonentDataResultList
NameDescriptionTypeAdditional information
Data

Структура данных о Абонентов

Collection of AbonentData

None.

Result

Результат обработки запроса

boolean

None.

Message

Сообщение

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "Id": 8,
      "Code": 1,
      "Person": "sample string 2",
      "Balance": 3.0,
      "CreditDaily": 4.0,
      "Granted": "2025-09-01T21:51:25.3178798+00:00",
      "AgreementType": "sample string 6",
      "Phone": "sample string 7",
      "Provider": 9,
      "Address": "sample string 1",
      "HouseId": 2,
      "CantId": 3,
      "MaxPriceDate": "2025-09-01T21:51:25.3178798+00:00",
      "isActive": true
    },
    {
      "Id": 8,
      "Code": 1,
      "Person": "sample string 2",
      "Balance": 3.0,
      "CreditDaily": 4.0,
      "Granted": "2025-09-01T21:51:25.3178798+00:00",
      "AgreementType": "sample string 6",
      "Phone": "sample string 7",
      "Provider": 9,
      "Address": "sample string 1",
      "HouseId": 2,
      "CantId": 3,
      "MaxPriceDate": "2025-09-01T21:51:25.3178798+00:00",
      "isActive": true
    }
  ],
  "Result": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<AbonentDataResultList 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:AbonentData>
      <d2p1:Address>sample string 1</d2p1:Address>
      <d2p1:AgreementType>sample string 6</d2p1:AgreementType>
      <d2p1:Balance>3</d2p1:Balance>
      <d2p1:CantId>3</d2p1:CantId>
      <d2p1:Code>1</d2p1:Code>
      <d2p1:CreditDaily>4</d2p1:CreditDaily>
      <d2p1:Granted>2025-09-01T21:51:25.3178798+00:00</d2p1:Granted>
      <d2p1:HouseId>2</d2p1:HouseId>
      <d2p1:Id>8</d2p1:Id>
      <d2p1:MaxPriceDate>2025-09-01T21:51:25.3178798+00:00</d2p1:MaxPriceDate>
      <d2p1:Person>sample string 2</d2p1:Person>
      <d2p1:Phone>sample string 7</d2p1:Phone>
      <d2p1:Provider>9</d2p1:Provider>
      <d2p1:isActive>true</d2p1:isActive>
    </d2p1:AbonentData>
    <d2p1:AbonentData>
      <d2p1:Address>sample string 1</d2p1:Address>
      <d2p1:AgreementType>sample string 6</d2p1:AgreementType>
      <d2p1:Balance>3</d2p1:Balance>
      <d2p1:CantId>3</d2p1:CantId>
      <d2p1:Code>1</d2p1:Code>
      <d2p1:CreditDaily>4</d2p1:CreditDaily>
      <d2p1:Granted>2025-09-01T21:51:25.3178798+00:00</d2p1:Granted>
      <d2p1:HouseId>2</d2p1:HouseId>
      <d2p1:Id>8</d2p1:Id>
      <d2p1:MaxPriceDate>2025-09-01T21:51:25.3178798+00:00</d2p1:MaxPriceDate>
      <d2p1:Person>sample string 2</d2p1:Person>
      <d2p1:Phone>sample string 7</d2p1:Phone>
      <d2p1:Provider>9</d2p1:Provider>
      <d2p1:isActive>true</d2p1:isActive>
    </d2p1:AbonentData>
  </Data>
</AbonentDataResultList>