# What is the easy way to create cases from existing data?

**URL:** <https://forum.dimagi.com/t/what-is-the-easy-way-to-create-cases-from-existing-data/811>\
**Category:** Developers\
**Created:** [April 11, 2012, 4:15am UTC](https://forum.dimagi.com/t/what-is-the-easy-way-to-create-cases-from-existing-data/811 "2012-04-11T04:15:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sathishkumar\_Thangav](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/s/8dc957/32.png) [@Sathishkumar\_Thangav](https://forum.dimagi.com/u/Sathishkumar_Thangav)\
**Post date:** [April 11, 2012, 4:15am UTC](https://forum.dimagi.com/t/what-is-the-easy-way-to-create-cases-from-existing-data/811/1 "2012-04-11T04:15:26Z")

</div>

Hi,

I have a requirement to migrate cases from existing data sources. I would  
like to know the easiest way to do it in the commcarehq application. There  
is an API for form submission, there is no example on how to use it with  
some sample form data. Any help is appreciated.

Thanks,  
Sathish

---

<div class="post-metadata">

**Author:** ![Sathishkumar\_Thangav](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/s/8dc957/32.png) [@Sathishkumar\_Thangav](https://forum.dimagi.com/u/Sathishkumar_Thangav)\
**Post date:** [April 11, 2012, 5:57am UTC](https://forum.dimagi.com/t/what-is-the-easy-way-to-create-cases-from-existing-data/811/2 "2012-04-11T05:57:19Z")

</div>

I figured out how to do the case submission using API. Thanks.

> **···**
>
> On Wednesday, 11 April 2012 09:45:26 UTC+5:30, sathish wrote: \> \> Hi, \> \> I have a requirement to migrate cases from existing data sources. I would \> like to know the easiest way to do it in the commcarehq application. There \> is an API for form submission, there is no example on how to use it with \> some sample form data. Any help is appreciated. \> \> Thanks, \> Sathish \>
