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": "d80e940e-7ee0-467a-b022-19effa1fa9b7",
  "messageId": "561b5233-f946-4f1b-832b-26a4e86bf32e",
  "messageAuditTypeId": "64389b61-0c34-4585-9a19-d98478675c89",
  "messageAuditTypeLookupKey": "sample string 4",
  "text": "sample string 5",
  "messageCyanId": 6,
  "cyanId": 7,
  "createdDateUtc": "2026-09-11T10:57:54.7571441+00:00",
  "updatedDateUtc": "2026-09-11T10:57:54.7571441+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-09-11T10:57:54.7571441+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-09-11T10:57:54.7571441+00:00</UpdatedDateUtc>
  <CyanId>7</CyanId>
  <MessageAuditId>d80e940e-7ee0-467a-b022-19effa1fa9b7</MessageAuditId>
  <MessageAuditTypeId>64389b61-0c34-4585-9a19-d98478675c89</MessageAuditTypeId>
  <MessageAuditTypeLookupKey>sample string 4</MessageAuditTypeLookupKey>
  <MessageCyanId>6</MessageCyanId>
  <MessageId>561b5233-f946-4f1b-832b-26a4e86bf32e</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'.