This operation uses Microsoft Dynamics 365 for Customer Engagement Web API. For more details on API specifications, refer to the following page.
This operation uses Azure Active Directory as authentication. For more details on Azure Active Directory configuration, refer to the following pages.
Enter “Service root URL” which is in "Settings" - "Customize" - “Developer resources” in Dynamics 365 for Customer Engagement.
URL is “https://<Host name>/api/data/<API version>” format.
For details about how to configure global resource of Authentication, refer to the following page.
You need a user with a security role which has permissions to each operation target. For more details about permissions, refer to the following page.
You need to specify following parameters in [Additional parameters] of global resource.
| [Additional parameters/Key] | [Additional parameters/Value] | Remarks |
|---|---|---|
| resource | <Scheme and host name of [Service root URL] set in [Destination]> |
|
For more details about [Resource path], refer to the following page.
Entity type (Navigation property) is displayed only when the key is specified in [Resource path] and the entity is unique.
| Example of [Resource path] | Whether or not to display Entity type (Navigation property) |
|---|---|
| accounts | Does not display. |
| accounts(00000000-0000-0000-0000-000000000001) | Displays. |
| accounts(accountid=00000000-0000-0000-0000-000000000001) | Displays. |
| accounts(00000000-0000-0000-0000-000000000001)/contact_customer_accounts | Does not display. |
For more details on query set in [Filter], refer to the following page.
Some entity sets got in [Update entity set name list] might not be able to be read.
Some fields got in [Update field definition] might not be able to be read.| Character | : | * | & | + |
|---|
If you specify a key in [Resource path], it is ignored.
Some entity sets got in [Update entity set name list] might not be able to be written.
Some fields got in [Update field definition] might not be able to be written.
When all of the following conditions are satisfied, the associated entity will not be created.
When the following operations are performed by using the alternate key, there are some characters that cannot be used as the key field.| Character | Update operation | Operation to associate entities |
|---|---|---|
| : | No | Yes |
| ? | No | No |
| ' | No | No |
| * | No | Yes |
| / | No | No |
| \ | No | No |
| & | No | Yes |
| # | Yes | No |
| % | No | No |
| + | No | Yes |
| < | No | Yes |
| > | No | Yes |
If you specify a key in [Resource path], it is ignored.
Some entity sets got in [Update entity set name list] might not be able to be deleted.| Exception name | Cause | Solution |
|---|---|---|
| HttpClientException java.lang.IllegalStateException: Target host must not be null, or set in parameters. |
[Service root URL] is invalid. |
|
| HttpClientException org.apache.http.client.ClientProtocolException: Scheme '<protocol>' not registered. |
It is not supported protocol. |
|
| HttpClientException java.net.UnknownHostException: <Host name> |
The host is not found. |
|
| EdmException Cannot find EntitySet, entitySetName=<Entity set name> |
The entity set does not exist. |
|
| EdmException Cannot find EntityType, path=<entity name>/<field name> |
The field does not exist in entity. |
|
| ODataClientErrorException (401) Unauthorized [HTTP/1.1 401 Unauthorized] |
Authentication is failed. |
|
| ODataClientErrorException <Error message> [<HTTP status>] |
Failed to process. |
|