Skip to main content Skip to complementary content

Mapping the elements for your Route

Create a mapping and use the headers defined in your Route in the output structure.

Procedure

  1. Drag and drop the input Account element on the corresponding output element to map all of their children.
  2. Right-click the output Website element and click Remove Expressions (Mappings).
  3. In the Functions tab, drag a GetMapProperty function and drop it on the output Website element.
  4. In the Value tab, double-click GetMapProperty and enter Account_Website in the Property Name field.
    This function allows you to get the value from the Account_Website header defined in your Route.
  5. Click OK.
  6. Right-click the output Phone element and click Remove Expressions (Mappings).
  7. Drag and drop a GetMapProperty function on the output Phone element, set the property name to Account_Phone and click OK.
  8. Save your map and go back to your Route.
  9. Go to the Run tab and click Run.

Results

Your Route runs and should return the following JSON output:
{
	"Account": {
		"ID": "1",
		"Company_Name": "XYZ INC.",
		"Industry": "Sales",
		"Website": "www.company.com",
		"Address1": "3320 TATES CREEK RD",
		"Address2": "SUITE 204",
		"City": "LEXINGTON",
		"State": "K",
		"Postal_Code": "40502",
		"Country_ISO3": "USA",
		"Phone": "(555)555-5555"
	}
}
You can now click Kill in the Run tab to stop the Route.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!