# how to collect configuration data in end to end manner

**URL:** <https://community.dynatrace.com/t/how-to-collect-configuration-data-in-end-to-end-manner/41981>\
**Category:** Upgrade To Saas\
**Tags:** dynatrace-saas, upgrade-to-saas, dynatrace-api\
**Created:** [October 9, 2023, 11:22am UTC](https://community.dynatrace.com/t/how-to-collect-configuration-data-in-end-to-end-manner/41981 "2023-10-09T11:22:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![k\_narayana](https://avatars.discourse-cdn.com/v4/letter/k/54ee81/32.png) [@k\_narayana](https://community.dynatrace.com/u/k_narayana)\
**Post date:** [October 9, 2023, 11:22am UTC](https://community.dynatrace.com/t/how-to-collect-configuration-data-in-end-to-end-manner/41981/1 "2023-10-09T11:22:19Z")

</div>

Hi team,  
Actually we are migrating servers on prem to aws.I need existing setup configuration details in json format. In this scenario is there any way to get the data end to end information.

for example: for dashboards using api we are getting owner name,dashboard name,id. but not getting the management zone wise.

can you please help me

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [October 9, 2023, 11:37am UTC](https://community.dynatrace.com/t/how-to-collect-configuration-data-in-end-to-end-manner/41981/2 "2023-10-09T11:37:26Z")

</div>

Hi&nbsp;[@k\_narayana](https://community.dynatrace.com/user/67559)

Have you looked up how to perform the migration in the documentation?

> **[Upgrade from Managed to SaaS deployment](https://docs.dynatrace.com/managed/upgrade)**
>
> Start your upgrade from Dynatrace Managed deployment to Dynatrace SaaS deployment.

You have there a step-by-step description of what to do:)

Radek

---

<div class="post-metadata">

**Author:** ![victor\_balbuena](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/victor_balbuena/32/9773_2.png) [@victor\_balbuena](https://community.dynatrace.com/u/victor_balbuena)\
**Post date:** [October 9, 2023, 12:06pm UTC](https://community.dynatrace.com/t/how-to-collect-configuration-data-in-end-to-end-manner/41981/3 "2023-10-09T12:06:31Z")

</div>

Hi&nbsp;[@k\_narayana](https://community.dynatrace.com/user/67559)&nbsp;,

The documentation shared by&nbsp;[@radek\_jasinski](https://community.dynatrace.com/user/16832)&nbsp;is very good and detailed, so definitely have a read at that.

To add some more information on the migration of configurations, you can use the&nbsp;[Settings API](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings)&nbsp;which will give you JSON structures for the different configurations of your environment, depending on the&nbsp; **schema** you use. For example, for management zones it would be&nbsp; **builtin:management-zones**. You can see all the schema, list all the objects and get the JSON for every object individually with the different endpoints described in the link above.

Example workflow:

- Get all schemas via API&nbsp;https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas ([List schemas](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings/schemas/get-all))
- For each schema listed above, get all objects for that schema with https://{your-domain}/e/{your-environment-id}/api/v2/settings/objects&nbsp;([List objects](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings/objects/get-objects))
- For each object, get the full details of the object with&nbsp;https://{your-domain}/e/{your-environment-id}/api/v2/settings/objects/{objectId} ([View an object](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings/objects/get-object))
- Save the response and push it to your new environment with https://{your-domain}/e/{your-environment-id}/api/v2/settings/objects&nbsp;([Create an object](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings/objects/post-object))
