curl --request POST \
--url https://cloud.memsource.com/web/api2/v3/automatedProjects \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"monitoredFolders": [
{
"folderNames": [
"<string>"
],
"humanReadableFolderPath": "<string>",
"localToken": "<string>",
"projectTemplateUid": "<string>",
"remoteFolder": "<string>",
"fileNameRegex": "<string>",
"includeSubfolders": true,
"moveToProcessedSubfolder": true,
"processedSubfolder": "<string>",
"selectedMonitoredFiles": [
{
"encodedFileName": "<string>",
"fileName": "<string>",
"uniqueIdentifier": "<string>"
}
]
}
],
"name": "<string>",
"selectedTargetLangs": [
"<string>"
],
"translationExports": [
{
"name": "<string>",
"exportedWorkflowStepToDeliveredAfterExport": true
}
],
"active": true,
"continuousProject": true,
"createProjectAutomation": {
"applyProjectDueDateToJobsEnabled": true,
"assignProvidersEnabled": true,
"calculateDueDateEnabled": true,
"createAnalysesEnabled": true,
"createAnalysesWorkflowNumber": 500,
"createBuyerQuotesEnabled": true,
"createProviderQuotesEnabled": true,
"dueDateSchemeUid": "<string>",
"notifyProjectOwnerEmailTemplateUid": "<string>",
"notifyProjectOwnerEnabled": true
},
"projectTemplateMaxWfStep": 123,
"targetUpdateAutomation": {
"manualReviewEnabled": true,
"notifyProjectOwnerEmailTemplateUid": "<string>",
"notifyProjectOwnerEnabled": true,
"targetUpdateEnabled": true
},
"webhookToken": "<string>"
}
'import requests
url = "https://cloud.memsource.com/web/api2/v3/automatedProjects"
payload = {
"monitoredFolders": [
{
"folderNames": ["<string>"],
"humanReadableFolderPath": "<string>",
"localToken": "<string>",
"projectTemplateUid": "<string>",
"remoteFolder": "<string>",
"fileNameRegex": "<string>",
"includeSubfolders": True,
"moveToProcessedSubfolder": True,
"processedSubfolder": "<string>",
"selectedMonitoredFiles": [
{
"encodedFileName": "<string>",
"fileName": "<string>",
"uniqueIdentifier": "<string>"
}
]
}
],
"name": "<string>",
"selectedTargetLangs": ["<string>"],
"translationExports": [
{
"name": "<string>",
"exportedWorkflowStepToDeliveredAfterExport": True
}
],
"active": True,
"continuousProject": True,
"createProjectAutomation": {
"applyProjectDueDateToJobsEnabled": True,
"assignProvidersEnabled": True,
"calculateDueDateEnabled": True,
"createAnalysesEnabled": True,
"createAnalysesWorkflowNumber": 500,
"createBuyerQuotesEnabled": True,
"createProviderQuotesEnabled": True,
"dueDateSchemeUid": "<string>",
"notifyProjectOwnerEmailTemplateUid": "<string>",
"notifyProjectOwnerEnabled": True
},
"projectTemplateMaxWfStep": 123,
"targetUpdateAutomation": {
"manualReviewEnabled": True,
"notifyProjectOwnerEmailTemplateUid": "<string>",
"notifyProjectOwnerEnabled": True,
"targetUpdateEnabled": True
},
"webhookToken": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
monitoredFolders: [
{
folderNames: ['<string>'],
humanReadableFolderPath: '<string>',
localToken: '<string>',
projectTemplateUid: '<string>',
remoteFolder: '<string>',
fileNameRegex: '<string>',
includeSubfolders: true,
moveToProcessedSubfolder: true,
processedSubfolder: '<string>',
selectedMonitoredFiles: [
{
encodedFileName: '<string>',
fileName: '<string>',
uniqueIdentifier: '<string>'
}
]
}
],
name: '<string>',
selectedTargetLangs: ['<string>'],
translationExports: [{name: '<string>', exportedWorkflowStepToDeliveredAfterExport: true}],
active: true,
continuousProject: true,
createProjectAutomation: {
applyProjectDueDateToJobsEnabled: true,
assignProvidersEnabled: true,
calculateDueDateEnabled: true,
createAnalysesEnabled: true,
createAnalysesWorkflowNumber: 500,
createBuyerQuotesEnabled: true,
createProviderQuotesEnabled: true,
dueDateSchemeUid: '<string>',
notifyProjectOwnerEmailTemplateUid: '<string>',
notifyProjectOwnerEnabled: true
},
projectTemplateMaxWfStep: 123,
targetUpdateAutomation: {
manualReviewEnabled: true,
notifyProjectOwnerEmailTemplateUid: '<string>',
notifyProjectOwnerEnabled: true,
targetUpdateEnabled: true
},
webhookToken: '<string>'
})
};
fetch('https://cloud.memsource.com/web/api2/v3/automatedProjects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cloud.memsource.com/web/api2/v3/automatedProjects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'monitoredFolders' => [
[
'folderNames' => [
'<string>'
],
'humanReadableFolderPath' => '<string>',
'localToken' => '<string>',
'projectTemplateUid' => '<string>',
'remoteFolder' => '<string>',
'fileNameRegex' => '<string>',
'includeSubfolders' => true,
'moveToProcessedSubfolder' => true,
'processedSubfolder' => '<string>',
'selectedMonitoredFiles' => [
[
'encodedFileName' => '<string>',
'fileName' => '<string>',
'uniqueIdentifier' => '<string>'
]
]
]
],
'name' => '<string>',
'selectedTargetLangs' => [
'<string>'
],
'translationExports' => [
[
'name' => '<string>',
'exportedWorkflowStepToDeliveredAfterExport' => true
]
],
'active' => true,
'continuousProject' => true,
'createProjectAutomation' => [
'applyProjectDueDateToJobsEnabled' => true,
'assignProvidersEnabled' => true,
'calculateDueDateEnabled' => true,
'createAnalysesEnabled' => true,
'createAnalysesWorkflowNumber' => 500,
'createBuyerQuotesEnabled' => true,
'createProviderQuotesEnabled' => true,
'dueDateSchemeUid' => '<string>',
'notifyProjectOwnerEmailTemplateUid' => '<string>',
'notifyProjectOwnerEnabled' => true
],
'projectTemplateMaxWfStep' => 123,
'targetUpdateAutomation' => [
'manualReviewEnabled' => true,
'notifyProjectOwnerEmailTemplateUid' => '<string>',
'notifyProjectOwnerEnabled' => true,
'targetUpdateEnabled' => true
],
'webhookToken' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://cloud.memsource.com/web/api2/v3/automatedProjects"
payload := strings.NewReader("{\n \"monitoredFolders\": [\n {\n \"folderNames\": [\n \"<string>\"\n ],\n \"humanReadableFolderPath\": \"<string>\",\n \"localToken\": \"<string>\",\n \"projectTemplateUid\": \"<string>\",\n \"remoteFolder\": \"<string>\",\n \"fileNameRegex\": \"<string>\",\n \"includeSubfolders\": true,\n \"moveToProcessedSubfolder\": true,\n \"processedSubfolder\": \"<string>\",\n \"selectedMonitoredFiles\": [\n {\n \"encodedFileName\": \"<string>\",\n \"fileName\": \"<string>\",\n \"uniqueIdentifier\": \"<string>\"\n }\n ]\n }\n ],\n \"name\": \"<string>\",\n \"selectedTargetLangs\": [\n \"<string>\"\n ],\n \"translationExports\": [\n {\n \"name\": \"<string>\",\n \"exportedWorkflowStepToDeliveredAfterExport\": true\n }\n ],\n \"active\": true,\n \"continuousProject\": true,\n \"createProjectAutomation\": {\n \"applyProjectDueDateToJobsEnabled\": true,\n \"assignProvidersEnabled\": true,\n \"calculateDueDateEnabled\": true,\n \"createAnalysesEnabled\": true,\n \"createAnalysesWorkflowNumber\": 500,\n \"createBuyerQuotesEnabled\": true,\n \"createProviderQuotesEnabled\": true,\n \"dueDateSchemeUid\": \"<string>\",\n \"notifyProjectOwnerEmailTemplateUid\": \"<string>\",\n \"notifyProjectOwnerEnabled\": true\n },\n \"projectTemplateMaxWfStep\": 123,\n \"targetUpdateAutomation\": {\n \"manualReviewEnabled\": true,\n \"notifyProjectOwnerEmailTemplateUid\": \"<string>\",\n \"notifyProjectOwnerEnabled\": true,\n \"targetUpdateEnabled\": true\n },\n \"webhookToken\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://cloud.memsource.com/web/api2/v3/automatedProjects")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"monitoredFolders\": [\n {\n \"folderNames\": [\n \"<string>\"\n ],\n \"humanReadableFolderPath\": \"<string>\",\n \"localToken\": \"<string>\",\n \"projectTemplateUid\": \"<string>\",\n \"remoteFolder\": \"<string>\",\n \"fileNameRegex\": \"<string>\",\n \"includeSubfolders\": true,\n \"moveToProcessedSubfolder\": true,\n \"processedSubfolder\": \"<string>\",\n \"selectedMonitoredFiles\": [\n {\n \"encodedFileName\": \"<string>\",\n \"fileName\": \"<string>\",\n \"uniqueIdentifier\": \"<string>\"\n }\n ]\n }\n ],\n \"name\": \"<string>\",\n \"selectedTargetLangs\": [\n \"<string>\"\n ],\n \"translationExports\": [\n {\n \"name\": \"<string>\",\n \"exportedWorkflowStepToDeliveredAfterExport\": true\n }\n ],\n \"active\": true,\n \"continuousProject\": true,\n \"createProjectAutomation\": {\n \"applyProjectDueDateToJobsEnabled\": true,\n \"assignProvidersEnabled\": true,\n \"calculateDueDateEnabled\": true,\n \"createAnalysesEnabled\": true,\n \"createAnalysesWorkflowNumber\": 500,\n \"createBuyerQuotesEnabled\": true,\n \"createProviderQuotesEnabled\": true,\n \"dueDateSchemeUid\": \"<string>\",\n \"notifyProjectOwnerEmailTemplateUid\": \"<string>\",\n \"notifyProjectOwnerEnabled\": true\n },\n \"projectTemplateMaxWfStep\": 123,\n \"targetUpdateAutomation\": {\n \"manualReviewEnabled\": true,\n \"notifyProjectOwnerEmailTemplateUid\": \"<string>\",\n \"notifyProjectOwnerEnabled\": true,\n \"targetUpdateEnabled\": true\n },\n \"webhookToken\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.memsource.com/web/api2/v3/automatedProjects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"monitoredFolders\": [\n {\n \"folderNames\": [\n \"<string>\"\n ],\n \"humanReadableFolderPath\": \"<string>\",\n \"localToken\": \"<string>\",\n \"projectTemplateUid\": \"<string>\",\n \"remoteFolder\": \"<string>\",\n \"fileNameRegex\": \"<string>\",\n \"includeSubfolders\": true,\n \"moveToProcessedSubfolder\": true,\n \"processedSubfolder\": \"<string>\",\n \"selectedMonitoredFiles\": [\n {\n \"encodedFileName\": \"<string>\",\n \"fileName\": \"<string>\",\n \"uniqueIdentifier\": \"<string>\"\n }\n ]\n }\n ],\n \"name\": \"<string>\",\n \"selectedTargetLangs\": [\n \"<string>\"\n ],\n \"translationExports\": [\n {\n \"name\": \"<string>\",\n \"exportedWorkflowStepToDeliveredAfterExport\": true\n }\n ],\n \"active\": true,\n \"continuousProject\": true,\n \"createProjectAutomation\": {\n \"applyProjectDueDateToJobsEnabled\": true,\n \"assignProvidersEnabled\": true,\n \"calculateDueDateEnabled\": true,\n \"createAnalysesEnabled\": true,\n \"createAnalysesWorkflowNumber\": 500,\n \"createBuyerQuotesEnabled\": true,\n \"createProviderQuotesEnabled\": true,\n \"dueDateSchemeUid\": \"<string>\",\n \"notifyProjectOwnerEmailTemplateUid\": \"<string>\",\n \"notifyProjectOwnerEnabled\": true\n },\n \"projectTemplateMaxWfStep\": 123,\n \"targetUpdateAutomation\": {\n \"manualReviewEnabled\": true,\n \"notifyProjectOwnerEmailTemplateUid\": \"<string>\",\n \"notifyProjectOwnerEnabled\": true,\n \"targetUpdateEnabled\": true\n },\n \"webhookToken\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"frequency": {
"monthlyFixedTimes": [
{
"dayOfMonth": 123,
"fixedTime": 123,
"timeZone": "<string>"
}
],
"range": 123,
"weeklyFixedTimes": [
{
"dayOfWeek": 123,
"fixedTime": 123,
"timeZone": "<string>"
}
]
},
"id": "<string>",
"monitoredFolders": [
{
"encodedRemoteFolder": "<string>",
"folderNames": [
"<string>"
],
"humanReadableFolderPath": "<string>",
"localToken": "<string>",
"projectTemplateUid": "<string>",
"remoteFolder": "<string>",
"fileNameRegex": "<string>",
"includeSubfolders": true,
"moveToProcessedSubfolder": true,
"processedSubfolder": "<string>",
"selectedMonitoredFiles": [
{
"encodedFileName": "<string>",
"fileName": "<string>",
"uniqueIdentifier": "<string>"
}
]
}
],
"name": "<string>",
"active": true,
"continuousProject": true,
"createProjectAutomation": {
"applyProjectDueDateToJobsEnabled": true,
"assignProvidersEnabled": true,
"calculateDueDateEnabled": true,
"createAnalysesEnabled": true,
"createAnalysesWorkflowNumber": 123,
"createBuyerQuotesEnabled": true,
"createProviderQuotesEnabled": true,
"dueDateSchemeUid": "<string>",
"notifyProjectOwnerEmailTemplate": {
"name": "<string>",
"uid": "<string>"
},
"notifyProjectOwnerEnabled": true
},
"deprecatedTargetLangs": [
"<string>"
],
"selectedTargetLangs": [
"<string>"
],
"sourceLang": "<string>",
"sourceUpdateAutomation": {
"applyProjectDueDateToJobsEnabled": true,
"calculateDueDateEnabled": true,
"continuousAnalysesSettings": {
"analyzeByLanguage": true,
"excludeLocked": true,
"excludeNumbers": true,
"includeMachineTranslationMatches": true,
"includeNonTranslatables": true,
"includeTransMemory": true,
"internalFuzzyMatches": true,
"namingPattern": "<string>",
"separateInternalFuzzyMatches": true
},
"createAnalysesEnabled": true,
"createAnalysesWorkflowNumber": 500,
"createBuyerQuotesEnabled": true,
"createProviderQuotesEnabled": true,
"dueDateSchemeUid": "<string>",
"notifyProjectOwnerEmailTemplate": {
"name": "<string>",
"uid": "<string>"
},
"notifyProjectOwnerEnabled": true,
"reopenWorkflowEnabled": true,
"reopenWorkflowNumberAndLater": 500
},
"targetUpdateAutomation": {
"manualReviewEnabled": true,
"notifyProjectOwnerEmailTemplate": {
"name": "<string>",
"uid": "<string>"
},
"notifyProjectOwnerEnabled": true,
"targetUpdateEnabled": true
},
"translationExports": [
{
"name": "<string>",
"exportFrom": {
"workflowStep": 500
},
"exportWhen": {
"workflowStep": 500
},
"exportedWorkflowStepToDeliveredAfterExport": true
}
],
"warnings": [
{}
],
"webhook": {
"webhookToken": "<string>",
"webhookUrl": "<string>"
}
}Create automated project settings
Creates automated project creation (APC) settings.
The request fails with 400 Bad Request when the configuration is invalid — for example when monitored folders are duplicated, exceed the allowed limit, mix different connectors or project templates, or when the connector does not support (sub)folder monitoring, and when the translation-export configuration breaks its uniqueness or combination rules (such as more than one entry for the same trigger or workflow step). If the referenced connector cannot be found, the request fails with 404 Not Found.
curl --request POST \
--url https://cloud.memsource.com/web/api2/v3/automatedProjects \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"monitoredFolders": [
{
"folderNames": [
"<string>"
],
"humanReadableFolderPath": "<string>",
"localToken": "<string>",
"projectTemplateUid": "<string>",
"remoteFolder": "<string>",
"fileNameRegex": "<string>",
"includeSubfolders": true,
"moveToProcessedSubfolder": true,
"processedSubfolder": "<string>",
"selectedMonitoredFiles": [
{
"encodedFileName": "<string>",
"fileName": "<string>",
"uniqueIdentifier": "<string>"
}
]
}
],
"name": "<string>",
"selectedTargetLangs": [
"<string>"
],
"translationExports": [
{
"name": "<string>",
"exportedWorkflowStepToDeliveredAfterExport": true
}
],
"active": true,
"continuousProject": true,
"createProjectAutomation": {
"applyProjectDueDateToJobsEnabled": true,
"assignProvidersEnabled": true,
"calculateDueDateEnabled": true,
"createAnalysesEnabled": true,
"createAnalysesWorkflowNumber": 500,
"createBuyerQuotesEnabled": true,
"createProviderQuotesEnabled": true,
"dueDateSchemeUid": "<string>",
"notifyProjectOwnerEmailTemplateUid": "<string>",
"notifyProjectOwnerEnabled": true
},
"projectTemplateMaxWfStep": 123,
"targetUpdateAutomation": {
"manualReviewEnabled": true,
"notifyProjectOwnerEmailTemplateUid": "<string>",
"notifyProjectOwnerEnabled": true,
"targetUpdateEnabled": true
},
"webhookToken": "<string>"
}
'import requests
url = "https://cloud.memsource.com/web/api2/v3/automatedProjects"
payload = {
"monitoredFolders": [
{
"folderNames": ["<string>"],
"humanReadableFolderPath": "<string>",
"localToken": "<string>",
"projectTemplateUid": "<string>",
"remoteFolder": "<string>",
"fileNameRegex": "<string>",
"includeSubfolders": True,
"moveToProcessedSubfolder": True,
"processedSubfolder": "<string>",
"selectedMonitoredFiles": [
{
"encodedFileName": "<string>",
"fileName": "<string>",
"uniqueIdentifier": "<string>"
}
]
}
],
"name": "<string>",
"selectedTargetLangs": ["<string>"],
"translationExports": [
{
"name": "<string>",
"exportedWorkflowStepToDeliveredAfterExport": True
}
],
"active": True,
"continuousProject": True,
"createProjectAutomation": {
"applyProjectDueDateToJobsEnabled": True,
"assignProvidersEnabled": True,
"calculateDueDateEnabled": True,
"createAnalysesEnabled": True,
"createAnalysesWorkflowNumber": 500,
"createBuyerQuotesEnabled": True,
"createProviderQuotesEnabled": True,
"dueDateSchemeUid": "<string>",
"notifyProjectOwnerEmailTemplateUid": "<string>",
"notifyProjectOwnerEnabled": True
},
"projectTemplateMaxWfStep": 123,
"targetUpdateAutomation": {
"manualReviewEnabled": True,
"notifyProjectOwnerEmailTemplateUid": "<string>",
"notifyProjectOwnerEnabled": True,
"targetUpdateEnabled": True
},
"webhookToken": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
monitoredFolders: [
{
folderNames: ['<string>'],
humanReadableFolderPath: '<string>',
localToken: '<string>',
projectTemplateUid: '<string>',
remoteFolder: '<string>',
fileNameRegex: '<string>',
includeSubfolders: true,
moveToProcessedSubfolder: true,
processedSubfolder: '<string>',
selectedMonitoredFiles: [
{
encodedFileName: '<string>',
fileName: '<string>',
uniqueIdentifier: '<string>'
}
]
}
],
name: '<string>',
selectedTargetLangs: ['<string>'],
translationExports: [{name: '<string>', exportedWorkflowStepToDeliveredAfterExport: true}],
active: true,
continuousProject: true,
createProjectAutomation: {
applyProjectDueDateToJobsEnabled: true,
assignProvidersEnabled: true,
calculateDueDateEnabled: true,
createAnalysesEnabled: true,
createAnalysesWorkflowNumber: 500,
createBuyerQuotesEnabled: true,
createProviderQuotesEnabled: true,
dueDateSchemeUid: '<string>',
notifyProjectOwnerEmailTemplateUid: '<string>',
notifyProjectOwnerEnabled: true
},
projectTemplateMaxWfStep: 123,
targetUpdateAutomation: {
manualReviewEnabled: true,
notifyProjectOwnerEmailTemplateUid: '<string>',
notifyProjectOwnerEnabled: true,
targetUpdateEnabled: true
},
webhookToken: '<string>'
})
};
fetch('https://cloud.memsource.com/web/api2/v3/automatedProjects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cloud.memsource.com/web/api2/v3/automatedProjects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'monitoredFolders' => [
[
'folderNames' => [
'<string>'
],
'humanReadableFolderPath' => '<string>',
'localToken' => '<string>',
'projectTemplateUid' => '<string>',
'remoteFolder' => '<string>',
'fileNameRegex' => '<string>',
'includeSubfolders' => true,
'moveToProcessedSubfolder' => true,
'processedSubfolder' => '<string>',
'selectedMonitoredFiles' => [
[
'encodedFileName' => '<string>',
'fileName' => '<string>',
'uniqueIdentifier' => '<string>'
]
]
]
],
'name' => '<string>',
'selectedTargetLangs' => [
'<string>'
],
'translationExports' => [
[
'name' => '<string>',
'exportedWorkflowStepToDeliveredAfterExport' => true
]
],
'active' => true,
'continuousProject' => true,
'createProjectAutomation' => [
'applyProjectDueDateToJobsEnabled' => true,
'assignProvidersEnabled' => true,
'calculateDueDateEnabled' => true,
'createAnalysesEnabled' => true,
'createAnalysesWorkflowNumber' => 500,
'createBuyerQuotesEnabled' => true,
'createProviderQuotesEnabled' => true,
'dueDateSchemeUid' => '<string>',
'notifyProjectOwnerEmailTemplateUid' => '<string>',
'notifyProjectOwnerEnabled' => true
],
'projectTemplateMaxWfStep' => 123,
'targetUpdateAutomation' => [
'manualReviewEnabled' => true,
'notifyProjectOwnerEmailTemplateUid' => '<string>',
'notifyProjectOwnerEnabled' => true,
'targetUpdateEnabled' => true
],
'webhookToken' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://cloud.memsource.com/web/api2/v3/automatedProjects"
payload := strings.NewReader("{\n \"monitoredFolders\": [\n {\n \"folderNames\": [\n \"<string>\"\n ],\n \"humanReadableFolderPath\": \"<string>\",\n \"localToken\": \"<string>\",\n \"projectTemplateUid\": \"<string>\",\n \"remoteFolder\": \"<string>\",\n \"fileNameRegex\": \"<string>\",\n \"includeSubfolders\": true,\n \"moveToProcessedSubfolder\": true,\n \"processedSubfolder\": \"<string>\",\n \"selectedMonitoredFiles\": [\n {\n \"encodedFileName\": \"<string>\",\n \"fileName\": \"<string>\",\n \"uniqueIdentifier\": \"<string>\"\n }\n ]\n }\n ],\n \"name\": \"<string>\",\n \"selectedTargetLangs\": [\n \"<string>\"\n ],\n \"translationExports\": [\n {\n \"name\": \"<string>\",\n \"exportedWorkflowStepToDeliveredAfterExport\": true\n }\n ],\n \"active\": true,\n \"continuousProject\": true,\n \"createProjectAutomation\": {\n \"applyProjectDueDateToJobsEnabled\": true,\n \"assignProvidersEnabled\": true,\n \"calculateDueDateEnabled\": true,\n \"createAnalysesEnabled\": true,\n \"createAnalysesWorkflowNumber\": 500,\n \"createBuyerQuotesEnabled\": true,\n \"createProviderQuotesEnabled\": true,\n \"dueDateSchemeUid\": \"<string>\",\n \"notifyProjectOwnerEmailTemplateUid\": \"<string>\",\n \"notifyProjectOwnerEnabled\": true\n },\n \"projectTemplateMaxWfStep\": 123,\n \"targetUpdateAutomation\": {\n \"manualReviewEnabled\": true,\n \"notifyProjectOwnerEmailTemplateUid\": \"<string>\",\n \"notifyProjectOwnerEnabled\": true,\n \"targetUpdateEnabled\": true\n },\n \"webhookToken\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://cloud.memsource.com/web/api2/v3/automatedProjects")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"monitoredFolders\": [\n {\n \"folderNames\": [\n \"<string>\"\n ],\n \"humanReadableFolderPath\": \"<string>\",\n \"localToken\": \"<string>\",\n \"projectTemplateUid\": \"<string>\",\n \"remoteFolder\": \"<string>\",\n \"fileNameRegex\": \"<string>\",\n \"includeSubfolders\": true,\n \"moveToProcessedSubfolder\": true,\n \"processedSubfolder\": \"<string>\",\n \"selectedMonitoredFiles\": [\n {\n \"encodedFileName\": \"<string>\",\n \"fileName\": \"<string>\",\n \"uniqueIdentifier\": \"<string>\"\n }\n ]\n }\n ],\n \"name\": \"<string>\",\n \"selectedTargetLangs\": [\n \"<string>\"\n ],\n \"translationExports\": [\n {\n \"name\": \"<string>\",\n \"exportedWorkflowStepToDeliveredAfterExport\": true\n }\n ],\n \"active\": true,\n \"continuousProject\": true,\n \"createProjectAutomation\": {\n \"applyProjectDueDateToJobsEnabled\": true,\n \"assignProvidersEnabled\": true,\n \"calculateDueDateEnabled\": true,\n \"createAnalysesEnabled\": true,\n \"createAnalysesWorkflowNumber\": 500,\n \"createBuyerQuotesEnabled\": true,\n \"createProviderQuotesEnabled\": true,\n \"dueDateSchemeUid\": \"<string>\",\n \"notifyProjectOwnerEmailTemplateUid\": \"<string>\",\n \"notifyProjectOwnerEnabled\": true\n },\n \"projectTemplateMaxWfStep\": 123,\n \"targetUpdateAutomation\": {\n \"manualReviewEnabled\": true,\n \"notifyProjectOwnerEmailTemplateUid\": \"<string>\",\n \"notifyProjectOwnerEnabled\": true,\n \"targetUpdateEnabled\": true\n },\n \"webhookToken\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.memsource.com/web/api2/v3/automatedProjects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"monitoredFolders\": [\n {\n \"folderNames\": [\n \"<string>\"\n ],\n \"humanReadableFolderPath\": \"<string>\",\n \"localToken\": \"<string>\",\n \"projectTemplateUid\": \"<string>\",\n \"remoteFolder\": \"<string>\",\n \"fileNameRegex\": \"<string>\",\n \"includeSubfolders\": true,\n \"moveToProcessedSubfolder\": true,\n \"processedSubfolder\": \"<string>\",\n \"selectedMonitoredFiles\": [\n {\n \"encodedFileName\": \"<string>\",\n \"fileName\": \"<string>\",\n \"uniqueIdentifier\": \"<string>\"\n }\n ]\n }\n ],\n \"name\": \"<string>\",\n \"selectedTargetLangs\": [\n \"<string>\"\n ],\n \"translationExports\": [\n {\n \"name\": \"<string>\",\n \"exportedWorkflowStepToDeliveredAfterExport\": true\n }\n ],\n \"active\": true,\n \"continuousProject\": true,\n \"createProjectAutomation\": {\n \"applyProjectDueDateToJobsEnabled\": true,\n \"assignProvidersEnabled\": true,\n \"calculateDueDateEnabled\": true,\n \"createAnalysesEnabled\": true,\n \"createAnalysesWorkflowNumber\": 500,\n \"createBuyerQuotesEnabled\": true,\n \"createProviderQuotesEnabled\": true,\n \"dueDateSchemeUid\": \"<string>\",\n \"notifyProjectOwnerEmailTemplateUid\": \"<string>\",\n \"notifyProjectOwnerEnabled\": true\n },\n \"projectTemplateMaxWfStep\": 123,\n \"targetUpdateAutomation\": {\n \"manualReviewEnabled\": true,\n \"notifyProjectOwnerEmailTemplateUid\": \"<string>\",\n \"notifyProjectOwnerEnabled\": true,\n \"targetUpdateEnabled\": true\n },\n \"webhookToken\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"frequency": {
"monthlyFixedTimes": [
{
"dayOfMonth": 123,
"fixedTime": 123,
"timeZone": "<string>"
}
],
"range": 123,
"weeklyFixedTimes": [
{
"dayOfWeek": 123,
"fixedTime": 123,
"timeZone": "<string>"
}
]
},
"id": "<string>",
"monitoredFolders": [
{
"encodedRemoteFolder": "<string>",
"folderNames": [
"<string>"
],
"humanReadableFolderPath": "<string>",
"localToken": "<string>",
"projectTemplateUid": "<string>",
"remoteFolder": "<string>",
"fileNameRegex": "<string>",
"includeSubfolders": true,
"moveToProcessedSubfolder": true,
"processedSubfolder": "<string>",
"selectedMonitoredFiles": [
{
"encodedFileName": "<string>",
"fileName": "<string>",
"uniqueIdentifier": "<string>"
}
]
}
],
"name": "<string>",
"active": true,
"continuousProject": true,
"createProjectAutomation": {
"applyProjectDueDateToJobsEnabled": true,
"assignProvidersEnabled": true,
"calculateDueDateEnabled": true,
"createAnalysesEnabled": true,
"createAnalysesWorkflowNumber": 123,
"createBuyerQuotesEnabled": true,
"createProviderQuotesEnabled": true,
"dueDateSchemeUid": "<string>",
"notifyProjectOwnerEmailTemplate": {
"name": "<string>",
"uid": "<string>"
},
"notifyProjectOwnerEnabled": true
},
"deprecatedTargetLangs": [
"<string>"
],
"selectedTargetLangs": [
"<string>"
],
"sourceLang": "<string>",
"sourceUpdateAutomation": {
"applyProjectDueDateToJobsEnabled": true,
"calculateDueDateEnabled": true,
"continuousAnalysesSettings": {
"analyzeByLanguage": true,
"excludeLocked": true,
"excludeNumbers": true,
"includeMachineTranslationMatches": true,
"includeNonTranslatables": true,
"includeTransMemory": true,
"internalFuzzyMatches": true,
"namingPattern": "<string>",
"separateInternalFuzzyMatches": true
},
"createAnalysesEnabled": true,
"createAnalysesWorkflowNumber": 500,
"createBuyerQuotesEnabled": true,
"createProviderQuotesEnabled": true,
"dueDateSchemeUid": "<string>",
"notifyProjectOwnerEmailTemplate": {
"name": "<string>",
"uid": "<string>"
},
"notifyProjectOwnerEnabled": true,
"reopenWorkflowEnabled": true,
"reopenWorkflowNumberAndLater": 500
},
"targetUpdateAutomation": {
"manualReviewEnabled": true,
"notifyProjectOwnerEmailTemplate": {
"name": "<string>",
"uid": "<string>"
},
"notifyProjectOwnerEnabled": true,
"targetUpdateEnabled": true
},
"translationExports": [
{
"name": "<string>",
"exportFrom": {
"workflowStep": 500
},
"exportWhen": {
"workflowStep": 500
},
"exportedWorkflowStepToDeliveredAfterExport": true
}
],
"warnings": [
{}
],
"webhook": {
"webhookToken": "<string>",
"webhookUrl": "<string>"
}
}Authorizations
Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.
Body
Automated project creation settings to create
Remote folders to monitor. Must contain at least one folder.
Show child attributes
Show child attributes
Name of the automated project creation settings. Maximum 255 characters.
255Target language codes of the created projects. At least one must be selected.
1 - 2147483647 elementsTranslation-export configuration entries
Show child attributes
Show child attributes
When true, the automated project creation is active and runs on its schedule
When true, files are imported into a single continuously updated project instead of creating a new project on every run
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Mode used for the first run of the automated project creation
DRY_RUN, FULL_RUN How files are grouped into created projects
ALL_FILES_IN_SINGLE_PROJECT, BY_FOLDER, EACH_FILE_IN_SEPARATE_PROJECT Highest workflow step of the project template to use
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Webhook token that triggers the automated project creation. Either frequency or webhookToken must be provided.
Response
Created
Show child attributes
Show child attributes
Unique identifier of the automated project creation settings
Remote folders being monitored
Show child attributes
Show child attributes
Name of the automated project creation settings. Maximum 255 characters.
255When true, the automated project creation is active and runs on its schedule
When true, files are imported into a single continuously updated project
Show child attributes
Show child attributes
Previously selected target language codes that are no longer available
Mode used for the first run of the automated project creation
DRY_RUN, FULL_RUN How files are grouped into created projects
ALL_FILES_IN_SINGLE_PROJECT, BY_FOLDER, EACH_FILE_IN_SEPARATE_PROJECT Target language codes currently selected for the created projects
Source language code of the created projects
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Translation-export configuration entries
Show child attributes
Show child attributes
Warnings raised while resolving the configuration
Show child attributes
Show child attributes
Was this page helpful?