Units API.

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

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

{
    "translation": "http://weblate.ops404.it/api/translations/ooops-rental/ooops_rental/it/?format=api",
    "source": [
        "<div style=\"margin: 0px; padding: 0px;\">\n                    <p style=\"margin: 0px; padding: 0px; font-size: 13px;\">\n                        Dear\n                        <br/>\n                        <br/>\n                        Here is your reserved product details:\n                        <br/>\n                        <br/>\n                        <br/>\n                        % if object.status == 'pickup':\n                        <table class=\"table\" border=\"1px\" style=\"width: 50%\">\n                            <tr>\n                                <td>\n                                    <strong>Product</strong>\n                                </td>\n                                <td>\n                                    <strong>Total Quantity Reserved</strong>\n                                </td>\n                                <td>\n                                    <strong>Total Quantity Picked</strong>\n                                </td>\n                                <td>\n                                    <strong>Quantity Picked now</strong>\n                                </td>\n                                <td>\n                                    <strong>Left Quantity to Pick</strong>\n                                </td>\n                            </tr>\n                            % for line in object.rental_wizard_line_ids:\n                            <tr>\n                                <td>${line.product_id.name}</td>\n                                <td>${line.order_item_id.qty_reserved}</td>\n                                <td>${line.order_item_id.qty_delivered}</td>\n                                <td>${line.qty_delivered}</td>\n                                <td>${line.order_item_id.qty_delivered_left}</td>\n                            </tr>\n                            % endfor\n                        </table>\n                        % endif\n                        % if object.status == 'return':\n                        <table class=\"table\" border=\"1px\" style=\"width: 50%\">\n                            <tr>\n                                <td>\n                                    <strong>Product</strong>\n                                </td>\n                                <td>\n                                    <strong>Total Quantity Picked</strong>\n                                </td>\n                                <td>\n                                    <strong>Total Quantity Returned</strong>\n                                </td>\n                                <td>\n                                    <strong>Quantity Returned now</strong>\n                                </td>\n                                <td>\n                                    <strong>Left Quantity to Return</strong>\n                                </td>\n                            </tr>\n                            % for line in object.rental_wizard_line_ids:\n                            <tr>\n                                <td>${line.product_id.name}</td>\n                                <td>${line.order_item_id.qty_delivered}</td>\n                                <td>${line.order_item_id.qty_returned}</td>\n                                <td>${line.qty_returned}</td>\n                                <td>${line.order_item_id.qty_returned_left}</td>\n                            </tr>\n                            % endfor\n                        </table>\n                        % endif\n                        <br/>\n                        <br/>\n                        Do not hesitate to contact us if you have any question.\n                    </p>\n                </div>\n            "
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 3591439474960578582,
    "content_hash": 3591439474960578582,
    "location": "model:mail.template,body_html:ooops_rental.email_template_rental_sale",
    "context": "",
    "note": "module: ooops_rental",
    "flags": "",
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 7,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 145,
    "source_unit": "http://weblate.ops404.it/api/units/52735/?format=api",
    "priority": 100,
    "id": 52742,
    "web_url": "http://weblate.ops404.it/translate/ooops-rental/ooops_rental/it/?checksum=b1d75b2c99573816",
    "url": "http://weblate.ops404.it/api/units/52742/?format=api",
    "explanation": "",
    "extra_flags": ""
}