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": "0e0e1dbb-213c-43bf-a166-9e91fcca4a65",
  "messageId": "5f7ed044-91c5-46e8-ac6c-7c501eb35051",
  "messageAuditTypeId": "268383b3-cdf0-4b83-97e8-303c5123a0d5",
  "messageAuditTypeLookupKey": "sample string 4",
  "text": "sample string 5",
  "messageCyanId": 6,
  "cyanId": 7,
  "createdDateUtc": "2025-11-19T10:44:11.6412833+00:00",
  "updatedDateUtc": "2025-11-19T10:44:11.6412833+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>2025-11-19T10:44:11.6412833+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-11-19T10:44:11.6412833+00:00</UpdatedDateUtc>
  <CyanId>7</CyanId>
  <MessageAuditId>0e0e1dbb-213c-43bf-a166-9e91fcca4a65</MessageAuditId>
  <MessageAuditTypeId>268383b3-cdf0-4b83-97e8-303c5123a0d5</MessageAuditTypeId>
  <MessageAuditTypeLookupKey>sample string 4</MessageAuditTypeLookupKey>
  <MessageCyanId>6</MessageCyanId>
  <MessageId>5f7ed044-91c5-46e8-ac6c-7c501eb35051</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'.