# Mapping the elements for your Route

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

## Procedure

1. Place the input Account element on the corresponding output element to map all of their children.

   ![Placement of the Account element.](https://help.qlik.com/talend/en-US/data-mapper-user-guide/Resources/images/map_elements_route_01_mapping.png)
2. Right-click the output Website element and click Remove Expressions (Mappings).
3. In the Functions tab, place a GetMapProperty function 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. Place 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.