Update a translation

This resource is used to update an existing translation based on its ID.

URL: baseURL/scenario/{scenarioID}/translations/{channel}/{translationID}

Where {channel} path param can take the following values:

Path param nameDescriptionAccepted valued
{channel}The channel that this translation is applied forsms, voice, viber.

Method: PUT


Content-Type: application/json

Example request:

curl --location --request PUT 'baseURL/scenario/7280ecaa-a132-4908-8f26-c1ecbe138d98/translations/sms/3b4d2b40-7ffc-4f59-86ea-f02c7fcabd98' \
--header 'Content-Type: application/json' \
--header 'principalId: 1' \
--data-raw '{
    "message": "Ваш ПІН: @@pin",
    "country": "UA"

Example Response:

  "created_date": "2020-09-04T07:42:27Z",
  "updated_date": "2020-09-04T07:44:43Z",
  "message": "Ваш ПІН: @@pin",
  "country": "UA",
  "id": "3b4d2b40-7ffc-4f59-86ea-f02c7fcabd98"