POST api/Breakdowns/BreakdownsRecover?employee={employee}&BreakdownsId={BreakdownsId}&SendSms={SendSms}&type={type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employee

integer

Required

BreakdownsId

integer

Required

SendSms

boolean

Required

type

integer

Required

Body Parameters

Collection of HousesSwitch
NameDescriptionTypeAdditional information
Id

integer

None.

Switch

Номер дома

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Switch": "sample string 2"
  },
  {
    "Id": 1,
    "Switch": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfHousesSwitch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.Models.dto">
  <HousesSwitch>
    <Id>1</Id>
    <Switch>sample string 2</Switch>
  </HousesSwitch>
  <HousesSwitch>
    <Id>1</Id>
    <Switch>sample string 2</Switch>
  </HousesSwitch>
</ArrayOfHousesSwitch>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BreakdownsBoolResult
NameDescriptionTypeAdditional information
Data

Результат

boolean

None.

Result

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

boolean

None.

Message

Сообщение

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": true,
  "Result": true,
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<BreakdownsModel.BreakdownsBoolResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceApi.Models">
  <Message>sample string 3</Message>
  <Result>true</Result>
  <Data>true</Data>
</BreakdownsModel.BreakdownsBoolResult>