younifyd
Menu

Post Bulk Apply Locale Job

Post Bulk Apply Locale Job

POST/hubs/{hubId}/bulk-apply-locale

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Post Bulk Apply Locale Job action (under Hubs).
  3. Fill in the fields below, then reference the result from later steps as {{postBulkApplyLocaleJob.response.data}}.

Request

Path parameters

hubIdstringrequired

Hub ID

Request body

Enter the body as JSON in the step's Body field.

selectionarray<object>
contentItemIdstring

ID of content item

versioninteger

Version of content item

localizationobject
localestring

Locale

json
{
  "selection": [
    {
      "contentItemId": "00112233-4455-6677-8899-aabbccddeeff",
      "version": 1
    }
  ],
  "localization": {
    "locale": "en-gb"
  }
}

Response

Returns 200 with an object. Read it in later steps with {{postBulkApplyLocaleJob.response.data.<field>}}.

idstring

ID

typestring

Type of job operation

statusstring

Status of Job

One ofCREATEDSTARTEDPARTIALFAILEDCOMPLETED

resultsobject
succeededarray<any>
failedarray<any>
createdDatestring (date-time)

Created Date

createdBystring (uuid)

Created by User Id

_linksobject

Resource HAL links

selfanyrequired
bulk-apply-localeanyrequired
json
{
  "id": "00112233-4455-6677-8899-aabbccddeeff",
  "type": "LOCALE",
  "status": "CREATED",
  "results": {
    "succeeded": [
      null
    ],
    "failed": [
      null
    ]
  },
  "createdDate": "2019-01-01T00:00:00.000Z",
  "createdBy": "00112233-4455-6677-8899-aabbccddeeff",
  "_links": {
    "self": null,
    "bulk-apply-locale": null
  }
}

Need more? See the Amplience guide for connection setup and behaviour shared by every action.