v2

latestOpenAPI 3.0.02026-08-07103189636.5 KB
Workflow Assignment

Create Steps Assignment

Create new workflow steps assignment

post/people-api/v3/accounts/{accountUid}/users/{userUid}/workflow-steps/assign

Path parameters

accountUidstring uid required

The account’s unique identifier. This can be found in the Smartling Dashboard under Account Settings > API.

userUidstring uid required

User identifier.

Request body

roleValue'ROLE_TRANSLATION_RESOURCE' | 'ROLE_TRANSLATION_RESOURCE_MANAGER'

User role name

Example request

{
  "workflowStepAssignments": [
    {
      "workflowStepUid": "8312172ed60d",
      "localePairs": {
        "sourceLocaleId": "en-US",
        "targetLocaleIds": [
          "fr-FR",
          "es-ES"
        ]
      }
    }
  ]
}

Response

OK

Example response

{
  "response": {
    "data": {
      "items": [
        {
          "workflowStepUid": "8312172ed60d",
          "localePairs": {
            "sourceLocaleId": "en-US",
            "targetLocaleIds": [
              "fr-FR",
              "es-ES"
            ]
          }
        }
      ]
    }
  }
}