Units API

See the Weblate's Web API documentation for detailed description of the API.

GET /api/units/1220446/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "http://weblate.ucs.ru/api/translations/shelter2/shelter_reports/en/?format=api",
    "source": "Данный отчет формируется на период. Включая даты \"с\" и \"по\". Для формирования отчета на один день нужно указать равные значения дат.#13#10Данный отчет формируется в разрезе типов номеров. Происходит анализ данных на 00:00 часов каждого дня.#13#10Загрузка сутко-номеров (мест) - сумма количества занятых номеров (мест) ежедневно в 00:00 часов в отчетный период.#13#10При построения отчета за одни сутки (с 00:00 по 23:59 конкретной даты)  данные берутся на момент 23:59 от указанной даты#13#10#13#10Фильтр:#13#10   - Негарантированные брони дают загрузку - если установлен данный флаг, то забронированный номер считается занятым, соответственно, влияет на загрузку.#13#10   - Гарантированные брони дают загрузку - если установлен данный флаг, то забронированный номер считается занятым и влияет на загрузку.#13#10   - Однодневное размещение дает загрузку - если флаг установлен, то однодневные поселения (при условии одного поселения в номер в каждый момент времени) будут влиять на загрузку с коэффициентом 1.#13#10   - Группировать однодневные поселения - если флаг установлен, однодневные поселения по каждому номеру за каждый день дают загрузку 1, иначе - каждое однодневное или суточное поселение влияет на загрузку с коэффициентом 1.#13#10   - Учитывать ранний заезд - если флаг установлен, то ранний заезд гостя делает занятым номер на предыдущие сутки.#13#10   - Учитывать поздний выезд - если флаг установлен, то поздний выезд делает занятым номер на сутки в день выезда гостя.#13#10   - Номера на ремонте дают загрузку - если установлен данный флаг, то номера, выведенные на специальное бронирование (ремонт, офис…) считаются занятыми и влияют на фактическую загрузку.#13#10   - Расчет по факту - если флаг установлен, то количество занятых считает как 1 номер за сутки, независимо от количества броней в номере, по умолчанию — количество всех броней в номере за сутки.#13#10                               Данный параметр относится не только к Day use, но и к продаже 1го номера местами.#13#10   - Отдельно по отелям - в случае регистрации в базе нескольких отелей данные по загрузке можно разбить по отелям либо считать общие значения без подобного разделения.#13#10   - Отображать загрузку сутко/мест по факту - если флаг установлен, то количество занятых номеров считается по факту иначе по количеству заявок#13#10   - Отображать количество гостей по факту - если флаг установлен отображает общее количество проживающих гостей, иначе количество занятых мест в номере#13#10   - Нераспределенные брони дают загрузку - если установлен данный флаг то брони не распределенные по номерам влияют на загрузку#13#10В отчете отображается, с какими настройками фильтра был сформирован данный отчет.#13#10#13#10Расчет полей \"фактической загрузки\" выполняется в зависимости от выбора опции#13#10      \"Номера на ремонте дают загрузку\" - при выборе данной опции,количество занятых номеров/мест, считается как общее количество занятых#13#10      (в зависимости от выбора опции \"проживания по факту\")#13#10      Если опция  \"Номера на ремонте дают загрузку\" не выбрана ,количество занятых номеров/мест, считается как разница между их общим количеством и #13#10      общим количеством номеров/мест на ремонте (в зависимости от выбора опции \"проживания по факту\")",
    "previous_source": "",
    "target": "This report is generated for the period. Including dates \"from\" and \"till\". To generate one-day report this dates should be set equal.#13#10This report is generated in the context of room types. The data is analyzed at 00:00 o'clock every day. #13#10Download of daily numbers (places) - the total number of occupied rooms (places) daily at 00:00 o'clock for the reporting period. #13#10When you create a report for one day (from 00:00 to 23:59 of a specific date) data is taken at 23:59 from the specified date #13#10#13#10 Filter: #13#10 - Non-guaranteed reservations give the load - if this box is checked, the reserved room is considered as occupied, accordingly, it affects the load. #13#10 - Guaranteed reservations give load - if this box is checked, then the booked room is occupied and affects the load. #13#10 - One-day placement gives the load - if the box is checked, then one-day accomodations (assuming one settlement per room at a time) will affect the total occupation with a coefficient of 1. #13#10 - Group one-day accomodations - if the box is checked, one-day accomodations for each number for each day give an occupation of 1, otherwise - each one-day or daily accomodation affects the occupation with a coefficient of 1. #13#10 - Take into account early check-in - if the box is checked, then the guest arrives early, occupies his room for the previous day. #13#10 - Take into account the late check-out - if the box is checked, then the late check-out makes the room occupied for the day on the day of the guest’s check-out. #13#10 - Repair rooms give occupation - if this box is checked, then the rooms, withdrawn to a special reservation (repair, office ...) are considered as occupied and affect the actual load. #13#10 - Accomodation upon the fact - if the box is checked, then the occupied room number counts as 1 room per day, regardless of the number of reservations for the room, by default - the number of all reservations for the room per day. #13#10 This parameter applies not only to Day use, but also to the sale of the 1st room in some places. #13#10 - Separately by hotel - if you register in the database of several hotels, the occupation data can be broken down by hotel or considered general values without such separation. #13#10 - Display the daily / seat load in fact - if the box is checked, then the number of occupied rooms is considered in fact otherwise by the number of applications #13#10 - Display the number of guests in fact - if the box is checked, displays the total number of guests, otherwise the number of occupied places in room #13#10 - Unallocated bookings give an occupation - if this the box is checked, then bookings not distributed by rooms affect the load #13#10 The report shows what filter settings this report was generated with. #13#10#13#10Calculating the “actual load” fields is performed depending on the choice of option #13#10 \"Repair rooms give a load\" - when this option is selected, the number of occupied rooms/places is considered as the total number of occupied #13#10 (depending on the choice of the option \"accommodation in fact\") #13#10 If the option “Repair numbers give a download” is not selected, the number of occupied rooms/places is considered as the difference between their total number and #13#10 the total number of rooms/places to be repaired (depending on the choice of the option \"accommodation in fact\")",
    "id_hash": -6386606993263024447,
    "content_hash": 8941321643535973329,
    "location": "",
    "context": "russian.xlf///reports_lodgingbyroomsperiod.fr3_data_mmcabout_text",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 2126,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 445,
    "priority": 100,
    "id": 1220446,
    "web_url": "http://weblate.ucs.ru/translate/shelter2/shelter_reports/en/?checksum=275e36c6fe8826c1",
    "url": "http://weblate.ucs.ru/api/units/1220446/?format=api",
    "source_info": "http://weblate.ucs.ru/api/sources/160252/?format=api"
}