curl -X PUT 'https://api-staging.pixwel.com/api/workrequests/{id}' \
-H 'Authorization: Basic <credentials>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"_id": "507f1f77bcf86cd799439011",
"studio": "507f1f77bcf86cd799439011",
"project": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"slug": "string",
"studio": "507f1f77bcf86cd799439011",
"logo": "507f1f77bcf86cd799439011",
"$links": {
"self": "//example.com/path/to/object"
}
},
"asset": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"slug": "string",
"type": "string",
"mediaType": "string",
"thumbnail": {
"_id": "507f1f77bcf86cd799439011",
"verified": true,
"embargo": {
"event": true
},
"warnings": null,
"mime": "string",
"bucket": "string",
"tags": null,
"chunkSize": 0,
"length": 0,
"md5": "string",
"uploadDate": 0,
"$links": {
"self": "//example.com/path/to/object"
}
},
"transcription": {
"_id": "507f1f77bcf86cd799439011",
"graphics": "507f1f77bcf86cd799439011",
"dialogue": "507f1f77bcf86cd799439011",
"script": "507f1f77bcf86cd799439011"
},
"project": "507f1f77bcf86cd799439011",
"studio": "507f1f77bcf86cd799439011",
"creative": true,
"aspectRatio": "string",
"usage": {
"broadcast": true,
"online": true,
"dcp": true,
"dcp3d": true,
"film35": true,
"film70": true,
"imax": true,
"imax3d": true,
"atmos2d": true,
"atmos3d": true,
"dolbyVision2d": true,
"dolbyVision3d": true
},
"workflow": {
"id": "507f1f77bcf86cd799439011",
"phase": "string",
"definition": {
"phases": null,
"requireGraphicsApproval": true,
"requireOfflineApproval": true
},
"note": null
},
"file": {
"cdslFile": "https://example.com/path/to/object"
},
"cdslFile": "https://example.com/path/to/object"
},
"assetType": "string",
"assetCategory": "string",
"auto": true,
"autosubs": true,
"dualLanguages": true,
"aspectRatio": "string",
"from": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"emailNormal": "user@example.com",
"groups": [
{
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"$links": {
"self": "//example.com/path/to/object"
}
}
]
},
"due": {
"date": 0,
"tz": "string"
},
"language": "string",
"territory": "string",
"dng": {
"dialogue": [
"string"
],
"graphics": [
"string"
],
"narration": [
"string"
]
},
"uses": {
"items": [
"string"
],
"details": null
},
"dcp": {
"items": [
"string"
],
"details": null
},
"instructions": "string",
"status": "string",
"history": [
{
"date": 0,
"user": {
"_id": "507f1f77bcf86cd799439011",
"emailNormal": "user@example.com",
"name": "string",
"groups": [
{
"_id": "507f1f77bcf86cd799439011",
"name": "string"
}
]
},
"status": "string",
"reason": "string"
}
],
"recipients": null,
"shippingAddresses": null,
"estimate": {
"base": {
"graphics": 0,
"narration": 0,
"scripts": 0,
"dubbing": 0,
"subtitling": 0,
"hybrid": 0,
"encoding": 0,
"autosubs": 0,
"autogfx": 0
},
"applied": {
"graphics": 0,
"narration": 0,
"scripts": 0,
"dubbing": 0,
"subtitling": 0,
"hybrid": 0,
"encoding": 0,
"autosubs": 0,
"autogfx": 0,
"files": 0,
"total": 0
}
},
"translation": {
"_id": "507f1f77bcf86cd799439011",
"language": "string",
"translator": {
"_id": "507f1f77bcf86cd799439011",
"emailNormal": "user@example.com",
"name": "string",
"groups": [
{
"_id": "507f1f77bcf86cd799439011",
"name": "string"
}
]
},
"status": "string",
"lines": [
{
"number": 0,
"text": "string",
"auto": true,
"custom": true,
"machine": true,
"startTime": "string",
"stopTime": "string",
"alignment": "string",
"textAlign": "string",
"split": null,
"merged": null,
"range": [
0
]
}
],
"printLines": null,
"approval": true,
"$links": {
"self": "//example.com/path/to/object"
}
},
"graphicsTranslation": {
"_id": "507f1f77bcf86cd799439011",
"language": "string",
"translator": {
"_id": "507f1f77bcf86cd799439011",
"emailNormal": "user@example.com",
"name": "string",
"groups": [
{
"_id": "507f1f77bcf86cd799439011",
"name": "string"
}
]
},
"status": "string",
"lines": [
{
"number": 0,
"text": "string",
"auto": true,
"custom": true,
"machine": true,
"startTime": "string",
"stopTime": "string",
"alignment": "string",
"textAlign": "string",
"split": null,
"merged": null,
"range": [
0
]
}
],
"printLines": null,
"approval": true,
"$links": {
"self": "//example.com/path/to/object"
}
},
"urls": {
"view": "https://example.com/path/to/object",
"manage": "https://example.com/path/to/object",
"invite": "https://example.com/path/to/object",
"translate": "https://example.com/path/to/object"
},
"tags": null,
"rejections": null,
"files": [
{
"name": "string",
"files": null
}
],
"materials": [
{
"name": "string",
"complete": true,
"approved": true,
"files": [
null
],
"changeRequests": [
{
"id": "string",
"_id": "string",
"_optimistic": true,
"fileId": "string",
"body": "string",
"status": "string",
"user": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"email": "user@example.com"
},
"requestedBy": {
"_id": "507f1f77bcf86cd799439011",
"email": "user@example.com"
},
"requestedAt": 0,
"created": 0,
"replies": [
{
"id": null,
"_id": null,
"_optimistic": null,
"replyTo": null,
"body": null,
"user": null,
"created": null,
"editedAt": null
}
],
"editedAt": 0
}
]
}
],
"deliveryDeadline": {
"date": 0,
"tz": "string"
},
"reason": "string",
"autoMode": true,
"created": 0,
"$links": {
"self": "//example.com/path/to/object",
"project": "//example.com/path/to/object",
"asset": "//example.com/path/to/object",
"from": "//example.com/path/to/object",
"graphicsTranslation": "//example.com/path/to/object",
"translation": "//example.com/path/to/object"
},
"encodes": null,
"offlines": null,
"graphicsAutomationJobs": null,
"$statuses": [
"string"
],
"audioFile": null
}'