POST v1/consumers-web/customer-communication/messages/{messageId}/send

Request Information

URI Parameters

NameDescriptionTypeAdditional information
messageId

globally unique identifier

Required

Body Parameters

CustomerCommunicationSendDraftedMessageRequest
NameDescriptionTypeAdditional information
Subject

string

Required

String length: inclusive between 2 and 100

Category

MessageCategoryEnumeration

Required

Message

string

Required

String length: inclusive between 2 and 500

Request Formats

application/json, text/json

Sample:
{
  "Subject": "sample string 1",
  "Category": "NULL",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<CustomerCommunicationSendDraftedMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfMobileApi.Models">
  <Category>NULL</Category>
  <Message>sample string 2</Message>
  <Subject>sample string 1</Subject>
</CustomerCommunicationSendDraftedMessageRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerCommunicationSendDraftedMessageRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.