workflow-strings

Move strings to a workflow step

Changed on

Moves strings from their current workflow step to a target workflow step, across one or more locale and workflow-step combinations, in a single request.

Each entry in items must include at least one hashcode. targetLocaleId must be a locale configured in the project, and targetWorkflowStepUid must be an existing, accessible workflow step that has that locale configured. Matching strings are moved regardless of their current workflow step.

This endpoint always processes synchronously and returns a 200 response once the move completes. A maximum of 1000 hashcodes total, across all items, may be submitted per request.

put/workflows-strings-api/v2/projects/{projectId}/movedStrings

Request

  • Base URL
    https://api.smartling.com
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Unique identifier of a Smartling project — 9 lowercase alphanumeric characters.

Example:84c012a33

A unique project identifier. This can be found in the Smartling Dashboard under Account Settings > API.

Request body

Example request

{
  "items": [
    {
      "hashcodes": [
        "d41d8cd98f00b204e9800998ecf8427e"
      ],
      "targetLocaleId": "fr-FR",
      "targetWorkflowStepUid": "7564fc097a85"
    }
  ]
}

Response

Strings moved successfully.

Example response

{
  "response": {
    "data": {
      "processUid": "097ecbc2-8f1b-4ce5-b5c4-d48c3f0e5d9e"
    }
  }
}

Changes