Translations

You 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 URL
    https://<base_url>
  • Auth
    HTTP bearer

Headers

Acceptstring

e.g. application/json

Request body

languagestring
keystring
valuestring
enstring
frstring
esstring
prstring
rustring
group_idsstring[]

Example request

{
  "language": "en",
  "key": "KEY_TRANSLATE_1",
  "value": "custom",
  "en": "custom",
  "fr": "coutume",
  "es": "costumbre",
  "pr": "personalizado",
  "ru": "обычай",
  "group_ids": [
    "yoobicprojectmanager"
  ]
}

Response

OK

translation_idstring required
languagestring required
keystring required
valuestring required
enstring required
frstring required
esstring required
prstring
rustring required
created_datestring required
updated_datestring required
group_idsstring[] required
usstring
destring
nlstring
plstring
itstring

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