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": "309a09f2-2237-47a9-83cb-150bf63ede66",
  "messageId": "e9f107f0-e761-481a-b0e3-3eeea9ccf035",
  "messageAuditTypeId": "2c571704-89cd-4f0d-9516-07314879e1a8",
  "messageAuditTypeLookupKey": "sample string 4",
  "text": "sample string 5",
  "messageCyanId": 6,
  "cyanId": 7,
  "createdDateUtc": "2026-03-08T18:39:36.5745552+00:00",
  "updatedDateUtc": "2026-03-08T18:39:36.5745552+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-03-08T18:39:36.5745552+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-03-08T18:39:36.5745552+00:00</UpdatedDateUtc>
  <CyanId>7</CyanId>
  <MessageAuditId>309a09f2-2237-47a9-83cb-150bf63ede66</MessageAuditId>
  <MessageAuditTypeId>2c571704-89cd-4f0d-9516-07314879e1a8</MessageAuditTypeId>
  <MessageAuditTypeLookupKey>sample string 4</MessageAuditTypeLookupKey>
  <MessageCyanId>6</MessageCyanId>
  <MessageId>e9f107f0-e761-481a-b0e3-3eeea9ccf035</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'.