Common Data Service (current environment)

Enables interaction with the Common Data Service in current environment.

This connector is available in the following products and regions:

Service Class Regions
Flow Premium All Flow regions except the following:
     -   US Government (GCC)
PowerApps Premium All PowerApps regions except the following:
     -   US Government (GCC)

Actions

Create a new record

This operation creates a new record of an entity

Delete a record

This operation deletes a record from an entity collection

Executes a changeset request

Executes a changeset request

Get a record

This operation retrieves the specified record for an entity

List records

List records for an entity

Perform a bound action

Bound actions target a single entity or a set of records for a single entity.

Perform an unbound action

Unbound actions aren’t bound to an entity type and are called as static operations.

Predict

Predict

Relate records

The relate function links two records that have a one-to-many or many-to-many relationship in the Common Data Service.

Unrelate records

The unrelate function removes the link between two records that have a one-to-many or many-to-many relationship in the Common Data Service.

Update a record

This operation updates an existing record for an entity.

Create a new record

This operation creates a new record of an entity

Parameters

Name Key Required Type Description
Entity name
entityName True string

Name of the entity

Delete a record

This operation deletes a record from an entity collection

Parameters

Name Key Required Type Description
Entity name
entityName True string

Name of the entity

Item ID
recordId True string

Identifier for the record

Executes a changeset request

Executes a changeset request

Get a record

This operation retrieves the specified record for an entity

Parameters

Name Key Required Type Description
Entity name
entityName True string

Name of the entity

Item ID
recordId True string

Identifier for the record

Select Query
$select string

Limit the properties returned while retrieving data.

Expand Query
$expand string

Related entries to include with requested entries (default = none).

List records

List records for an entity

Parameters

Name Key Required Type Description
Entity name
entityName True string

Name of the entity

Select Query
$select string

Limit the properties returned while retrieving data.

Filter Query
$filter string

An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).

Order By
$orderby string

An ODATA orderBy query for specifying the order of entries.

Expand Query
$expand string

Related entries to include with requested entries (default = none).

Fetch Xml Query
fetchXml string

Fetch Xml query

Top Count
$top integer

Total number of entries to retrieve (default = all).

Skip token
$skiptoken string

The skip token.

Returns

List of entities

Perform a bound action

Bound actions target a single entity or a set of records for a single entity.

Parameters

Name Key Required Type Description
Entity name
entityName True string

Name of the entity

Action Name
actionName True string

Name of the action

Item ID
recordId True string

Identifier for the record

Perform an unbound action

Unbound actions aren’t bound to an entity type and are called as static operations.

Parameters

Name Key Required Type Description
Action Name
actionName True string

Name of the action

Predict

Predict

Parameters

Name Key Required Type Description
Model
modelId True string

Select the AI model.

Request Payload
request True string

String serialized request payload.

Returns

Name Path Type Description
Response Payload
response string

String serialized response payload.

Relate records

The relate function links two records that have a one-to-many or many-to-many relationship in the Common Data Service.

Parameters

Name Key Required Type Description
Entity name
entityName True string

Choose the entity to relate to

Item ID
recordId True string

Enter the record to relate to

Relationship
associationEntityRelationship True string

Choose the related entity relationship

URL
@odata.id True string

Enter the full resource address

Unrelate records

The unrelate function removes the link between two records that have a one-to-many or many-to-many relationship in the Common Data Service.

Parameters

Name Key Required Type Description
Entity name
entityName True string

Choose the entity to unrelate from

Item ID
recordId True string

Enter the record to unrelate from

Relationship
associationEntityRelationship True string

Choose the unrelated entity relationship

URL
$id True string

Enter the full resource address

Update a record

This operation updates an existing record for an entity.

Parameters

Name Key Required Type Description
Entity name
entityName True string

Name of the entity

Record identifier
recordId True string

Identifier for the record

Triggers

When a record is created, updated or deleted

Triggers a flow when a record is created, updated, or deleted in Dynamics 365.

When a record is created, updated or deleted

Triggers a flow when a record is created, updated, or deleted in Dynamics 365.

Parameters

Name Key Required Type Description
Trigger condition
message True integer

Condition to fire the trigger.

The entity name
entityname True string

The entity to fire the trigger for.

Scope
scope True integer

The scope.

Filtering attributes
filteringattributes string

Comma-separated list of attributes. The trigger fires if at least one of these attributes is modified.

Returns

An Entity item

Definitions

EntityItemList

List of entities

Name Path Type Description
value
value array of EntityItem

List of Items

Next link
@odata.nextLink string

The url to fetch next page data.

EntityItem

An Entity item

Name Path Type Description
dynamicProperties
dynamicProperties object

Object

WebhookNotificationContent

An Entity item

Name Path Type Description
schema
schema Object