Menu
Assign Content Item Locales
Assigning locales to Content Items
POST
/content-items/{contentItemId}/localeUse it in a workflow
- Add a step and choose the Amplience connector.
- Pick the Assign Content Item Locales action (under Localization).
- Fill in the fields below, then reference the result from later steps as
{{assignContentItemLocales.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"locale": "en-GB",
"version": 1
}
Response
Returns 200 with an object. Read it in later steps with {{assignContentItemLocales.response.data.<field>}}.
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"locale": "en-GB",
"version": 1,
"status": "ACTIVE",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z"
}
Need more? See the Amplience guide for connection setup and behaviour shared by every action.
Was this page helpful?