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": "4a2e53ed-0c6d-4efa-8aa1-700262c330be",
  "messageId": "d7635565-9817-4eeb-98b2-ee0917b64506",
  "messageAuditTypeId": "306e225c-ed48-408e-a765-655487f5ce5e",
  "messageAuditTypeLookupKey": "sample string 4",
  "text": "sample string 5",
  "messageCyanId": 6,
  "cyanId": 7,
  "createdDateUtc": "2026-02-08T03:13:48.3143953+00:00",
  "updatedDateUtc": "2026-02-08T03:13:48.3143953+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-08T03:13:48.3143953+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-02-08T03:13:48.3143953+00:00</UpdatedDateUtc>
  <CyanId>7</CyanId>
  <MessageAuditId>4a2e53ed-0c6d-4efa-8aa1-700262c330be</MessageAuditId>
  <MessageAuditTypeId>306e225c-ed48-408e-a765-655487f5ce5e</MessageAuditTypeId>
  <MessageAuditTypeLookupKey>sample string 4</MessageAuditTypeLookupKey>
  <MessageCyanId>6</MessageCyanId>
  <MessageId>d7635565-9817-4eeb-98b2-ee0917b64506</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'.