Cyan Web API - Version 1


POST api/messageAudits

            Creates a MessageAudit
            

Request Information

Parameters

NameDescriptionAdditional information
messageAuditRepresentation

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messageAuditId": "b0ac779d-d944-495a-92d7-a2ba12cf4cf1",
  "messageId": "a1a61cb3-aa22-41cb-a14f-40648e9e7395",
  "messageAuditTypeId": "0dacecaa-9750-4be4-8ea4-2f3fc0bed535",
  "messageAuditTypeLookupKey": "sample string 4",
  "text": "sample string 5",
  "messageCyanId": 6,
  "cyanId": 7,
  "createdDateUtc": "2026-02-01T08:29:54.7028053+00:00",
  "updatedDateUtc": "2026-02-01T08:29:54.7028053+00:00"
}

application/xml, text/xml

Sample:
<MessageAuditRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <CreatedDateUtc>2026-02-01T08:29:54.7028053+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-02-01T08:29:54.7028053+00:00</UpdatedDateUtc>
  <CyanId>7</CyanId>
  <MessageAuditId>b0ac779d-d944-495a-92d7-a2ba12cf4cf1</MessageAuditId>
  <MessageAuditTypeId>0dacecaa-9750-4be4-8ea4-2f3fc0bed535</MessageAuditTypeId>
  <MessageAuditTypeLookupKey>sample string 4</MessageAuditTypeLookupKey>
  <MessageCyanId>6</MessageCyanId>
  <MessageId>a1a61cb3-aa22-41cb-a14f-40648e9e7395</MessageId>
  <Text>sample string 5</Text>
</MessageAuditRepresentation>

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 'MessageAuditRepresentation'.