Api Documentation

Auto translate

Certain fields can be automatically translated trough this endpoint. News, Events, and AppCms Pages can be translated using this endpoint.
Json
XML
POST https://api.bundeling.com/V2/auto_translations

Parameters

Body

NameDescriptionTypeNillableRequired
object_typeType of the object to translate
Accepted values: news, event, appcms, bulletinboard
stringfalsetrue
object_uuidA unique identifier used to identify a automated content translationstringfalsetrue
languageLanguage we want to translate to.
Accepted values: af, am, as, az, ba, bg, bn, bo, bs, ca, cs, cy, da, de, el, en, es, et, fi, fil, fj, fr, fr-CA, ga, gu, hi, hr, hsb, ht, hu, hy, id, ikt, is, it, iu, iu-Latn, ja, ka, kk, km, kmr, kn, ko, ky, lo, lt, lv, lzh, mg, mi, mk, ml, mn-Cyrl, mn-Mong, mr, ms, mt, mww, my, nb, ne, nl, or, otq, pa, pl, pt, pt-PT, ro, ru, sk, sl, sm, so, sq, sr-Cyrl, sr-Latn, sv, sw, ta, te, th, ti, tk, tlh-Latn, tlh-Piqd, to, tr, tt, ty, uk, uz, vi, yua, yue, zh-Hans, zh-Hant
stringfalsetrue

Example request

Headers

Content-Type:application/json
Api-Key:RAegSX8yZfEbqSPM

Body

{
    "object_type": "news",
    "object_uuid": "eeb763c41c054dcc8f6d9362f24ee9b2",
    "language": "de"
}

Example response

{
    "object_type": "news",
    "object_uuid": "eeb763c41c054dcc8f6d 9362f24ee9b2",
    "language": "nl",
    "creationdate": "2022-03-15T16:19:07+0000",
    "fields": {
        "title": "Wekom in onze nieuwe Bundeling app!",
        "content": "<p>Dit zal voortaan onze centrale plek zijn voor informatie en evenementen</p>"
    }
}