...
- comments.[].edit: Tells if a comment can be edited or deleted.
- rights.canAdd: Tells if a new comment can be added to the segment.
- rights.canSendEmail: Tells if a newly added comment can be notified by email to people involved with this segment.
EXAMPLE
Here we get details for a target document with Sample results for an external supplier company:
Code Block |
---|
{ "commentsstrings": [{ {"companies": [ { "cty": "s", "cmidid": "s823850-122",2, "sidname": 823850, "Wordbee S.A." "did": 1908}, "txt": "The French original text is flawed. It cannot be translated!"{ "id": 210, "tskname": "TRQuoc ltd", "dt": "2017-04-07T14:22:38.080706Z",}, { "cat": 0, "fpdid": false276, "froname": false,"Quoc Freelancer" "loc": "en", } "uid": null], "editpersons": true[ }, { { "ctyid": "s"88, "cmidname": "s823850-115",NGUYEN DANG Huy Quoc" "sid": 823850}, "did": 1908,{ "txtid": "I corrected the translation",368, "tskname": null,"N Quoc Freelancer" } "dt": "2017-04-07T07:44:42.6006221Z", ], "cattasks": 3,[ { "fpd": false, "froid": false"TR", "locname": "en"Translation" }, "uid": null,{ "editid": true "RV", } ], "historyname": [ { "ty": "text", "current": true, "val": "Corrected translation", "tsk "Revision" } ] }, "volume": { "totals": { "task": null, "ed "jobs": 16, "dt": "2017-04-07T07:39:11.2253404Z", "uid": null, "loc": "en" }, { "ty": "flags", "current": true, "tsk": null, "dt": "2017-02-14T09:42:50.0220044Z", "uid": 7, "loc": "en", "st": 1, "bk": 0 } ], "rights": { "canSendEmail": true, "canAdd": true }, "locales": [ "fr", "en" ], "persons": { "_7": { "id": 7, "nm": "Bohmig Stephan", "cid": 1, "cnm": "Pons" }, "_3": { "id": 3, "nm": "Hund Thierry", "cid": 1, "cnm": "Pons" } } } "documents": 8, "segments": 2633, "words": 18874, "chars": 104352, "wdpreident": 67, "wdprefuzzy": 79, "wdfuzzy": 2652 }, "tasks": [ { "task": "TR", "jobs": 2, "documents": 3, "segments": 110, "words": 1018, "chars": 5128, "wdpreident": 0, "wdprefuzzy": 0, "wdfuzzy": 36 }, { "task": "RV", "jobs": 4, "documents": 5, "segments": 2523, "words": 17856, "chars": 99224, "wdpreident": 67, "wdprefuzzy": 79, "wdfuzzy": 2616 } ], "months": [ { "title": "2017 - 5", "jobs": 1, "words": 80, "chars": 413 }, { "title": "2017 - 6", "jobs": 5, "words": 18794, "chars": 103939 }, { "title": "2017 - 7", "jobs": 0, "words": 0, "chars": 0 } ] }, "actions": { "cnt": 6, "total": 12, "translation": 12, "revision": 0, "postediting": 0, "corrected": 0, "segments": 2633 }, "histo": { "responseTimeNone": 0, "deadlineTimeNone": 4, "responseTime": { "cnt": 6, "sum": 40, "nocnt": 0, "slots": [ { "label": "30 minutes", "min": 0, "max": 30, "cnt": 6, "pdf": 6 }, { "label": "1 hour", "min": 31, "max": 60, "cnt": 0, "pdf": 6 }, { "label": "2 hours", "min": 61, "max": 120, "cnt": 0, "pdf": 6 }, { "label": "3 hours", "min": 121, "max": 180, "cnt": 0, "pdf": 6 }, { "label": "4 hours", "min": 181, "max": 240, "cnt": 0, "pdf": 6 }, { "label": "8 hours", "min": 241, "max": 480, "cnt": 0, "pdf": 6 }, { "label": "12 hours", "min": 481, "max": 720, "cnt": 0, "pdf": 6 }, { "label": "16 hours", "min": 721, "max": 960, "cnt": 0, "pdf": 6 }, { "label": "20 hours", "min": 961, "max": 1200, "cnt": 0, "pdf": 6 }, { "label": "24 hours", "min": 1201, "max": 1440, "cnt": 0, "pdf": 6 }, { "label": "36 hours", "min": 1441, "max": 2160, "cnt": 0, "pdf": 6 }, { "label": "2 days or more", "min": 2161, "max": 2147483647, "cnt": 0, "pdf": 6 } ], "within1h": 6, "within8h": 6, "within24h": 6 }, "deadlineTime": { "cnt": 2, "sum": -11365, "nocnt": 4, "slots": [ { "label": "2 days early", "min": -2147483648, "max": -2161, "cnt": 1, "pdf": 1 }, { "label": "36 hours early", "min": -2160, "max": -1441, "cnt": 1, "pdf": 2 }, { "label": "24 hours early", "min": -1440, "max": -961, "cnt": 0, "pdf": 2 }, { "label": "16 hours early", "min": -960, "max": -481, "cnt": 0, "pdf": 2 }, { "label": "8 hours early", "min": -480, "max": -241, "cnt": 0, "pdf": 2 }, { "label": "4 hours early", "min": -240, "max": -181, "cnt": 0, "pdf": 2 }, { "label": "3 hours early", "min": -180, "max": -121, "cnt": 0, "pdf": 2 }, { "label": "2 hours early", "min": -120, "max": -61, "cnt": 0, "pdf": 2 }, { "label": "1 hour early", "min": -60, "max": 0, "cnt": 0, "pdf": 2 }, { "label": "1 hour late", "min": 1, "max": 60, "cnt": 0, "pdf": 2 }, { "label": "2 hours late", "min": 61, "max": 120, "cnt": 0, "pdf": 2 }, { "label": "3 hours late", "min": 121, "max": 180, "cnt": 0, "pdf": 2 }, { "label": "4 hours late", "min": 181, "max": 240, "cnt": 0, "pdf": 2 }, { "label": "8 hours late", "min": 241, "max": 480, "cnt": 0, "pdf": 2 }, { "label": "16 hours late", "min": 481, "max": 960, "cnt": 0, "pdf": 2 }, { "label": "24 hours late", "min": 961, "max": 1440, "cnt": 0, "pdf": 2 }, { "label": "36 hours late", "min": 1441, "max": 2160, "cnt": 0, "pdf": 2 }, { "label": "2 days late", "min": 2161, "max": 2147483647, "cnt": 0, "pdf": 2 } ], "after": 0, "before": 6, "late8h": 0, "late24h": 0 }, "assignedTime": { "cnt": 2, "sum": 11378, "nocnt": 4, "slots": [ { "label": "Less than 1 day", "min": 0, "max": 1439, "cnt": 0, "pdf": 0 }, { "label": "1 day", "min": 1440, "max": 2879, "cnt": 1, "pdf": 1 }, { "label": "2 days", "min": 2880, "max": 4319, "cnt": 0, "pdf": 1 }, { "label": "3 days", "min": 4320, "max": 5759, "cnt": 0, "pdf": 1 }, { "label": "4 days", "min": 5760, "max": 7199, "cnt": 0, "pdf": 1 }, { "label": "5 days", "min": 7200, "max": 8639, "cnt": 0, "pdf": 1 }, { "label": "6 days", "min": 8640, "max": 10079, "cnt": 1, "pdf": 2 }, { "label": "7 days", "min": 10080, "max": 11519, "cnt": 0, "pdf": 2 }, { "label": "8 days", "min": 11520, "max": 12959, "cnt": 0, "pdf": 2 }, { "label": "9 days", "min": 12960, "max": 14399, "cnt": 0, "pdf": 2 }, { "label": "10 days", "min": 14400, "max": 15839, "cnt": 0, "pdf": 2 }, { "label": "11 days", "min": 15840, "max": 17279, "cnt": 0, "pdf": 2 }, { "label": "12 days", "min": 17280, "max": 18719, "cnt": 0, "pdf": 2 }, { "label": "13 days", "min": 18720, "max": 20159, "cnt": 0, "pdf": 2 }, { "label": "14 days", "min": 20160, "max": 21599, "cnt": 0, "pdf": 2 }, { "label": "15 days or more", "min": 21600, "max": 2147483647, "cnt": 0, "pdf": 2 } ], "less1day": 0, "upto5days": 1, "upto10days": 2, "equalmore5days": 1, "equalmore10days": 0 }, "dailyVolumeAssigned": { "cnt": 1, "sum": 734, "nocnt": 0, "slots": [ { "label": "0 to 500", "min": 0, "max": 499, "cnt": 0, "pdf": 0 }, { "label": "500 to 1000", "min": 500, "max": 999, "cnt": 1, "pdf": 1 }, { "label": "1000 to 1500", "min": 1000, "max": 1499, "cnt": 0, "pdf": 1 }, { "label": "1500 to 2000", "min": 1500, "max": 1999, "cnt": 0, "pdf": 1 }, { "label": "2000 to 2500", "min": 2000, "max": 2499, "cnt": 0, "pdf": 1 }, { "label": "2500 to 3000", "min": 2500, "max": 2999, "cnt": 0, "pdf": 1 }, { "label": "3000 to 3500", "min": 3000, "max": 3499, "cnt": 0, "pdf": 1 }, { "label": "3500 to 4000", "min": 3500, "max": 3999, "cnt": 0, "pdf": 1 }, { "label": "4000 to 4500", "min": 4000, "max": 4499, "cnt": 0, "pdf": 1 }, { "label": "4500 to 5000", "min": 4500, "max": 4999, "cnt": 0, "pdf": 1 }, { "label": "5000 to 5500", "min": 5000, "max": 5499, "cnt": 0, "pdf": 1 }, { "label": "5500 to 6000", "min": 5500, "max": 5999, "cnt": 0, "pdf": 1 }, { "label": "6000 and more", "min": 6000, "max": 2147483647, "cnt": 0, "pdf": 1 } ] }, "dailyVolumeWorked": { "cnt": 1, "sum": 2814, "nocnt": 0, "slots": [ { "label": "0 to 500", "min": 0, "max": 499, "cnt": 0, "pdf": 0 }, { "label": "500 to 1000", "min": 500, "max": 999, "cnt": 0, "pdf": 0 }, { "label": "1000 to 1500", "min": 1000, "max": 1499, "cnt": 0, "pdf": 0 }, { "label": "1500 to 2000", "min": 1500, "max": 1999, "cnt": 0, "pdf": 0 }, { "label": "2000 to 2500", "min": 2000, "max": 2499, "cnt": 0, "pdf": 0 }, { "label": "2500 to 3000", "min": 2500, "max": 2999, "cnt": 1, "pdf": 1 }, { "label": "3000 to 3500", "min": 3000, "max": 3499, "cnt": 0, "pdf": 1 }, { "label": "3500 to 4000", "min": 3500, "max": 3999, "cnt": 0, "pdf": 1 }, { "label": "4000 to 4500", "min": 4000, "max": 4499, "cnt": 0, "pdf": 1 }, { "label": "4500 to 5000", "min": 4500, "max": 4999, "cnt": 0, "pdf": 1 }, { "label": "5000 to 5500", "min": 5000, "max": 5499, "cnt": 0, "pdf": 1 }, { "label": "5500 to 6000", "min": 5500, "max": 5999, "cnt": 0, "pdf": 1 }, { "label": "6000 and more", "min": 6000, "max": 2147483647, "cnt": 0, "pdf": 1 } ] }, "dailyVolumeActual": { "cnt": 1, "sum": 2814, "nocnt": 0, "slots": [ { "label": "0 to 500", "min": 0, "max": 499, "cnt": 0, "pdf": 0 }, { "label": "500 to 1000", "min": 500, "max": 999, "cnt": 0, "pdf": 0 }, { "label": "1000 to 1500", "min": 1000, "max": 1499, "cnt": 0, "pdf": 0 }, { "label": "1500 to 2000", "min": 1500, "max": 1999, "cnt": 0, "pdf": 0 }, { "label": "2000 to 2500", "min": 2000, "max": 2499, "cnt": 0, "pdf": 0 }, { "label": "2500 to 3000", "min": 2500, "max": 2999, "cnt": 1, "pdf": 1 }, { "label": "3000 to 3500", "min": 3000, "max": 3499, "cnt": 0, "pdf": 1 }, { "label": "3500 to 4000", "min": 3500, "max": 3999, "cnt": 0, "pdf": 1 }, { "label": "4000 to 4500", "min": 4000, "max": 4499, "cnt": 0, "pdf": 1 }, { "label": "4500 to 5000", "min": 4500, "max": 4999, "cnt": 0, "pdf": 1 }, { "label": "5000 to 5500", "min": 5000, "max": 5499, "cnt": 0, "pdf": 1 }, { "label": "5500 to 6000", "min": 5500, "max": 5999, "cnt": 0, "pdf": 1 }, { "label": "6000 and more", "min": 6000, "max": 2147483647, "cnt": 0, "pdf": 1 } ] } }, "workers": [ { "id": 0, "jobs": 5, "documents": 7, "words": 18794, "chars": 103939, "jobsintime": 4, "acnt": 1, "atot": 12, "acr": 0 }, { "id": 368, "jobs": 1, "documents": 1, "words": 80, "chars": 413, "jobsintime": 1, "acnt": 0, "atot": 0, "acr": 0 } ], "managers": [ { "id": 88, "jobs": 4, "documents": 5, "words": 1479, "chars": 7511, "jobsintime": 4, "acnt": 1, "atot": 12, "acr": 0 }, { "id": 2, "jobs": 1, "documents": 2, "words": 17392, "chars": 96826, "jobsintime": 1, "acnt": 0, "atot": 0, "acr": 0 }, { "id": 0, "jobs": 1, "documents": 1, "words": 3, "chars": 15, "jobsintime": 0, "acnt": 0, "atot": 0, "acr": 0 } ], "clients": [ { "id": 210, "jobs": 5, "documents": 7, "words": 18871, "chars": 104337, "jobsintime": 5, "acnt": 1, "atot": 12, "acr": 0 }, { "id": 2, "jobs": 1, "documents": 1, "words": 3, "chars": 15, "jobsintime": 0, "acnt": 0, "atot": 0, "acr": 0 } ], "languages": [ { "id": "en,fr", "st": "English (en)", "tt": "French (fr)", "jobs": 3, "words": 1098, "chars": 4715 }, { "id": "en-US,pt-BR", "st": "English (United States) (en-US)", "tt": "Portuguese (Brazil) (pt-BR)", "jobs": 1, "words": 17392, "chars": 96826 }, { "id": "en-GB,zh-HK", "st": "English (United Kingdom) (en-GB)", "tt": "Chinese (Traditional, Hong Kong S.A.R.) (zh-HK)", "jobs": 1, "words": 381, "chars": 1970 }, { "id": "fr,en", "st": "French (fr)", "tt": "English (en)", "jobs": 1, "words": 3, "chars": 15 } ], "team": [], "ratings": { "manager": { "rated": 0, "unrated": 6, "all": { "q": -1, "qtitle": "All ratings", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, "q": [ { "q": 1, "qtitle": "Work quality", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 4, "qtitle": "Text complexity", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 6, "qtitle": "Team quality", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] } ] }, "worker": { "rated": 0, "unrated": 6, "all": { "q": -1, "qtitle": "All ratings", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, "q": [ { "q": 0, "qtitle": "Overall", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 1, "qtitle": "Work quality", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 2, "qtitle": "Timeliness", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 3, "qtitle": "Reliability", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 4, "qtitle": "Text complexity", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 5, "qtitle": "Difficulty", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 6, "qtitle": "Team quality", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 7, "qtitle": "Friendliness", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 8, "qtitle": "Challenge", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 9, "qtitle": "Pretranslation", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 10, "qtitle": "Source text quality", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] }, { "q": 11, "qtitle": "Translation quality", "cnt": 0, "avg": 0, "std": -1, "s": [ 0, 0, 0, 0, 0 ] } ] } }, "getfilter": true } |