# Campaign Draft: Detail Content

Create, update or delete the content of your campaign draft email. You can select a Text part, HTML part, MJML content, as well as additional headers.

Each POST request overwrites any content previously added - e.g. if you have submitted HTML content on the initial POST, and on the next you only submit Text content, the previously saved value of Html-part will be deleted.
 To obtain a valid draft_ID, first call GET /v3/REST/campaigndraft to list your campaign drafts.

Endpoint: POST /v3/REST/campaigndraft/{draft_ID}/detailcontent
Version: 1.0.0
Security: basicAuth

## Path parameters:

  - `draft_ID` (integer, required)
    Unique numeric ID for the campaign draft you want to manage the content for.
    Example: 4000

## Request fields (application/json):

  - `Headers` (object)
    A JSON object, where you can list all main headers. The header values override
properties such as Subject if specified.

  - `Html-part` (string)
    The HTML-formatted part of the message.

  - `MJMLContent` (string)
    The content of the message in MJML.

> Note: Any update of the MJMLContent property of the /campaigndraft/{draft_ID}/detailcontent resource will not automatically generate the Html-part version of the content. In this case, you should regenerate the Html-part with the MJML tools.

  - `Text-part` (string)
    The plain text part of the message.

## Response 201 fields (application/json):

  - `Count` (integer)
    Indicates the number of objects in the Data array.

  - `Data` (array)
    A JSON array containing a list of objects returned by this endpoint.

  - `Data.Headers` (object)
    A JSON object, where you can list all main headers. The header values override
properties such as Subject if specified.

  - `Data.Html-part` (string)
    The HTML-formatted part of the message.

  - `Data.MJMLContent` (string)
    The content of the message in MJML.

> Note: Any update of the MJMLContent property of the /campaigndraft/{draft_ID}/detailcontent resource will not automatically generate the Html-part version of the content. In this case, you should regenerate the Html-part with the MJML tools.

  - `Data.Text-part` (string)
    The plain text part of the message.

  - `Total` (integer)
    Indicates the number of objects in the Data array.


## Response 400 fields

## Response 401 fields

## Response 403 fields

## Response 404 fields

## Response 429 fields

## Response 500 fields
