Partilhar via


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
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Connector Metadata
Publisher Stylelabs

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
Stylelabs host string The FQDN for the Stylelabs host. True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Add Entity

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

Add Fetch Job

Adds a FetchJob.

Delete Entity By Identifier

Deletes an entity via identifier.

Get Entity By Identifier

Retrieves a certain entity by its identifier and definition.

Get FetchJob Status

Gets the status of a FetchJob.

List Entities

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

Query Entities (Advanced)

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

Query Entities (Simple)

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

Update Entity by Identifier

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

Add Entity

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

Parameters

Name Key Required Type Description
Select Entity Definition
type-dynamic True string

Select entity definition.

dynamicTypeSchema
dynamicTypeSchema dynamic

Dynamic schema of entity definition.

Returns

Add Fetch Job

Adds a FetchJob.

Parameters

Name Key Required Type Description
assetId
assetId True integer
uri
uri True string

Returns

Delete Entity By Identifier

Deletes an entity via identifier.

Parameters

Name Key Required Type Description
Entity Identifier
identifier True string

The unique identifier of the entity.

Get Entity By Identifier

Retrieves a certain entity by its identifier and definition.

Parameters

Name Key Required Type Description
Select Entity Definition
type-dynamic True string

Select entity definition.

Entity identifier
identifier True string

Unique entity identifier.

Returns

The outputs of this operation are dynamic.

Get FetchJob Status

Gets the status of a FetchJob.

Parameters

Name Key Required Type Description
Fetch Job Id
id True 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.

Parameters

Name Key Required Type Description
Entity Definition
type-dynamic True string

Select entity definition.

Take
take string

Specify the number of entities to retrieve (e.g. 10, maximum 100).

Skip
skip string

Specify the number of entities to skip in the result (e.g. 10).

Members
members string

Specify the members to be retrieved.

Renditions
renditions string

Specify the renditions to be retrieved.

Culture
culture string

Specify the culture to be retrieved.

Sort
sort string

Specify the sort query to be used.

Order
order string

Specify the order to be used.

Sort Culture
sortCulture 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).

Parameters

Name Key Required Type Description
Select Entity Definition
type-dynamic True string

Select entity definition.

Grammar expression
query True string

Grammar expression, see Stylelabs API for more info.

Take
take string

Specify the number of entities to retrieve (e.g. 10, maximum 100).

Skip
skip string

Specify the number of entities to skip in the result (e.g. 10).

Members
members string

Specify the members to be retrieved.

Renditions
renditions string

Specify the renditions to be retrieved.

Culture
culture string

Specify the culture to be retrieved.

Sort
sort string

Specify the sort query to be used.

Order
order string

Specify the order to be used.

Sort Culture
sortCulture 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).

Parameters

Name Key Required Type Description
Select Entity Definition
type-dynamic True string

Select entity definition.

dynamicTypeSchema
dynamicTypeSchema dynamic

Dynamic schema of entity definition.

Take
take string

Specify the number of entities to retrieve (e.g. 10, maximum 100).

Skip
skip string

Specify the number of entities to skip in the result (e.g. 10).

Members
members string

Specify the members to be retrieved.

Renditions
renditions string

Specify the renditions to be retrieved.

Culture
culture string

Specify the culture to be retrieved.

Sort
sort string

Specify the sort query to be used.

Order
order string

Specify the order to be used.

Sort Culture
sortCulture 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.

Parameters

Name Key Required Type Description
Select Entity Definition
type-dynamic True string

Select entity definition.

Entity identifier
identifier True string

Unique entity Identifier.

dynamicTypeSchema
dynamicTypeSchema dynamic

Dynamic schema of entity definition.

Triggers

On Entity Save

Trigger that executes for every entity save.

On Entity Save

Trigger that executes for every entity save.

Parameters

Name Key Required Type Description
Entity Definition
entitydefinition string

Select entity definition.

Trigger Name
triggername string

Trigger Name.

Filter
filter string

Filter expression in json format.

Returns

Definitions

AddFetchJobResponse

Name Path Type Description
id
id string

GetFetchJobByIdResponse

Name Path Type Description
id
id integer
FilesCount
FilesCount integer
FilesCompleted
FilesCompleted integer
State
State string
StateDescription
StateDescription string
Condition
Condition string

AddEntityByDefinitionResponse

Name Path Type Description
id
id string
identifier
identifier string

OnEntitySaveResponse

Name Path Type Description
EventType
saveEntityMessage.EventType string
IsNew
saveEntityMessage.IsNew boolean
TargetDefinition
saveEntityMessage.TargetDefinition string
TargetId
saveEntityMessage.TargetId number
TargetIdentifier
saveEntityMessage.TargetIdentifier string
TimeStamp
saveEntityMessage.TimeStamp string
UserId
saveEntityMessage.UserId number
Version
saveEntityMessage.Version number