The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

Recommended Posts

Posted

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

  • 2 weeks later...
Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...