curl --request PATCH \
--url https://cloud.memsource.com/web/api2/v1/projects/{projectUid}/jobs/{jobUid} \
--header 'Content-Type: application/json' \
--data '
{
"status": "NEW",
"dateDue": "2023-11-07T05:31:56Z",
"providers": [
{
"type": "<string>",
"id": "<string>"
}
]
}
'{
"uid": "<string>",
"innerId": "<string>",
"status": "NEW",
"providers": [
{
"type": "<string>",
"id": "<string>",
"uid": "<string>"
}
],
"sourceLang": "<string>",
"targetLang": "<string>",
"workflowLevel": 123,
"workflowStep": {
"name": "<string>",
"id": "<string>",
"order": 123,
"workflowLevel": 123
},
"filename": "<string>",
"dateDue": "2023-11-07T05:31:56Z",
"wordsCount": 123,
"beginIndex": 123,
"endIndex": 123,
"isParentJobSplit": true,
"updateSourceDate": "2023-11-07T05:31:56Z",
"updateTargetDate": "2023-11-07T05:31:56Z",
"dateCreated": "2023-11-07T05:31:56Z",
"jobReference": {
"uid": "<string>",
"jobUid": "<string>",
"filename": "<string>",
"sourceLocale": "<string>",
"targetLocale": "<string>",
"sourceLang": "<string>",
"targetLang": "<string>",
"wordCount": 123,
"progress": 123,
"level": 123,
"dueDate": "2023-11-07T05:31:56Z",
"createdDate": "2023-11-07T05:31:56Z",
"jobCreatedDate": "2023-11-07T05:31:56Z",
"lastModifiedDate": "2023-11-07T05:31:56Z",
"status": "<string>",
"project": {
"uid": "<string>",
"innerId": 123,
"name": "<string>",
"businessUnit": {
"uid": "<string>",
"name": "<string>"
},
"domain": {
"uid": "<string>",
"name": "<string>"
},
"subDomain": {
"uid": "<string>",
"name": "<string>"
},
"client": {
"uid": "<string>",
"name": "<string>",
"note": "<string>"
},
"costCenter": {
"uid": "<string>",
"name": "<string>"
},
"dueDate": "2023-11-07T05:31:56Z",
"createdDate": "2023-11-07T05:31:56Z",
"createdBy": {
"uid": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"owner": {
"uid": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"vendor": {
"uid": "<string>",
"vendorUid": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"organization": {
"uid": "<string>",
"name": "<string>"
}
},
"purchaseOrder": "<string>",
"sourceLang": "<string>",
"targetLangs": [
"<string>"
],
"status": "<string>",
"progress": {
"totalCount": 123,
"finishedCount": 123,
"overdueCount": 123,
"finishedRatio": 123,
"overdueRatio": 123
},
"metadata": [
{
"uid": "<string>",
"fieldName": "<string>",
"value": "<string>",
"options": [
{
"uid": "<string>",
"value": "<string>"
}
]
}
],
"note": "<string>",
"deleted": true,
"archived": true
},
"createdBy": {
"uid": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"owner": {
"uid": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"providers": [
{
"uid": "<string>",
"names": [
"<string>"
],
"type": "<string>",
"anonymized": true,
"deleted": true,
"active": true
}
],
"workflowStep": {
"uid": "<string>",
"name": "<string>",
"abbreviation": "<string>",
"order": 123,
"lqaEnabled": true
},
"continuous": true,
"lqaScore": true,
"settings": {
"securitySettings": {
"canEdit": true,
"canEditDueDate": true,
"canDelete": true
}
},
"warnings": [
"<string>"
],
"errors": {
"creationTask": {
"errorCode": "<string>",
"errorMessage": "<string>",
"dataText": "<string>",
"status": "<string>"
},
"lastTask": {
"errorCode": "<string>",
"errorMessage": "<string>",
"dataText": "<string>",
"status": "<string>"
}
},
"jobMetadata": [
{
"uid": "<string>",
"fieldName": "<string>",
"value": "<string>",
"options": [
{
"uid": "<string>",
"value": "<string>"
}
]
}
]
},
"project": {
"uid": "<string>",
"name": "<string>"
},
"lastWorkflowLevel": 123,
"workUnit": {},
"importStatus": {
"status": "RUNNING",
"errorMessage": "<string>"
},
"imported": true,
"continuous": true,
"continuousJobInfo": {
"dateUpdated": "2023-11-07T05:31:56Z"
},
"originalFileDirectory": "<string>",
"serverTaskId": "<string>"
}This API call allows for partial updates to jobs, modifying specific fields without overwriting those not included in the update request.
Differing from Edit job, this call employs a PATCH method, updating only the provided fields without altering others. It’s beneficial when editing a subset of supported fields is required.
The call supports the editing of status, due date, and providers. When editing providers, it’s essential to submit both the ID of the provider and its type (either VENDOR or USER).
The response will provide a subset of information from Get job.
curl --request PATCH \
--url https://cloud.memsource.com/web/api2/v1/projects/{projectUid}/jobs/{jobUid} \
--header 'Content-Type: application/json' \
--data '
{
"status": "NEW",
"dateDue": "2023-11-07T05:31:56Z",
"providers": [
{
"type": "<string>",
"id": "<string>"
}
]
}
'{
"uid": "<string>",
"innerId": "<string>",
"status": "NEW",
"providers": [
{
"type": "<string>",
"id": "<string>",
"uid": "<string>"
}
],
"sourceLang": "<string>",
"targetLang": "<string>",
"workflowLevel": 123,
"workflowStep": {
"name": "<string>",
"id": "<string>",
"order": 123,
"workflowLevel": 123
},
"filename": "<string>",
"dateDue": "2023-11-07T05:31:56Z",
"wordsCount": 123,
"beginIndex": 123,
"endIndex": 123,
"isParentJobSplit": true,
"updateSourceDate": "2023-11-07T05:31:56Z",
"updateTargetDate": "2023-11-07T05:31:56Z",
"dateCreated": "2023-11-07T05:31:56Z",
"jobReference": {
"uid": "<string>",
"jobUid": "<string>",
"filename": "<string>",
"sourceLocale": "<string>",
"targetLocale": "<string>",
"sourceLang": "<string>",
"targetLang": "<string>",
"wordCount": 123,
"progress": 123,
"level": 123,
"dueDate": "2023-11-07T05:31:56Z",
"createdDate": "2023-11-07T05:31:56Z",
"jobCreatedDate": "2023-11-07T05:31:56Z",
"lastModifiedDate": "2023-11-07T05:31:56Z",
"status": "<string>",
"project": {
"uid": "<string>",
"innerId": 123,
"name": "<string>",
"businessUnit": {
"uid": "<string>",
"name": "<string>"
},
"domain": {
"uid": "<string>",
"name": "<string>"
},
"subDomain": {
"uid": "<string>",
"name": "<string>"
},
"client": {
"uid": "<string>",
"name": "<string>",
"note": "<string>"
},
"costCenter": {
"uid": "<string>",
"name": "<string>"
},
"dueDate": "2023-11-07T05:31:56Z",
"createdDate": "2023-11-07T05:31:56Z",
"createdBy": {
"uid": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"owner": {
"uid": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"vendor": {
"uid": "<string>",
"vendorUid": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"organization": {
"uid": "<string>",
"name": "<string>"
}
},
"purchaseOrder": "<string>",
"sourceLang": "<string>",
"targetLangs": [
"<string>"
],
"status": "<string>",
"progress": {
"totalCount": 123,
"finishedCount": 123,
"overdueCount": 123,
"finishedRatio": 123,
"overdueRatio": 123
},
"metadata": [
{
"uid": "<string>",
"fieldName": "<string>",
"value": "<string>",
"options": [
{
"uid": "<string>",
"value": "<string>"
}
]
}
],
"note": "<string>",
"deleted": true,
"archived": true
},
"createdBy": {
"uid": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"owner": {
"uid": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"providers": [
{
"uid": "<string>",
"names": [
"<string>"
],
"type": "<string>",
"anonymized": true,
"deleted": true,
"active": true
}
],
"workflowStep": {
"uid": "<string>",
"name": "<string>",
"abbreviation": "<string>",
"order": 123,
"lqaEnabled": true
},
"continuous": true,
"lqaScore": true,
"settings": {
"securitySettings": {
"canEdit": true,
"canEditDueDate": true,
"canDelete": true
}
},
"warnings": [
"<string>"
],
"errors": {
"creationTask": {
"errorCode": "<string>",
"errorMessage": "<string>",
"dataText": "<string>",
"status": "<string>"
},
"lastTask": {
"errorCode": "<string>",
"errorMessage": "<string>",
"dataText": "<string>",
"status": "<string>"
}
},
"jobMetadata": [
{
"uid": "<string>",
"fieldName": "<string>",
"value": "<string>",
"options": [
{
"uid": "<string>",
"value": "<string>"
}
]
}
]
},
"project": {
"uid": "<string>",
"name": "<string>"
},
"lastWorkflowLevel": 123,
"workUnit": {},
"importStatus": {
"status": "RUNNING",
"errorMessage": "<string>"
},
"imported": true,
"continuous": true,
"continuousJobInfo": {
"dateUpdated": "2023-11-07T05:31:56Z"
},
"originalFileDirectory": "<string>",
"serverTaskId": "<string>"
}successful operation
InnerId is a sequential number of a job in a project. Jobs created from the same file share the same innerId across workflow steps.
NEW, ACCEPTED, DECLINED, REJECTED, DELIVERED, EMAILED, COMPLETED, CANCELLED Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?