DigiOffice Gateway Web Services

<back to all web services

GetUserTranslations

Requires Authentication
GetTranslations Parameters:
NameParameterData TypeRequiredDescription
TranslateKeysformList<string>No
GetTranslationsResponse Parameters:
NameParameterData TypeRequiredDescription
TranslationsformList<Translation>No
PreferredLanguageformstringNo
PreferredLanguageShortformstringNo
Translation Parameters:
NameParameterData TypeRequiredDescription
KeyformstringNo
NLformstringNo
ENformstringNo
DEformstringNo
FRformstringNo
C1formstringNo
C2formstringNo
C3formstringNo
C4formstringNo
C5formstringNo
C6formstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetUserTranslations HTTP/1.1 
Host: digiofficeapigateway.deltares.nl 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"TranslateKeys":["String"]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Translations":[{"Key":"String","NL":"String","EN":"String","DE":"String","FR":"String","C1":"String","C2":"String","C3":"String","C4":"String","C5":"String","C6":"String"}],"PreferredLanguage":"String","PreferredLanguageShort":"String"}