Dynamics 365 Business Central Read
Overview
This Snap reads the user details for a specific entity.
Supported Accounts
- This is a Read-type Snap.
Works in Ultra Tasks

Prerequisites
Limitations
None.
Known issues
- The Company field in the Business Central Read Snap is optional for a few entities, such as Subscriptions, and it is mandatory for the remaining entities. Therefore, if the field is left blank, the Snap displays the following error:

Workaround: Specify the Company name for entities where it is mandatory. - When fetching Read related entities for a specific entity with selected output fields, the Snap displays an error if you do not specify all the key fields in the Output fields section.
Error: Unexpected end-of-input: an expected close marker for an Object.

Workaround: Ensure you provide all the key fields in the Output fields. - The Business Central Read Snap does not support the following entities. The Snap
displays an error when you configure with these entities: applyVendorEntries,
attachments, contactsInformation, dimensionSetLines, pdfDocument, pictures.
Error: Failure: Error when executing the request. Reason: (Application_DialogException) You must specify a parentId in the request body. [HTTP/1.1 400 Bad Request]
Resolution: Verify the details provided.
Snap views
| Type | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input | This Snap supports a minimum of zero and a maximum of one document input view. | |
| Output | This Snap supports a minimum of one and a maximum of one document output view. Reads the user details for a specific entity. | |
| Learn more about Error handling. | ||
Examples
Snap settings
| Field/Field set | Description |
|---|---|
| Label*
|
Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline. Default value: Dynamics 365 Business Central Read Example: Business Central Read |
| Company
|
Specify the company registered with the Business Central application. Default value: N/A Example: My Company |
| Entity*
|
Specify the OData entity object from which you want to read the records. Default value: N/A Example: employees |
| Primary key | Use this field set to specify the primary key that uniquely identifies the rows. |
| Key
|
Specify or select the primary key for which you want to read the record. Note: More than one primary key can exist for an Entity. Ensure that you provide key-value pairs for the primary keys associated with a specific entity. If you do not do this, the Snap fails.
Default value: N/A Example: Id |
| Value
|
Specify the value of the key from which you want to read the record. Default value: N/A Example: 2998d72e-fac9-ed11-94cc-000d3a220b2f |
| Output fields | Use this field set to fetch the fields you want the Snap to display in the output. |
| Output field
|
Specify or select the fields that you want to display in the output. Default value: N/A Example: givenName |
| Read related entities | Use this field set to specify the related entities of the specific entity. |
| Read related entity
|
Specify or select the related entities that you want to display in the output in addition to the fields in Output fields. Default value: N/A Example: defaultDimensions |
| Error out on no results
|
Select this checkbox to display the original document along with the error message Note: If you deselect the checkbox, the Snap ignores the empty results and shows nothing in the output view. If you are using the Primary key field, this option is ignored and the Snap throws a
404 error if the record is not found.Default status: Deselected |
| Page size
|
Specify the number of records you want to fetch per page for large datasets. Default value: 100 Example: 50 |
| Start page number
|
Specify the page number from which the fetching of records should begin until the last record or until the page number specified in the Max page number field. Default value: 1 Example: 10 |
| Max page number
|
Specify the page number after which the Snap should stop reading or fetching records. Note: The value of
0 reads all the pages. If you do not provide any value in this field, the default value (0) is used.Default value: 0 Example: 10 |
| Timeout (seconds)
|
Specify the timeout to determine whether the connection is alive and also the timeout when waiting for a response through a socket. Default value: 60 Example: 100 |
| Number of retries
|
Specify the maximum number of retry attempts for failures. Note: The number of retries are disabled if the value is 0.
Default value: 0 Example: 5 |
| Retry interval (seconds)
|
Specify the amount of time in seconds between retry attempts. Default value: 1 Example: 5 |
| HTTP header | Use this field set to define custom headers in the form of HTTP key-value pairs to pass to the Business Central instance. |
| Key
|
Specify the key for the HTTP header. Default value: N/A Example: Accept |
| Value
|
Specify the value for the HTTP header. Default value: N/A Example: application/json;odata.metadata=full |
| Snap Execution
|
Choose one of the three modes in
which the Snap executes. Available options are:
Default value: Execute only Example: Validate & Execute |
Troubleshooting
| Error | Reason | Resolution |
|---|---|---|
| Number of requests exceeded the limit of 6000 over the time window of 300 seconds | Requests exceeded the limit of 6000 over the time window of 300 seconds. | Decrease the batch size and retry. Refer to Service protection API limits for more information about the error messages. |
| Too many Requests - 429 | There are too many requests sent to Business Central endpoint. | The Microsoft Business Central related Snaps include retry-after with <number of seconds> in the response header and automatically retry when they encounter a status 429 error. Wait for the retry to succeed. |