Skip to main content
PUT
/
translations
/
{id}
Update a translation
curl --request PUT \
  --url https://api-staging.pixwel.com/api/translations/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "_id": "52e11b5a67d62160058b456a",
  "asset": "52e0737c67d621417c8b4583",
  "workRequest": "52e11b4c67d62160058b4567",
  "language": "DAN",
  "status": "incomplete",
  "created": 1390484314,
  "$links": {
    "self": "//api-staging.pixwel.com/api/Translations/52e11b5a67d62160058b456a",
    "asset": "//api-staging.pixwel.com/api/Assets/52e0737c67d621417c8b4583",
    "workRequest": "//api-staging.pixwel.com/api/Workrequests/52e11b4c67d62160058b4567"
  }
}
'
{
  "_id": "52e11b5a67d62160058b456a",
  "asset": "52e0737c67d621417c8b4583",
  "workRequest": "52e11b4c67d62160058b4567",
  "language": "DAN",
  "status": "incomplete",
  "created": 1390484314,
  "$links": {
    "self": "//api-staging.pixwel.com/api/Translations/52e11b5a67d62160058b456a",
    "asset": "//api-staging.pixwel.com/api/Assets/52e0737c67d621417c8b4583",
    "workRequest": "//api-staging.pixwel.com/api/Workrequests/52e11b4c67d62160058b4567"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Body

application/json
_id
string
Example:

"52e11b5a67d62160058b456a"

asset
string
Example:

"52e0737c67d621417c8b4583"

workRequest
string
Example:

"52e11b4c67d62160058b4567"

language
string
Example:

"DAN"

status
string
Example:

"incomplete"

created
integer
Example:

1390484314

Response

200 - application/json

OK

_id
string
Example:

"52e11b5a67d62160058b456a"

asset
string
Example:

"52e0737c67d621417c8b4583"

workRequest
string
Example:

"52e11b4c67d62160058b4567"

language
string
Example:

"DAN"

status
string
Example:

"incomplete"

created
integer
Example:

1390484314