Skip to main content
Get Default Message Content With Options

Headers

Accept-Language
string

Convert string references and multi-language values into a specified language (iso2) code.

SO-Language
string

Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.

SO-Culture
string

Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.

SO-TimeZone
string

Specify the timezone code that you would like date/time responses converted to.

SO-AppToken
string

The application token that identifies the partner app. Used when calling Online WebAPI from a server.

Query Parameters

$select
string

Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.

Body

TicketId, MessageActionType, TicketMessageId, TicketTypeId, ExcludeSignature

GetDefaultMessageContentWithOptions: Generate a default message content with option to exclude signature: attachments and body as sanitized HTML

TicketId
integer<int32>
MessageActionType
enum<string>
Available options:
None,
Reply,
ReplyAll,
Forward,
InternalComment
TicketMessageId
integer<int32>
TicketTypeId
integer<int32>
ExcludeSignature
boolean

Response

OK

Message content to fill a new message. Carrier object for TicketMessageContent. Services for the TicketMessageContent Carrier is available from the Ticket Agent.

Body
string

Body (including default editor content, content from template, user signature, quoted message content) as sanitized HTML

AttachmentsInfo
object[]

Message attachments information