Units API

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

GET /api/units/1219527/?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     Пользователю предлагается выбрать кассовые смены, по которым строить отчет. В списке отображаются кассовые смены, которые захватывают указанный период. Например, строка: 26 Киоск 2 смена 24 (09.02.11 - ) означает, что в отчет попадут данные по смене № 24 киоска 2. Смена началась 9 февраля и еще не закончилась. Цифра 26 является системной и пользователем не анализируется. #13#10     Если флаг «В поле «кол-во» отображать количество чеков, а не услуг» снят, то поле кол-во заполняется количеством  проданных услуг. Например, в одном чеке продали Мин вода кол-во 10 шт., в отчет попадет 10. Если данный флаг поднят, то кол-во заполняется следующем образом: Каждая уникальная услуга в рамках одного чека вносит вклад единицу. Например, в одном чеке 2 позиции: Мин вода 10 шт.,Сок 5 шт., в отчет попадет Мин вода 10, Сок 5. Если в одном чеке 2 позиции: Мин вода 5 шт., и Сок 3 шт., в отчет попадет Мин вода 1 и Сок 1. Если в одном чеке 2 позиции: Сок 5 шт., Сок 3 шт., в отчет попадет Сок 1.     Если выбран фильтр «По услугам», то отчет строится по наименованию услуг. Если выбран фильтр «По категориям», то по наименованию категории, к которой принадлежит данная услуга. ",
    "previous_source": "",
    "target": "     This report shows what the payment was taken for. If payment is accepted in advance (prepayment), i.e. the purpose of the payment or prepayment is not defined, this information will not be included in the report. For example, if you just make a payment on a folio. #13#10     The user is invited to select cash register shifts for which to create a report. The list displays cash shifts that capture the specified period. For example, the line: 26 Kiosk 2 shift 24 (02.09.11 -) means that the report will contain data on the shift No. 24 of kiosk 2. The shift started on February 9th and has not yet finished. 26 is a system number and is not analyzed by the user. #13#10     If the box “In the field“ number ”display the number of checks, not services” is not checked, then the field “number” is filled with the number of services sold. For example, in one receipt, Mineral water was sold, number 10 pcs., 10 will be included in the report. If this flag is raised, then the number is filled as follows: Each unique service within a single receipt contributes a unit. For example, there are 2 positions in one receipt: Mineral water 10 pcs., Juice 5 pcs., so Mineral water 10, Juice 5 will be included in the report. If there are 2 positions in one receipt: Mineral water 5 pcs., and Juice 3 pcs., so Mineral water 1, and Juice 1 will be included in the report. If there are 2 positions in one receipt: Juice 5 pcs., Juice 3 pcs., so Juice 1 will be included in the report. If the “By services” filter is selected, then the report is created by the name of the services. If the filter \"By categories\" is selected, then the report is created by the name of the category to which this service belongs. ",
    "id_hash": -6030369794120936194,
    "content_hash": 4944005486085063148,
    "location": "",
    "context": "russian.xlf///reports_servpaymentlist.fr3_data_mmcabout_text",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 1207,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 229,
    "priority": 100,
    "id": 1219527,
    "web_url": "http://weblate.ucs.ru/translate/shelter2/shelter_reports/en/?checksum=2c4fd29f5d2d14fe",
    "url": "http://weblate.ucs.ru/api/units/1219527/?format=api",
    "source_info": "http://weblate.ucs.ru/api/sources/159333/?format=api"
}