Units API

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

GET /api/units/1218631/?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#13#10В отчёт попадают гости (главные и не главные, дополнительные, дети), у которых даты заезда/выезда попадают в заданный временной интервал. Если в брони указана организация, то гость отобразится под ее наименование. Если у гостя не определена организация, то в отчёте в данном поле будет установлено значение 0.#13#10#13#10На момент построения отчета гость может еще проживать или быть выселенным. Брони в отчёте не отображаются.#13#10#13#10Если выбран способ формирования по дате заезда, в отчет попадают все гости, дата заезда которых попадает в указанный промежуток. Если выбран способ формирования отчета по дате выезда - в отчет попадают гости, дата выезда которых попадает в указанный промежуток. #13#10#13#10При установке флага \"Детализация\" отчет формируется подробным образом с указанием всех тарифов каждого гостя с количеством дней проживания по каждому тарифу, скидкой, НДС.Если флаг \"Детализация\" не установлен, отчет отображает общую сводную информацию по каждой организации.#13#10#13#10НДС рассчитывается от каждой позиции в автоначислениях поселения (с учетом смены оказания услуги). Если услуга уже начислена на фолио (и не была отменена), то ставка и настройка НДС (включенность, исключенность) берутся такими же, как и у данной услуги, в противном случае они берутся в соответствие с НДС установленным в карточке услуги.#13#10#13#10Если перед построением отчёта выбран конкретный тип оплаты, то в отчёте отобразятся только те гости, у которых в окне индивидуального бронирования выбран аналогичный тип оплаты. Анализ по типам платежей, размещенных на фолио поселения, в отчёте не производится.#13#10#13#10Если гость переезжает в период построения отчета, то информация о нем отображается в таблице строками с пометкой \"Переезд\" по количеству переездов, попавших в период построения отчета. #13#10#13#10В случае проживания гостя по путевке общая стоимость равна стоимости путевки, иначе общая стоимость равна сумме произведений каждого тарифа, по которому проживал гость, на количество дней по данному тарифу.#13#10#13#10В итоговых данных по столбцу \"итого суток\" указывается общее количество койко/дней( например: в номере 2 гостя, проживание 2 суток, в итого будет результат 4 к\\дней).",
    "previous_source": "",
    "target": "The report is generated for the period “from” “to” inclusively. #13#10#13#10The report includes guests (main and non-main, additional, children) whose arrival / departure dates fall within the specified time interval. If the organization is indicated in the reservation, then the guest will be displayed under its name. If the guest does not have an organization defined, then in the report in this field the value 0 will be set. #13#10#13#10 At the time of writing the report, the guest can still live or be evicted. Reservations are not displayed in the report. #13#10#13#10If the method of formation is selected by the date of arrival, all guests whose arrival date falls within the specified period are included in the report. If you select a method for generating a report by check-out date, the report includes guests whose check-out date falls within the specified period. #13#10#13#10 BY checking the box \"Details\", a report is generated in a detailed manner indicating all the rates for each guest with the number of days of stay for each rate, discount, VAT. If the box \"Details\" is not checked, the report displays general summary information for each organization. #13#10#13#10 VAT is calculated from each position in the autocharge of the settlement (taking into account the change in the provision of services). If the service has already been credited to the folio (and has not been canceled), then the rate and setting of VAT (inclusion, exclusion) are taken to be the same as for this service, otherwise they are taken in accordance with the VAT set in the service card. #13#10#13#10 If a specific type of payment is selected before building the report, then only those guests who have selected the same type of payment in the individual reservation window will be displayed in the report. An analysis of the types of payments placed on the folio of the settlement is not performed in the report. #13#10#13#10 If a guest relocates during the report generation period, information about him is displayed in the table with lines marked \"Relocation\" according to the number of relocations that fell in the period report building. #13#10#13#10 In the case of a guest staying on a package tour, the total cost is equal to the cost of the package, otherwise the total price is equal to the sum of the products of each tariff at which the guest lived, for the number of days at this rate. #13#10#13#10 In the total of the column \"total day\" indicates the total number of beds / days (for example: 2 guests in a room, accommodation 2 nights, in total there will be a result of 4 days).",
    "id_hash": -8710027545559723857,
    "content_hash": 2562069327173344603,
    "location": "",
    "context": "russian.xlf///reports_guestlistbyenterprisedebtor.fr3_data_mmcabout_text",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 311,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 306,
    "priority": 100,
    "id": 1218631,
    "web_url": "http://weblate.ucs.ru/translate/shelter2/shelter_reports/en/?checksum=71fc418530b90af",
    "url": "http://weblate.ucs.ru/api/units/1218631/?format=api",
    "source_info": "http://weblate.ucs.ru/api/sources/158437/?format=api"
}