Sample JSON File
An integration pipeline is a linear sequence of specialized nodes that process and validate inbound and outbound data files, transforming the data into an existing integration framework. The user creates a new pipeline, defines a pipeline inbound or outbound interface and a message queue, then executes the pipeline. The user can also select and execute an existing pipeline and view a pipeline execution history.
The basic workflow to create an inbound integration pipeline:
Create an integration pipeline.
Create a pipeline interface.
Create a message queue.
Execute the pipeline.
View the pipeline execution history.
Prerequisites
Users must first identify the Enterprise and Organization to use. You can either create a HUB4 Enterprise and HUB4 Organization to mimic the sample data and code provided below or use your own.
{
"products"
: [{
"productName"
:
"Gym Tee"
,
"description"
:
"This short-sleeve wonder works hard to keep you comfortable during hard workouts."
,
"entName"
:
"HUB4"
,
"upc"
:
"9031101"
,
"msrp"
:
12.99
,
"cost"
:
9.40
,
"currency"
:
"USD"
,
"weight"
:
4
,
"weightUom"
:
"OZ"
}, {
"productName"
:
"Running Shoes"
,
"description"
:
"Reach your limit and then some in these Running Shoes."
,
"entName"
:
"HUB4"
,
"upc"
:
"35793237"
,
"msrp"
:
35.49
,
"cost"
:
29.80
,
"currency"
:
"USD"
,
"weight"
:
1
,
"weightUom"
:
"POUND"
}, {
"productName"
:
"Digital Watch"
,
"description"
:
"This Digital Watch will help ensure you always know what time it is."
,
"entName"
:
"HUB4"
,
"upc"
:
"33276868"
,
"msrp"
:
56.99
,
"cost"
:
45.10
,
"currency"
:
"USD"
,
"weight"
:
3
,
"weightUom"
:
"OZ"
}, {
"productName"
:
"Rainbow Umbrella"
,
"description"
:
"Keep the rain off but the style on with this rainbow-colored umbrella. It protects you from all directions equally due to its patented circular shape."
,
"entName"
:
"HUB4"
,
"upc"
:
"14578567"
,
"msrp"
:
21.99
,
"cost"
:
18.30
,
"currency"
:
"USD"
,
"weight"
:
4
,
"weightUom"
:
"POUND"
}, {
"productName"
:
"Handbag"
,
"description"
:
"This handbag is made for fans of every decade (past or present), of shapes, and of handbags."
,
"entName"
:
"HUB4"
,
"upc"
:
"69946620"
,
"msrp"
:
72.99
,
"cost"
:
61.00
,
"currency"
:
"USD"
,
"weight"
:
1
,
"weightUom"
:
"POUND"
}, {
"productName"
:
"Modern Comb"
,
"description"
:
"Keep that bed head in check with this modern-looking comb."
,
"entName"
:
"HUB4"
,
"upc"
:
"17234879"
,
"msrp"
:
6.99
,
"cost"
:
6.40
,
"currency"
:
"USD"
,
"weight"
:
1
,
"weightUom"
:
"OZ"
}, {
"productName"
:
"Retro Sunglasses"
,
"description"
:
"Reduce the glare with these shades from the past."
,
"entName"
:
"HUB4"
,
"upc"
:
"50608437"
,
"msrp"
:
34.99
,
"cost"
:
30.50
,
"currency"
:
"USD"
,
"weight"
:
2
,
"weightUom"
:
"OZ"
}]
}