Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

Mapping to an array Target Field


James Stay

Recommended Posts

I'm trying to map fields to a targetted array field. It's a Magento 2 REST Api.

I'm using Tibco's REST Web services connector. However, I'm finding that when it comes to mapping the fields, array type target fields for Magento aren't appearing. Below is an example of a payload that would be sent to the api, but I can't replicate the addresses value due to array fields not appearing.

{

"customer": {

"email": "jdoe@example.com",

"firstname": "Jane",

"lastname": "Doe",

"addresses": [

{

"defaultShipping": true,

"defaultBilling": true,

"firstname": "Jane",

"lastname": "Doe",

"region": {

"regionCode": "NY",

"region": "New York",

"regionId": 43

},

"postcode": "10755",

"street": [

"123 Oak Ave"

],

"city": "Purchase",

"telephone": "512-555-1111",

"countryId": "US"

}

]

},

"password": "Password1"

}

Is it possible to map to the array fields

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

this is not yet possible with Connect (Scribe).

I could suggest creating a small app with Flogo.- Where you define the Array input.

Create a REST connection to the Flogo App. You can map all the appropiate fields from Connect to Flogo.

In Flogo you can leverage the Invoke http activity to make the calls into Magento

 

thanks

Nick

Link to comment
Share on other sites

×
×
  • Create New...