Skip to main content
POST
/
api2
/
v2
/
projects
/
applyTemplate
/
async
/
{templateUid}
Create project from template (async)
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v2/projects/applyTemplate/async/{templateUid} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "callbackUrl": "<string>",
  "dateDue": "2023-11-07T05:31:56Z",
  "note": "<string>",
  "sourceLang": "<string>",
  "targetLangs": [
    "<string>"
  ],
  "workflowSteps": [
    {
      "id": "<string>"
    }
  ]
}
'
{
  "asyncRequest": {
    "asyncResponse": {
      "dateCreated": "2023-11-07T05:31:56Z",
      "errorCode": "<string>",
      "errorDesc": "<string>",
      "errorDetails": [
        {
          "args": {},
          "code": "<string>",
          "message": "<string>"
        }
      ],
      "warnings": [
        {
          "args": {},
          "code": "<string>",
          "message": "<string>"
        }
      ]
    },
    "createdBy": {
      "email": "<string>",
      "firstName": "<string>",
      "id": "<string>",
      "lastName": "<string>",
      "uid": "<string>",
      "userName": "<string>"
    },
    "dateCreated": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "parent": "<unknown>",
    "project": {
      "name": "<string>",
      "uid": "<string>"
    }
  },
  "reference": {
    "type": "JOB",
    "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
callbackUrl
string

URL to call when the async project creation completes

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

Accepted

asyncRequest
object
reference
object

Reference object that is being processed by async request