# Campaign Details

In the Campaign Details section, there are 4 screens:

* Campaign Type
* Campaign Name
* Campaign Dates
* Campaign Details Summary

## 1.  Campaign Type

This is the first screen when the user clicks on "set-up campaign". In this screen, the user can select the campaign type, and the beneficiary will be prepopulated from the MDMS. This field is mandatory to set up a campaign.

<figure><img src="https://content.gitbook.com/content/TXGfwWeUzCL8CsU9R0tT/blobs/Fuh0CirmAmeiAYrM4ZYI/image.png" alt=""><figcaption><p>Campaign Type</p></figcaption></figure>

Here, the dropdown will show the list of campaign types in the MDMS. We will fetch the MDMS data from, for more information you can check on configurations from the link [here](https://egov-digit.gitbook.io/hcm-console/setup/configuration#id-1.-project-type-configuration)

File Path: <https://github.com/egovernments/DIGIT-Frontend/blob/campaign/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/components/CampaignType.js>

## 2. Campaign Name&#x20;

This screen comes after the campaign type. This step is crucial for saving your campaign as a draft, as the name serves as a unique identifier. After clicking on 'Next', the name will be saved and the user can check from the draft.

<figure><img src="https://content.gitbook.com/content/TXGfwWeUzCL8CsU9R0tT/blobs/evaJmMMMZgpqHZHOrFHh/image.png" alt=""><figcaption><p>Camapign Name</p></figcaption></figure>

File Path: <https://github.com/egovernments/DIGIT-Frontend/blob/campaign/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/components/CampaignName.js>

## 3. Campaign Dates

This screen asks a user to fill in the start and end dates of the campaign.&#x20;

<figure><img src="https://content.gitbook.com/content/TXGfwWeUzCL8CsU9R0tT/blobs/UH4rEpUSmePT4TcEZYwg/image.png" alt=""><figcaption><p>Campaign Dates</p></figcaption></figure>

FilePath: <https://github.com/egovernments/DIGIT-Frontend/blob/campaign/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/components/CampaignDates.js>

## 4. Summary

This screen will show the summary of the campaign details screen

<figure><img src="https://content.gitbook.com/content/TXGfwWeUzCL8CsU9R0tT/blobs/mFksCh5dwxQGkcEVHxX2/image.png" alt=""><figcaption><p>Campaign details summary</p></figcaption></figure>

#### Api Details

<table><thead><tr><th width="523">Action</th><th>Role</th></tr></thead><tbody><tr><td>project-factory/v1/project-type/create</td><td>CAMPAIGN_MANAGER</td></tr><tr><td>project-factory/v1/project-type/search</td><td>CAMPAIGN_MANAGER</td></tr><tr><td>/project-factory/v1/project-type/search</td><td>CAMPAIGN_MANAGER</td></tr><tr><td>/project-factory/v1/project-type/update</td><td>CAMPAIGN_MANAGER</td></tr></tbody></table>
