Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

...

The Exact Online Create Snap is a Write-type Snap that allows you to create data objects in the Exact Online instance.

...

Prerequisites

A valid OAuth 2.0 account that supports Exact Online instance, with the appropriate access permissions. See Exact Online OAuth 2.0 Account.

Support for Ultra Pipelines

...

View Type

View Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 1

  • Max: 1

  • Mapper Snap

  • Copy Snap

  • JSON Parser

Each input document contains data that must be created and written into the Exact Online instance.

Output

Document

  • Min: 0

  • Max: 1

  • Mapper Snap

  • Copy Snap

  • JSON Formatter

Each document contains the response to the creation of new records in the Exact Online instance.

Error

Document

  • Min: 1

  • Max: 1

N/A

The error view contains error, reason, resolution and stack trace. For more information, see Handling Errors with an Error Pipeline.

...

Field Name

Field Type

Description

Label*

String

Specify the name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

Default Value: N/A
Example: Create_Demo

Version*

String

Specify the version of the Exact Online API.

Default Value: v1
Example: v1

Division*

String/Expression/Suggestion

Specify the unique ID of the Exact Online Division (can be retrieved with a REST call https://start.exactonline.nl/api/v1/current/Me?).

Default Value: N/A
Example: 1234567

API object*

String/Expression/Suggestion

Choose the API that you want to access in the Exact Online instance. This dropdown list contains supported services available for the Exact Online instance.

Default Value: N/A
Example: CRM

Endpoint*

String/Expression/Suggestion

Select an Exact Online Endpoints to be specified and connected for each of the API objects.

Default Value: N/A
Example: Accounts

Connection details

Use this field set to configure the connection parameters. This field set contains the following fields:

  • Connection timeout

  • Maximum request attempts

  • Retry Interval

Connection timeout*

Integer

Enter, in seconds, the duration for which Snap must try to establish a connection with the Exact Online instance.

Info

If the connection cannot be established within this duration, the Snap times out, writes the event to the log, and waits until the specified Retry Interval before attempting to reconnect.

Default Value: 300
Example: 120

Maximum request attempts*

Integer

Specify an integer value to set the maximum number of reconnection attempts that the Snap must perform, in case of connection failure or timeout.

Default Value: 3
Example: 5

Retry Interval*

Integer

Enter (in seconds), the duration for which the Snap must wait between two reconnection attempts until the number of retries is reached.

Default Value: 1
Example: 10

Snap Execution

Dropdown list

Indicates how the Snap must be executed. Available options are:

  • Validate & Execute: Performs limited execution of the Snap (up to 50 records) during Pipeline validation; performs full execution of the Snap (unlimited records) during Pipeline execution.

  • Execute only: Performs full execution of the Snap during Pipeline execution; does not execute the Snap during Pipeline validation. ·      

  • Disabled: Disables the Snap and, by extension, its downstream Snaps.

Default Value: Execute only
Example: Validate & Execute

...

This Pipeline example demonstrates how to create a new Account in the Exact Online instance CRM Service. This example assumes you have a valid Exact Online Account. See Configuring Exact Online AccountsAccount.

...

We configure the Exact Online Create Snap with the following settings to add customer material data from the Exact Online instance CRM Service it accesses.

...

Next, we connect the File Writer Snap to the JSON Formatter Snap to write the JSON data into a file.

...

To view the output JSON file, you must SSH to the target directory and open the newly-created JSON file. The preview of the output JSON file can be seen as shown below.

...

Download this Pipeline.

Downloads

...