Marketing Content Hub (Preview)

Marketing Content Hub (Preview)

Marketing Content Hub by Stylelabs integrates and blends boundaries between traditional marketing silos. It provides an integrated solution for Digital asset management (DAM), Product information management (PIM), Marketing resource management (MRM), Web to Print, Marketing portal and Digital rights management (DRM).

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
Flow Premium All Flow regions except the following:
     -   US Government (GCC)
PowerApps Premium All PowerApps regions except the following:
     -   US Government (GCC)

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Creating a connection

To connect your account, you will need the following information:

Stylelabs host
string
The FQDN for the Stylelabs host.

Actions

Add Entity

Adds an entity for a certain entity definition like 'M.Brand' - uses dynamic values and outputs dynamic-schema.

Required Parameters

Select Entity Definition
string
Select entity definition.

Optional Parameters

dynamicTypeSchema
dynamic
Dynamic schema of entity definition.

Returns

Add Fetch Job

Adds a FetchJob.

Required Parameters

assetId
integer
uri
string

Returns

Delete Entity By Identifier

Deletes an entity via identifier.

Required Parameters

Entity Identifier
string
The unique identifier of the entity.

Returns

Get Entity By Identifier

Retrieves a certain entity by its identifier and definition.

Required Parameters

Select Entity Definition
string
Select entity definition.
Entity identifier
string
Unique entity identifier.

Returns

The outputs of this operation are dynamic.

Get FetchJob Status

Gets the status of a FetchJob.

Required Parameters

Fetch Job Id
number
The id of the fetch job you want to get the status from.

Returns

List Entities

Gets entities from a certain entity definition like 'M.Brand' - uses dynamic values and outputs dynamic-schema.

Required Parameters

Entity Definition
string
Select entity definition.

Optional Parameters

Take
string
Specify the number of entities to retrieve (e.g. 10, maximum 100).
Skip
string
Specify the number of entities to skip in the result (e.g. 10).
Members
string
Specify the members to be retrieved.
Renditions
string
Specify the renditions to be retrieved.
Culture
string
Specify the culture to be retrieved.
Sort
string
Specify the sort query to be used.
Order
string
Specify the order to be used.
Sort Culture
string
Specify the sort culture to be retrieved.

Returns

The outputs of this operation are dynamic.

Query Entities (Advanced)

Queries entities, based on the type of entity (advanced).

Required Parameters

Select Entity Definition
string
Select entity definition.
Grammar expression
string
Grammar expression, see Stylelabs API for more info.

Optional Parameters

Take
string
Specify the number of entities to retrieve (e.g. 10, maximum 100).
Skip
string
Specify the number of entities to skip in the result (e.g. 10).
Members
string
Specify the members to be retrieved.
Renditions
string
Specify the renditions to be retrieved.
Culture
string
Specify the culture to be retrieved.
Sort
string
Specify the sort query to be used.
Order
string
Specify the order to be used.
Sort Culture
string
Specify the sort culture to be retrieved.

Returns

The outputs of this operation are dynamic.

Query Entities (Simple)

Queries entities, based on the type of entity (simple).

Required Parameters

Select Entity Definition
string
Select entity definition.

Optional Parameters

dynamicTypeSchema
dynamic
Dynamic schema of entity definition.
Take
string
Specify the number of entities to retrieve (e.g. 10, maximum 100).
Skip
string
Specify the number of entities to skip in the result (e.g. 10).
Members
string
Specify the members to be retrieved.
Renditions
string
Specify the renditions to be retrieved.
Culture
string
Specify the culture to be retrieved.
Sort
string
Specify the sort query to be used.
Order
string
Specify the order to be used.
Sort Culture
string
Specify the sort culture to be retrieved.

Returns

The outputs of this operation are dynamic.

Update Entity by Identifier

Updates an entity for a certain entity definition - uses dynamic values and outputs dynamic-schema.

Required Parameters

Select Entity Definition
string
Select entity definition.
Entity identifier
string
Unique entity Identifier.

Optional Parameters

dynamicTypeSchema
dynamic
Dynamic schema of entity definition.

Returns

Triggers

On Entity Save

Trigger that executes for every entity save.

Optional Parameters

Entity Definition
string
Select entity definition.
Trigger Name
string
Trigger Name.
Filter
string
Filter expression in json format.

Returns

Definitions

AddFetchJobResponse

id
string

GetFetchJobByIdResponse

Condition
string
FilesCompleted
integer
FilesCount
integer
State
string
StateDescription
string
id
integer

AddEntityByDefinitionResponse

id
string
identifier
string

OnEntitySaveResponse

EventType
string
IsNew
boolean
TargetDefinition
string
TargetId
number
TargetIdentifier
string
TimeStamp
string
UserId
number
Version
number