Translations
Create
Changed onYou may create a new single translation or multiple translations using this action.
When creating a single translation the body contains a json object, when creating multiple translations the body contains an array of objects.
Warning: a maximum of 1000 items can be sent in a single request.
post/public/api/translations
Request
- Base URLhttps://<base_url>
- AuthHTTP bearer
Headers
Acceptstring
e.g. application/json
Request body
Example request
{
"language": "en",
"key": "KEY_TRANSLATE_1",
"value": "custom",
"en": "custom",
"fr": "coutume",
"es": "costumbre",
"pr": "personalizado",
"ru": "обычай",
"group_ids": [
"yoobicprojectmanager"
]
}Response
OK
Example response
[
{
"translation_id": "586e408d3d766c0018b0e60c",
"language": "en",
"key": "KEY_TRANSLATE_1",
"value": "custom",
"en": "custom",
"fr": "coutume",
"es": "costumbre",
"pr": "personalizado",
"ru": "обычай",
"created_date": "2017-01-05T12:48:13.799Z",
"updated_date": "2017-01-05T12:48:13.799Z",
"group_ids": [
"yoobicprojectmanager"
]
},
{
"translation_id": "587de6c4e000eb001877e3a1",
"language": "fr",
"key": "ACTIONPLANCAMPAIGNDESCRIPTION",
"value": "Faites le tour du magasin avec cette fiche de visite",
"us": "Walk around the store with the visit sheet",
"en": "Walk around the store with the visit sheet",
"fr": "Faites le tour du magasin avec cette fiche de visite",
"de": "Gehen Sie um den Laden mit dem Besuch Blatt",
"es": "Paseo por la tienda con la hoja de visita",
"nl": "Loop rond de winkel met het bezoek vel",
"pl": "Spacer po sklepie z arkuszem wizyty",
"it": "Passeggiata intorno al negozio con la scheda di visita",
"ru": "Прогулка вокруг магазина с посещением листа",
"created_date": "2017-01-17T09:41:24.401Z",
"updated_date": "2017-01-18T15:27:49.026Z",
"group_ids": [
"yoobicprojectmanager"
]
}
]Changes
- info
added the media type
application/jsonfor the response with the status
- info
- info
added optional request body
- info