Get String Translation Dictionary

Retrieve the dictionary for a specified domain and locale.

1GET /v2/stringtranslations/{domain}/{local_code}

Apex Remote Service 

1APIHandler

Remote Method 

1getDictionary

Package 

Communication (vlocity_cmt)

API Parameters and Response Format 

For API parameter names and descriptions, see Industries Configure, Price, Quote Web APIs v2 Documentation.

To take advantage of web caching, copy the value of the ETag that is returned in the response header, and assign this value to If-None-Match in the request header of subsequent requests.

Example Response 

1{
2  "totalSize": 1,
3  "records": [{
4    "displaySequence": -1,
5    "localeCode": "fr",
6    "domain": "CPQ",
7    "totalSize": 22,
8    "dictionary": {
9      "failed products": "failed products fr",
10      "IPhone 6 >>  4 GB && 128 GB": "abc_translate_IPhone 6 >> 4 GB && 128 GB",
11      "IPhone 6 >> \nRAM 4 GB &&  Memory 128 GB": "IPhone 6 >>  4 GB && 128 GB fr",
12      "this is <description> for P ^ P promotion": "this is <description> for P ^ P promotion <fr>",
13      "this is <description> for May & June": "this is <description> for May & June _fr",
14      "TestProd-4": "ptestprod-fr",
15      "TestProd-11": "ytestprod-fr",
16      "May & June": "fr_May & June",
17      "this is test promo 1": "this & is & test < promo 1",
18      "this is test promo 2": "this < is > test promo2",
19      "Promo-5": "Test & Promo 5",
20      "Promo-6": "Test < Promo 6",
21      "TestProd-2": "atestprod-fr",
22      "TestProd-20": "htestprod-20",
23      "TestProd-1": "ztestprod-fr",
24      "Demo-B": "demo-B_fr",
25      "Demo-A": "é;chantillon-a",
26      "TestProd-10": "TestProd-10_fr",
27      "May17SpecialChars <= this text will be cut out": "serasdfwe",
28      "TestProd-3": "gtestprod-3_fr",
29      "SPE-26": "spe<26>",
30      "Acc-1": "hr_fr"
31    }
32  }]
33}