Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Get Translated Value of a Survey Field
After a survey field is translated into a particular language, you can use this resource
to get the translated value of the survey field. This resource is available in REST API
version 48.0 and later.
Syntax
URI: /services/data/vXX.X/localizedvalue/record/developerName/language
Formats: JSON
HTTP methods: GET
Authentication: Authorization: Bearer token
Request body: None
Request parameters
| Path Parameter | Description |
|---|---|
| developerName | Required. The developer name of the flow field. For example, Flow.Flow.MyFlow.1.Choice.Choice_1_Master.InputLabel |
| language | Required. Language of the translated field. Possible values are da, nl_NL, fi, fr, or de. |
Response parameters
| Parameter | Description |
|---|---|
| createdBy | ID of the user who translated the flow field. |
| createdDate | Date and time the flow field was translated. |
| developerName | Developer name of the flow field. |
| language | Language into which the flow field was translated. |
| value | Translated value of the flow field. |
| isOutofDate | Indicates if the flow field is out of date. |
Example
1{
2 "createdBy": "005xxx",
3 "createdDate": "2018-09-14T00:10:30Z",
4 "developerName": "Flow.Flow.MyFlow.1.Choice.Choice_1_Master.InputLabel",
5 "language": "zh_CN",
6 "value": "中國",
7 "isOutOfDate": true
8}