GET api/Breakdowns/GetBreakdownsByPhone?phone={phone}
Получение аварии по номеру телефона
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
phone |
номер телефона |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BreakdownSimpleDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
Договор Id |
integer |
None. |
Code |
Договор |
integer |
None. |
Address |
Адрес |
string |
None. |
Created |
Создана |
date |
None. |
RemainingRecovery |
Дата восстановления |
date |
None. |
Service |
Услуга |
string |
None. |
Type |
Дом=1 или Свитч=2 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Code": 2, "Address": "sample string 3", "Created": "2025-09-02T23:22:26.2625526+00:00", "RemainingRecovery": "2025-09-02T23:22:26.2625526+00:00", "Service": "sample string 5", "Type": 6 }, { "Id": 1, "Code": 2, "Address": "sample string 3", "Created": "2025-09-02T23:22:26.2625526+00:00", "RemainingRecovery": "2025-09-02T23:22:26.2625526+00:00", "Service": "sample string 5", "Type": 6 } ]
application/xml, text/xml
Sample:
<ArrayOfBreakdownSimpleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.Models.dto"> <BreakdownSimpleDto> <Address>sample string 3</Address> <Code>2</Code> <Created>2025-09-02T23:22:26.2625526+00:00</Created> <Id>1</Id> <RemainingRecovery>2025-09-02T23:22:26.2625526+00:00</RemainingRecovery> <Service>sample string 5</Service> <Type>6</Type> </BreakdownSimpleDto> <BreakdownSimpleDto> <Address>sample string 3</Address> <Code>2</Code> <Created>2025-09-02T23:22:26.2625526+00:00</Created> <Id>1</Id> <RemainingRecovery>2025-09-02T23:22:26.2625526+00:00</RemainingRecovery> <Service>sample string 5</Service> <Type>6</Type> </BreakdownSimpleDto> </ArrayOfBreakdownSimpleDto>