Retrieve all string translations for a specified language and list of string translation object IDs.
GET /v2/stringtranslations/ID[,ID...]
Remote Action
APIHandler
Remote Method
getStringTranslations
Package
Communication (vlocity_cmt)
API Parameters and Response Format
For API parameter names and descriptions, see Cart-Based API Swagger Reference.
Resource Information
| Response Format | JSON |
|---|---|
| Resource URL | /services/apexrest/{namespace}/v2/stringtranslations |
Example Response
{
"totalSize": 20,
"actions": {
"nexttranslation": {
"rest": {
"params": {},
"method": "GET",
"link": "/services/apexrest/vlocity_cmt/v2/stringtranslations?pagesize=20&offsetSize=20&lastRecordId=a3b1N000000pfprQAA"
},
"remote": {
"params": {}
},
"client": {
"params": {}
}
}
},
"records": [{
"displaySequence": -1,
"Id": "a3b1N000000pfpLQAQ",
"Name": "ar-fi",
"vlocity_cmt__StringId__c": "a3c1N0000016TkaQAE",
"vlocity_cmt__Translation__c": "ar-fi",
"vlocity_cmt__LocaleCode__c": "fi",
"vlocity_cmt__StringId__r": {
"attributes": {
"type": "vlocity_cmt__String__c",
"url": "/services/data/v43.0/sobjects/vlocity_cmt__String__c/a3c1N0000016TkaQAE"
},
"Id": "a3c1N0000016TkaQAE",
"vlocity_cmt__BaseString__c": "AR"
}
}, {
"displaySequence": -1,
"Id": "a3b1N000000pfpNQAQ",
"Name": "ar",
"vlocity_cmt__StringId__c": "a3c1N0000016TkaQAE",
"vlocity_cmt__Translation__c": "ar",
"vlocity_cmt__LocaleCode__c": "de",
"vlocity_cmt__StringId__r": {
"attributes": {
"type": "vlocity_cmt__String__c",
"url": "/services/data/v43.0/sobjects/vlocity_cmt__String__c/a3c1N0000016TkaQAE"
},
"Id": "a3c1N0000016TkaQAE",
"vlocity_cmt__BaseString__c": "AR"
}
}, {
"displaySequence": -1,
"Id": "a3b1N000000pfpOQAQ",
"Name": "acc-1-fr",
"vlocity_cmt__StringId__c": "a3c1N0000016TkbQAE",
"vlocity_cmt__Translation__c": "acc-1-fr",
"vlocity_cmt__LocaleCode__c": "fi",
"vlocity_cmt__StringId__r": {
"attributes": {
"type": "vlocity_cmt__String__c",
"url": "/services/data/v43.0/sobjects/vlocity_cmt__String__c/a3c1N0000016TkbQAE"
},
"Id": "a3c1N0000016TkbQAE",
"vlocity_cmt__BaseString__c": "Acc-1"
}
}, ...
[EXAMPLE TRUNCATED FOR BREVITY]