---
title: "Object definitions"
description: "Object definitions"
canonical: "https://docs.cm.com/mobile-marketing-cloud/mmc-campaigns/object-definitions"
---

# Object definitions

> Object definitions

Source: https://docs.cm.com/mobile-marketing-cloud/mmc-campaigns/object-definitions

Object definitions

### CM.Platform.Campaigns.Models.ApiChannelInfo

| Name | Description | Schema |
| - | - | - |
| **disabled**  <br />_optional_ | **Example** : `true` | boolean |
| **name**  <br />_optional_ | **Example** : `"string"` | string |
| **options**  <br />_optional_ | **Example** : `"[cm-platform-messages-models-apichanneloptions](#cm-platform-messages-models-apichanneloptions)"` | [CM.Platform.Campaigns.Models.ApiChannelOptions](#cm-platform-messages-models-apichanneloptions) |
| **type**  <br />_optional_ | **Example** : `"string"` | string |

### CM.Platform.Campaigns.Models.ApiChannelOptions

| Name | Description | Schema |
| - | - | - |
| **allowImages**  <br />_optional_ | **Example** : `true` | boolean |
| **allowTemplates**  <br />_optional_ | **Example** : `true` | boolean |
| **appKey**  <br />_optional_ | **Example** : `"00000000-0000-0000-0000-000000000000"` | string (uuid) |
| **requestId**  <br />_optional_ | **Example** : `"00000000-0000-0000-0000-000000000000"` | string (uuid) |

### CM.Platform.Campaigns.Models.ApiCountryCost

Container for the message cost per country

| Name | Description | Schema |
| - | - | - |
| **cost**  <br />_optional_ | Gets or sets the cost of the messages for country.  <br />**Example** : `0.0` | number (double) |
| **countryCode**  <br />_optional_ | Gets or sets the country code.  <br />**Example** : `"string"` | string |
| **isMultipart**  <br />_optional_ | Gets or sets if there are Multipart messages  <br />**Example** : `true` | boolean |
| **messageCount**  <br />_optional_ | Gets or sets the count of the messages for country.  <br />**Example** : `0` | integer (int32) |
| **recipientCount**  <br />_optional_ | Gets or sets the count of the recipient for country.  <br />**Example** : `0` | integer (int32) |

### CM.Platform.Campaigns.Models.ApiCountryErrorStats

| Name | Description | Schema |
| - | - | - |
| **count**  <br />_optional_ | Gets or sets the count.  <br />**Example** : `0` | integer (int32) |
| **country**  <br />_optional_ | Gets or sets the country.  <br />**Example** : `"string"` | string |
| **errorCode**  <br />_optional_ | Gets or sets the errorCode.  <br />**Example** : `0` | integer (int32) |

### CM.Platform.Campaigns.Models.ApiCountryStats

| Name | Description | Schema |
| - | - | - |
| **accepted**  <br />_optional_ | Gets or sets the accepted.  <br />**Example** : `0` | integer (int32) |
| **converted**  <br />_optional_ | Gets or sets the converted.  <br />**Example** : `0` | integer (int32) |
| **country**  <br />_optional_ | Gets or sets the country.  <br />**Example** : `"string"` | string |
| **delivered**  <br />_optional_ | Gets or sets the delivered.  <br />**Example** : `0` | integer (int32) |
| **deliveryTime**  <br />_optional_ | Gets or sets the deliveryTime.  <br />**Example** : `0.0` | number (double) |
| **dispatched**  <br />_optional_ | Gets or sets the dispatched.  <br />**Example** : `0` | integer (int32) |
| **failed**  <br />_optional_ | Gets or sets the failed.  <br />**Example** : `0` | integer (int32) |
| **messages**  <br />_optional_ | Gets or sets the messages.  <br />**Example** : `0` | integer (int32) |
| **optOutReceived**  <br />_optional_ | Gets or sets the optOutReceived.  <br />**Example** : `0` | integer (int32) |
| **optedOut**  <br />_optional_ | Gets or sets the optedOut.  <br />**Example** : `0` | integer (int32) |
| **recipients**  <br />_optional_ | Gets or sets the recipients.  <br />**Example** : `0` | integer (int32) |

### CM.Platform.Campaigns.Models.ApiCampaignAnalytics

The message analytics model.

| Name | Description | Schema |
| - | - | - |
| **accepted**  <br />_optional_ | Gets or sets the accepted.  <br />**Example** : `0` | integer (int32) |
| **converted**  <br />_optional_ | Gets or sets the converted.  <br />**Example** : `0` | integer (int32) |
| **countryErrorStats**  <br />_optional_ | Gets or sets the countryErrorStats.  <br />**Example** : `[ "[cm-platform-messages-models-apicountryerrorstats](#cm-platform-messages-models-apicountryerrorstats)" ]` | \< [CM.Platform.Campaigns.Models.ApiCountryErrorStats](#cm-platform-messages-models-apicountryerrorstats) > array |
| **countryStats**  <br />_optional_ | Gets or sets the countryStats.  <br />**Example** : `[ "[cm-platform-messages-models-apicountrystats](#cm-platform-messages-models-apicountrystats)" ]` | \< [CM.Platform.Campaigns.Models.ApiCountryStats](#cm-platform-messages-models-apicountrystats) > array |
| **deduplicated**  <br />_optional_ | Gets or sets the deduplicated.  <br />**Example** : `0` | integer (int32) |
| **delivered**  <br />_optional_ | Gets or sets the delivered.  <br />**Example** : `0` | integer (int32) |
| **deliveryTime**  <br />_optional_ | Gets or sets the deliveryTime.  <br />**Example** : `0.0` | number (double) |
| **dispatched**  <br />_optional_ | Gets or sets the dispatched.  <br />**Example** : `0` | integer (int32) |
| **euroPrice**  <br />_optional_ | Gets or sets the euroPrice.  <br />**Example** : `0.0` | number (double) |
| **failed**  <br />_optional_ | Gets or sets the failed.  <br />**Example** : `0` | integer (int32) |
| **localCurrency**  <br />_optional_ | Gets or sets the localCurrency.  <br />**Example** : `"string"` | string |
| **localPrice**  <br />_optional_ | Gets or sets the localPrice.  <br />**Example** : `0.0` | number (double) |
| **messages**  <br />_optional_ | Gets or sets the messages.  <br />**Example** : `0` | integer (int32) |
| **optOutReceived**  <br />_optional_ | Gets or sets the optOutReceived.  <br />**Example** : `0` | integer (int32) |
| **optedOut**  <br />_optional_ | Gets or sets the optedOut.  <br />**Example** : `0` | integer (int32) |
| **recipients**  <br />_optional_ | Gets or sets the recipients.  <br />**Example** : `0` | integer (int32) |
| **test**  <br />_optional_ | Gets or sets test message count.  <br />**Example** : `0` | integer (int32) |
| **updatedAtUtc**  <br />_optional_ | Gets or sets updated timestamp.  <br />**Example** : `"string"` | string (date-time) |

### CM.Platform.Campaigns.Models.ApiCampaignChannel

| Name | Description | Schema |
| - | - | - |
| **allowImages**  <br />_optional_ | **Example** : `true` | boolean |
| **id**  <br />_optional_ | **Example** : `"string"` | string |
| **name**  <br />_optional_ | **Example** : `"string"` | string |
| **type**  <br />_optional_ | **Example** : `"string"` | string |
| **whatsAppRequestId**  <br />_optional_ | **Example** : `"00000000-0000-0000-0000-000000000000"` | string (uuid) |

### CM.Platform.Campaigns.Models.ApiCampaignCost

Container for the Campaign cost.

| Name | Description | Schema |
| - | - | - |
| **charsLeft**  <br />_optional_ | Gets or sets the min chars left for 1 more part  <br />**Example** : `0` | integer (int32) |
| **charsToRemove**  <br />_optional_ | Gets or sets the min chars to remove for 1 less part  <br />**Example** : `0` | integer (int32) |
| **countryCosts**  <br />_optional_ | Gets or sets the count and cost of the messages per country.  <br />**Example** : `[ "[cm-platform-messages-models-apicountrycost](#cm-platform-messages-models-apicountrycost)" ]` | \< [CM.Platform.Campaigns.Models.ApiCountryCost](#cm-platform-messages-models-apicountrycost) > array |
| **currency**  <br />_optional_ | Gets or sets the currency.  <br />**Example** : `"string"` | string |
| **isMultipart**  <br />_optional_ | Gets or sets if there are Multipart messages  <br />**Example** : `true` | boolean |
| **messageCount**  <br />_optional_ | Gets or sets the count of the messages  <br />**Example** : `0` | integer (int32) |
| **minDeliveryTime**  <br />_optional_ | Gets or sets the min delivery time in minutes  <br />**Example** : `0` | integer (int32) |
| **recipientCount**  <br />_optional_ | Gets or sets the count of the recipients  <br />**Example** : `0` | integer (int32) |
| **totalCost**  <br />_optional_ | Gets or sets the total cost of the message.  <br />**Example** : `0.0` | number (double) |

### CM.Platform.Campaigns.Models.ApiCampaignCount

Container for the Campaign count.

| Name | Description | Schema |
| - | - | - |
| **archived**  <br />_optional_ | Number of archived messages  <br />**Example** : `0` | integer (int32) |
| **draft**  <br />_optional_ | Number of draft messages  <br />**Example** : `0` | integer (int32) |
| **scheduled**  <br />_optional_ | Number of draft scheduled messages  <br />**Example** : `0` | integer (int32) |
| **sent**  <br />_optional_ | Number of sent messages  <br />**Example** : `0` | integer (int32) |
| **template**  <br />_optional_ | Number of message template  <br />**Example** : `0` | integer (int32) |

### CM.Platform.Campaigns.Models.ApiCampaignPreview

Container for the Campaign cost.

| Name | Description | Schema |
| - | - | - |
| **languages**  <br />_optional_ | Gets or sets the preview languages.  <br />**Example** : `[ "string" ]` | \< string > array |
| **previewCode**  <br />_optional_ | Gets or sets the country or the language the current previews are based on.  <br />**Example** : `"string"` | string |
| **previews**  <br />_optional_ | Gets or sets the count and cost of the messages per country.  <br />**Example** : `[ "string" ]` | \< string > array |
| **recipientsPerCountry**  <br />_optional_ | Gets or sets the currency.  <br />**Example** : `[ "[cm-platform-messages-models-apirecipientspercountry](#cm-platform-messages-models-apirecipientspercountry)" ]` | \< [CM.Platform.Campaigns.Models.ApiRecipientsPerCountry](#cm-platform-messages-models-apirecipientspercountry) > array |
| **sender**  <br />_optional_ | Gets or sets the sender the current previews are based on.  <br />**Example** : `"string"` | string |

### CM.Platform.Campaigns.Models.ApiCampaignRequest

Data model for message requests

| Name | Description | Schema |
| - | - | - |
| **body**  <br />_optional_ | Gets or sets the body.  <br />**Example** : `"string"` | string |
| **channels**  <br />_optional_ | Gets or sets the channels.  <br />**Example** : `[ "string" ]` | \< string > array |
| **content**  <br />_optional_ | Gets or sets the recurring interval.  <br />**Example** : `[ "[cm-platform-messages-models-conversation](#cm-platform-messages-models-conversation)" ]` | \< [CM.Platform.Campaigns.Models.Conversation](#cm-platform-messages-models-conversation) > array |
| **countrySpecificSenders**  <br />_optional_ | Gets or sets the senders.  <br />**Example** : `{<br>  "string" : "string"<br>}` | \< string, string > map |
| **grouping**  <br />_optional_ | Gets or sets the grouping.  <br />**Example** : `"string"` | string |
| **ignoreUnsubscribes**  <br />_optional_ | Gets or sets the ignore unsubscribes setting.  <br />**Example** : `true` | boolean |
| **isArchived**  <br />_optional_ | Indicates if message is archived.  <br />**Example** : `true` | boolean |
| **name**  <br />_optional_ | Gets or sets the name.  <br />**Example** : `"string"` | string |
| **recipients**  <br />_optional_ | Gets or sets the recipients.  <br />**Example** : `[ "[cm-platform-messages-models-apirecipient](#cm-platform-messages-models-apirecipient)" ]` | \< [CM.Platform.Campaigns.Models.ApiRecipient](#cm-platform-messages-models-apirecipient) > array |
| **recurrence**  <br />_optional_ | Gets or sets the recurring interval.  <br />**Example** : `"string"` | string |
| **scheduledAtUtc**  <br />_optional_ | Gets or sets the process at utc.  <br />**Example** : `"string"` | string (date-time) |
| **senderPreset**  <br />_optional_ | Gets or sets the sender preset id.  <br />**Example** : `"00000000-0000-0000-0000-000000000000"` | string (uuid) |
| **senders**  <br />_optional_ | Gets or sets the sender.  <br />**Example** : `[ "string" ]` | \< string > array |
| **spread**  <br />_optional_ | Gets or sets the spread settings.  <br />**Example** : `"[cm-platform-messages-models-apispreadsettings](#cm-platform-messages-models-apispreadsettings)"` | [CM.Platform.Campaigns.Models.ApiSpreadSettings](#cm-platform-messages-models-apispreadsettings) |
| **status**  <br />_optional_ | Gets or sets the status.  <br />**Example** : `"string"` | string |
| **updatedAtUtc**  <br />_optional_ | Gets or sets the updated at utc.  <br />**Example** : `"string"` | string |
| **options** <br />_optional_ | Gets or sets the options for this campaign. <br />_Example_:`[cm-platform-messages-models-apimessageoptions](#cm-platform-messages-models-apimessageoptions)` | \<[CM.Platform.Campaigns.Models.ApiMessageOptions](#cm-platform-messages-models-apimessageoptions)> object |

### CM.Platform.Campaigns.Models.ApiCampaignResponse

Data model for message response

| Name | Description | Schema |
| - | - | - |
| **analytics**  <br />_optional_ | Gets or sets the message analytics.  <br />**Example** : `"[cm-platform-messages-models-apimessageanalytics](#cm-platform-messages-models-apimessageanalytics)"` | [CM.Platform.Campaigns.Models.ApiCampaignAnalytics](#cm-platform-messages-models-apimessageanalytics) |
| **body**  <br />_optional_ | Gets or sets the body.  <br />**Example** : `"string"` | string |
| **channels**  <br />_optional_ | Gets or sets the channels.  <br />**Example** : `[ "string" ]` | \< string > array |
| **content**  <br />_optional_ | Gets or sets the recurring interval.  <br />**Example** : `[ "[cm-platform-messages-models-conversation](#cm-platform-messages-models-conversation)" ]` | \< [CM.Platform.Campaigns.Models.Conversation](#cm-platform-messages-models-conversation) > array |
| **countrySpecificSenders**  <br />_optional_ | Gets or sets the senders.  <br />**Example** : `{<br>  "string" : "string"<br>}` | \< string, string > map |
| **createdAtUtc**  <br />_optional_ | Gets or sets the created at utc.  <br />**Example** : `"string"` | string (date-time) |
| **createdBy**  <br />_optional_ | Gets or sets the created by.  <br />**Example** : `"00000000-0000-0000-0000-000000000000"` | string (uuid) |
| **grouping**  <br />_optional_ | Gets or sets the grouping.  <br />**Example** : `"string"` | string |
| **id**  <br />_optional_ | Gets the id.  <br />**Example** : `"00000000-0000-0000-0000-000000000000"` | string (uuid) |
| **ignoreUnsubscribes**  <br />_optional_ | Gets or sets the ignore unsubscribes setting.  <br />**Example** : `true` | boolean |
| **isArchived**  <br />_optional_ | Indicates if message is archived.  <br />**Example** : `true` | boolean |
| **isStatsComplete**  <br />_optional_ | Indicates if statistics are complete.  <br />**Example** : `true` | boolean |
| **name**  <br />_optional_ | Gets or sets the name.  <br />**Example** : `"string"` | string |
| **preview**  <br />_optional_ | Gets the preview.  <br />**Example** : `"[cm-platform-messages-models-apimessagepreview](#cm-platform-messages-models-apimessagepreview)"` | [CM.Platform.Campaigns.Models.ApiCampaignPreview](#cm-platform-messages-models-apimessagepreview) |
| **recipients**  <br />_optional_ | Gets or sets the recipients.  <br />**Example** : `[ "[cm-platform-messages-models-apirecipient](#cm-platform-messages-models-apirecipient)" ]` | \< [CM.Platform.Campaigns.Models.ApiRecipient](#cm-platform-messages-models-apirecipient) > array |
| **recurrence**  <br />_optional_ | Gets or sets the recurring interval.  <br />**Example** : `"string"` | string |
| **scheduledAtUtc**  <br />_optional_ | Gets or sets the process at utc.  <br />**Example** : `"string"` | string (date-time) |
| **senderPreset**  <br />_optional_ | Gets or sets the sender preset id.  <br />**Example** : `"00000000-0000-0000-0000-000000000000"` | string (uuid) |
| **senders**  <br />_optional_ | Gets or sets the sender.  <br />**Example** : `[ "string" ]` | \< string > array |
| **spread**  <br />_optional_ | Gets or sets the spread settings.  <br />**Example** : `"[cm-platform-messages-models-apispreadsettings](#cm-platform-messages-models-apispreadsettings)"` | [CM.Platform.Campaigns.Models.ApiSpreadSettings](#cm-platform-messages-models-apispreadsettings) |
| **status**  <br />_optional_ | Gets or sets the status.  <br />**Example** : `"string"` | string |
| **updatedAtUtc**  <br />_optional_ | Gets or sets the updated at utc.  <br />**Example** : `"string"` | string |
| **options** <br />_optional_ | Gets or sets the options for this campaign. <br />_Example_:`[cm-platform-messages-models-apimessageoptions](#cm-platform-messages-models-apimessageoptions)` | \<[CM.Platform.Campaigns.Models.ApiMessagesOptions](#cm-platform-messages-models-apimessageoptions)> object |

### CM.Platform.Campaigns.Models.ApiRecipient

Basic model for message recipients

| Name | Description | Schema |
| - | - | - |
| **contact**  <br />_optional_ | Gets or sets the contactId.  <br />**Example** : `"00000000-0000-0000-0000-000000000000"` | string (uuid) |
| **data**  <br />_optional_ | Gets or sets the json data for recipient.  <br />**Example** : `{<br>  "string" : "string"<br>}` | \< string, string > map |
| **group**  <br />_optional_ | Gets or sets the groupId.  <br />**Example** : `"00000000-0000-0000-0000-000000000000"` | string (uuid) |
| **msisdn**  <br />_optional_ | Gets or sets the msisdn.  <br />**Example** : `"string"` | string |

### CM.Platform.Campaigns.Models.ApiRecipientsPerCountry

Container for the message cost per country

| Name | Description | Schema |
| - | - | - |
| **count**  <br />_optional_ | Gets or sets the cost of the messages for country.  <br />**Example** : `0` | integer (int32) |
| **countryCode**  <br />_optional_ | Gets or sets the country code.  <br />**Example** : `"string"` | string |

### CM.Platform.Campaigns.Models.ApiSenderPresetRequest

Data model for Senders Preset Requests

| Name | Description | Schema |
| - | - | - |
| **isFavorite**  <br />_optional_ | Gets or sets the isFavorite.  <br />**Example** : `true` | boolean |
| **name**  <br />_optional_ | Gets or sets the name.  <br />**Example** : `"string"` | string |
| **senders**  <br />_optional_ | Gets or sets the senders.  <br />**Example** : `{<br>  "string" : "string"<br>}` | \< string, string > map |

### CM.Platform.Campaigns.Models.ApiSenderPresetResponse

Data model for Senders Preset Responses

| Name | Description | Schema |
| - | - | - |
| **id**  <br />_optional_ | Gets or sets the id.  <br />**Example** : `"00000000-0000-0000-0000-000000000000"` | string (uuid) |
| **isFavorite**  <br />_optional_ | Gets or sets the isFavorite.  <br />**Example** : `true` | boolean |
| **name**  <br />_optional_ | Gets or sets the name.  <br />**Example** : `"string"` | string |
| **senders**  <br />_optional_ | Gets or sets the senders.  <br />**Example** : `{<br>  "string" : "string"<br>}` | \< string, string > map |

### CM.Platform.Campaigns.Models.ApiSpreadSettings

Model for Spread settings

| Name | Description | Schema |
| - | - | - |
| **durationMinutes**  <br />_optional_ | Gets or sets the spread duration in minutes.  <br />**Example** : `0` | integer (int32) |
| **timeFrames**  <br />_optional_ | Gets or sets the spread amount.  <br />**Example** : `[ "[cm-platform-messages-models-apitimeframe](#cm-platform-messages-models-apitimeframe)" ]` | \< [CM.Platform.Campaigns.Models.ApiTimeFrame](#cm-platform-messages-models-apitimeframe) > array |
| **until**  <br />_optional_ | Gets or sets the time messages will be spread until.  <br />**Example** : `"string"` | string (date-time) |

### CM.Platform.Campaigns.Models.ApiStatusReport

Model for Status Reports

| Name | Description | Schema |
| - | - | - |
| **Account**  <br />_optional_ | **Example** : `0` | integer (int32) |
| **AdditionalInfo**  <br />_optional_ | **Example** : `"string"` | string |
| **Converted**  <br />_optional_ | **Example** : `"string"` | string (date-time) |
| **CustomGrouping**  <br />_optional_ | **Example** : `"string"` | string |
| **CustomGrouping2**  <br />_optional_ | **Example** : `"string"` | string |
| **CustomGrouping3**  <br />_optional_ | **Example** : `"string"` | string |
| **Customer**  <br />_optional_ | **Example** : `0` | integer (int32) |
| **Description**  <br />_optional_ | **Example** : `"string"` | string |
| **ExternalReference**  <br />_optional_ | **Example** : `"string"` | string |
| **LastRetry**  <br />_optional_ | **Example** : `"string"` | string (date-time) |
| **LastUpdated**  <br />_optional_ | **Example** : `"string"` | string (date-time) |
| **OptedOut**  <br />_optional_ | **Example** : `"string"` | string (date-time) |
| **Parts**  <br />_optional_ | **Example** : `0` | integer (int32) |
| **Priority**  <br />_optional_ | **Example** : `0` | integer (int32) |
| **ReadByRecipient**  <br />_optional_ | **Example** : `"string"` | string (date-time) |
| **Recipient**  <br />_optional_ | **Example** : `"string"` | string |
| **Reference**  <br />_optional_ | **Example** : `0` | integer (int32) |
| **RetryCost**  <br />_optional_ | **Example** : `0.0` | number (double) |
| **SentToOperator**  <br />_optional_ | **Example** : `"string"` | string (date-time) |
| **StandardError**  <br />_optional_ | **Example** : `0` | integer (int32) |
| **Status**  <br />_optional_ | **Example** : `"string"` | enum (Accepted, Rejected, Delivered, Failed, Overdue, AcceptedByGateWay, RejectedByGateWay) |
| **Ticket**  <br />_optional_ | **Example** : `"string"` | string |

### CM.Platform.Campaigns.Models.ApiTestCampaignRequest

Data model for test message

| Name | Description | Schema |
| - | - | - |
| **message**  <br />_optional_ | Gets or sets the message object  <br />**Example** : `"[cm-platform-messages-models-apimessagerequest](#cm-platform-messages-models-apimessagerequest)"` | [CM.Platform.Campaigns.Models.ApiCampaignRequest](#cm-platform-messages-models-apimessagerequest) |
| **testRecipients**  <br />_optional_ | Gets or sets the test recipients.  <br />**Example** : `[ "[cm-platform-messages-models-apirecipient](#cm-platform-messages-models-apirecipient)" ]` | \< [CM.Platform.Campaigns.Models.ApiRecipient](#cm-platform-messages-models-apirecipient) > array |

### CM.Platform.Campaigns.Models.ApiTimeFrame

Model for Spread TimeFrame setting

| Name | Description | Schema |
| - | - | - |
| **days**  <br />_optional_ | Gets or sets the allowed days.  <br />**Example** : `[ "string" ]` | \< string > array |
| **endTime**  <br />_optional_ | Gets or sets the time send window ends.  <br />**Example** : `"string"` | string |
| **startTime**  <br />_optional_ | Gets or sets the time send window starts.  <br />**Example** : `"string"` | string |

### CM.Platform.Campaigns.Models.Conversation

Container for conversation

| Name | Description | Schema |
| - | - | - |
| **media**  <br />_optional_ | Gets or sets the media.  <br />**Example** : `"[cm-platform-messages-models-media](#cm-platform-messages-models-media)"` | [CM.Platform.Campaigns.Models.Media](#cm-platform-messages-models-media) |
| **text**  <br />_optional_ | Gets or sets the text.  <br />**Example** : `"string"` | string |
| **whatsAppTemplate**  <br />_optional_ | Gets or sets the template.  <br />**Example** : `"[cm-platform-messages-models-whatsapptemplate](#cm-platform-messages-models-whatsapptemplate)"` | [CM.Platform.Campaigns.Models.WhatsAppTemplate](#cm-platform-messages-models-whatsapptemplate) |

### CM.Platform.Campaigns.Models.Media

Data model for media object

| Name | Description | Schema |
| - | - | - |
| **mediaName**  <br />_optional_ | **Example** : `"string"` | string |
| **mediaUri**  <br />_optional_ | **Example** : `"string"` | string |
| **mimeType**  <br />_optional_ | **Example** : `"string"` | string |

### CM.Platform.Campaigns.Models.WhatsAppTemplate

Data model for WhatsApp Templates

| Name | Description | Schema |
| - | - | - |
| **languageCode**  <br />_optional_ | **Example** : `"string"` | string |
| **languageFixed**  <br />_optional_ | **Example** : `true` | boolean |
| **parameters**  <br />_optional_ | **Example** : `[ "[cm-platform-messages-models-whatsappparam](#cm-platform-messages-models-whatsappparam)" ]` | \< [CM.Platform.Campaigns.Models.whatsAppParam](#cm-platform-messages-models-whatsappparam) > array |
| **templateId**  <br />_optional_ | **Example** : `"00000000-0000-0000-0000-000000000000"` | string (uuid) |

### CM.Platform.Campaigns.Models.whatsAppDateParamOptions

Data options for WhatsApp Template Date Parameters

| Name | Description | Schema |
| - | - | - |
| **showDayOfMonth**  <br />_optional_ | **Example** : `true` | boolean |
| **showDayOfWeek**  <br />_optional_ | **Example** : `true` | boolean |
| **showHour**  <br />_optional_ | **Example** : `true` | boolean |
| **showMinute**  <br />_optional_ | **Example** : `true` | boolean |
| **showMonth**  <br />_optional_ | **Example** : `true` | boolean |
| **showYear**  <br />_optional_ | **Example** : `true` | boolean |

### CM.Platform.Campaigns.Models.whatsAppParam

Data model for WhatsApp Template Parameters

| Name | Description | Schema |
| - | - | - |
| **currency**  <br />_optional_ | **Example** : `"string"` | string |
| **currencyAmount**  <br />_optional_ | **Example** : `"string"` | string |
| **currencyCode**  <br />_optional_ | **Example** : `"string"` | string |
| **currencyDecimalSeparator**  <br />_optional_ | **Example** : `"string"` | string |
| **dateOptions**  <br />_optional_ | **Example** : `"[cm-platform-messages-models-whatsappdateparamoptions](#cm-platform-messages-models-whatsappdateparamoptions)"` | [CM.Platform.Campaigns.Models.whatsAppDateParamOptions](#cm-platform-messages-models-whatsappdateparamoptions) |
| **dateTime**  <br />_optional_ | **Example** : `"string"` | string |
| **text**  <br />_optional_ | **Example** : `"string"` | string |

### CM.Platform.Campaigns.Models.ApiMessageOptions

Data model for options parameter

| Name | Description | Schema |
| - | - | - |
| **urlShortenerDomainId**  <br />_optional_ | **Example** : `"00000000-0000-0000-0000-000000000000"` | string (uuid) |
