Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

locale

Language code.

localetLanguage name.
isSourceTrue if this is the source language of the document. The source language item is always shown in first position.
nameThe original file name or the deliverable name. Note that deliverables can be renamed by the user.
dvrequiredBoolean. True if the user must submit a deliverable. If true, the user can only approve if a physical file was set (see exists property on deliverable).
dvapprovedBoolean. True if the user confirmed that deliverable is done as expected. Includes case where user says no, I do not want to set a deliverable.
encoding

The encoding if the document is a text file (xml, json...). For example "utf-8". In some cases this information may not be available.

For binary formats such as Word or InDesign, the encoding is null.

 

EXAMPLES

See this example:

Code Block
{
  "available": true,
  "skip": 0,
  "take": null,
  "hasMore": false,
  "documents": [
    {
      "did": 1520,
      "dsid": 296,
      "name": "thu_trade_test_doc.htm",
      "src": "en",
      "domain": "HTML",
      "locales": [
        {
          "locale": "en",
          "localet": "Anglais",
          "isSource": true,
          "name": "trade_test_doc.htm",
          "dvrequired": false,
          "dvapproved": false,
		  "encoding": "utf-8"
        },
        {
          "locale": "sq-ALS",
          "localet": "Albanais (Tosque)",
          "isSource": false,
          "name": "thu_trade_test_doc.htm",
          "dvrequired": false,
          "dvapproved": false,
		  "encoding": "utf-8"
        },
        {
          "locale": "my",
          "localet": "Birman",
          "isSource": false,
          "name": "thu_trade_test_doc.htm",
          "dvrequired": false,
          "dvapproved": false,
		  "encoding": "utf-8"
        },
        {
          "locale": "fr",
          "localet": "Français",
          "isSource": false,
          "name": "thu_trade_test_doc.htm",
          "dvrequired": false,
          "dvapproved": false,
		  "encoding": "utf-8"
        }
      ]
    },
    {
      "did": 1448,
      "dsid": 296,
      "name": "trade_test_doc.htm",
      "src": "en",
      "domain": "HTML",
      "locales": [
        {
          "locale": "en",
          "localet": "Anglais",
          "isSource": true,
          "name": "trade_test_doc.htm",
          "dvrequired": false,
          "dvapproved": false,
		  "encoding": "utf-8"
        },
        {
          "locale": "sq-ALS",
          "localet": "Albanais (Tosque)",
          "isSource": false,
          "name": "trade_test_doc.htm",
          "dvrequired": false,
          "dvapproved": false,
		  "encoding": "utf-8"
        },
        {
          "locale": "my",
          "localet": "Birman",
          "isSource": false,
          "name": "trade_test_doc.htm",
          "dvrequired": false,
          "dvapproved": false,
		  "encoding": "utf-8"
        },
        {
          "locale": "fr",
          "localet": "Français",
          "isSource": false,
          "name": "trade_test_doc.htm",
          "dvrequired": false,
          "dvapproved": false,
		  "encoding": "utf-8"
        }
      ]
    }
  ]
}