Skip to main content
POST
/
api2
/
v2
/
projects
/
applyTemplate
/
{templateUid}
Create project from template
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v2/projects/applyTemplate/{templateUid} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "dateDue": "2023-11-07T05:31:56Z",
  "note": "<string>",
  "sourceLang": "<string>",
  "targetLangs": [
    "<string>"
  ],
  "workflowSteps": [
    {
      "id": "<string>"
    }
  ]
}
'
{
  "userRole": "<string>",
  "dateCreated": "2023-11-07T05:31:56Z",
  "domain": {
    "id": "<string>",
    "name": "<string>",
    "uid": "<string>"
  },
  "id": "<string>",
  "internalId": 123,
  "mtSettingsPerLanguageList": [
    {
      "targetLang": "<string>",
      "machineTranslateSettings": {
        "id": "<string>",
        "name": "<string>",
        "type": "<string>",
        "uid": "<string>"
      }
    }
  ],
  "name": "<string>",
  "owner": {
    "email": "<string>",
    "firstName": "<string>",
    "id": "<string>",
    "lastName": "<string>",
    "uid": "<string>",
    "userName": "<string>"
  },
  "references": [
    {
      "createdBy": {
        "email": "<string>",
        "firstName": "<string>",
        "id": "<string>",
        "lastName": "<string>",
        "uid": "<string>",
        "userName": "<string>"
      },
      "dateCreated": "2023-11-07T05:31:56Z",
      "filename": "<string>",
      "id": "<string>",
      "note": "<string>",
      "uid": "<string>"
    }
  ],
  "sourceLang": "<string>",
  "subDomain": {
    "id": "<string>",
    "name": "<string>",
    "uid": "<string>"
  },
  "targetLangs": [
    "<string>"
  ],
  "uid": "<string>"
}

Authorizations

Authorization
string
header
required

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.

Path Parameters

templateUid
string
required

Template UID

Body

application/json
name
string
required
Maximum string length: 255
businessUnit
object
client
object
costCenter
object
dateDue
string<date-time>

Due date for the project

domain
object
note
string

Internal note for the project

sourceLang
string

Source language code; falls back to the template value when omitted

subDomain
object
targetLangs
string[]

Target language codes; fall back to the template values when omitted

workflowSteps
object[]

Workflow steps to override those defined in the template

Response

Created

Base projectDto

userRole
string
required
read-only

Response differs based on user's role

dateCreated
string<date-time>

Date the project was created

domain
object
id
string

Internal numeric identifier, encoded as a string

internalId
integer<int32>

Sequential numeric identifier scoped to the organization (first project in the org is 1)

mtSettingsPerLanguageList
object[]

Machine translation settings per target language

name
string

Project name

owner
object
references
object[]

Reference files attached to the project

sourceLang
string

Source language code

status
enum<string>

Project status; one of NEW, ASSIGNED, COMPLETED, ACCEPTED_BY_VENDOR, DECLINED_BY_VENDOR, COMPLETED_BY_VENDOR, CANCELLED

Available options:
NEW,
ASSIGNED,
COMPLETED,
ACCEPTED_BY_VENDOR,
DECLINED_BY_VENDOR,
COMPLETED_BY_VENDOR,
CANCELLED
subDomain
object
targetLangs
string[]

Target language codes

uid
string

Unique identifier used in API paths