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": "d308a3ac-54b6-4460-bb09-283f9fa46f28",
  "messageId": "f34e146f-917b-41c1-9338-832c03fdd3dd",
  "messageAuditTypeId": "8099d19e-cb58-4d2d-81ec-fa29d87a1273",
  "messageAuditTypeLookupKey": "sample string 4",
  "text": "sample string 5",
  "messageCyanId": 6,
  "cyanId": 7,
  "createdDateUtc": "2026-04-03T02:57:32.0919985+00:00",
  "updatedDateUtc": "2026-04-03T02:57:32.0919985+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-04-03T02:57:32.0919985+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-04-03T02:57:32.0919985+00:00</UpdatedDateUtc>
  <CyanId>7</CyanId>
  <MessageAuditId>d308a3ac-54b6-4460-bb09-283f9fa46f28</MessageAuditId>
  <MessageAuditTypeId>8099d19e-cb58-4d2d-81ec-fa29d87a1273</MessageAuditTypeId>
  <MessageAuditTypeLookupKey>sample string 4</MessageAuditTypeLookupKey>
  <MessageCyanId>6</MessageCyanId>
  <MessageId>f34e146f-917b-41c1-9338-832c03fdd3dd</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'.