Address

Изменение лицевого счёта

AccountController ( privileges: Global: SYSTEM, ADMIN, AllUsers )

patch/accounts/{account}

Path parameters

идентификатор лицевого счёта

Request body

Example request

{
  "data": {
    "id": 5,
    "account": "111234598",
    "flatId": 55,
    "flatNum": "1",
    "firmHomeId": 56,
    "firmId": 4,
    "firmName": "ООО Ромашка",
    "addressId": 156,
    "startDate": "2020-01-01",
    "floor": 5,
    "entranceId": 16,
    "entranceNumber": "4",
    "debt": {
      "id": 1,
      "accountId": 25,
      "account": "345-83830-2",
      "flatId": 5,
      "flatNum": "  56",
      "firmHomeId": "2025-05-01",
      "firmName": "УК \"Новый дом\"",
      "firmId": 2,
      "addressId": 456,
      "debtDate": "2026-02-01",
      "debtAmount": 444.65
    },
    "owners": [
      {
        "id": 1,
        "flat_id": 1,
        "first_name": "Иван",
        "patronymic_name": "Иванович",
        "last_name": "Иванов",
        "start_date": "2020-01-01"
      }
    ]
  }
}

Response

Example response

{
  "data": {
    "id": 5,
    "account": "111234598",
    "flatId": 55,
    "flatNum": "1",
    "firmHomeId": 56,
    "firmId": 4,
    "firmName": "ООО Ромашка",
    "addressId": 156,
    "startDate": "2020-01-01",
    "floor": 5,
    "entranceId": 16,
    "entranceNumber": "4",
    "debt": {
      "id": 1,
      "accountId": 25,
      "account": "345-83830-2",
      "flatId": 5,
      "flatNum": "  56",
      "firmHomeId": "2025-05-01",
      "firmName": "УК \"Новый дом\"",
      "firmId": 2,
      "addressId": 456,
      "debtDate": "2026-02-01",
      "debtAmount": 444.65
    },
    "owners": [
      {
        "id": 1,
        "flat_id": 1,
        "first_name": "Иван",
        "patronymic_name": "Иванович",
        "last_name": "Иванов",
        "start_date": "2020-01-01"
      }
    ]
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.