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": "92b2cc43-dc99-4cbc-be81-b11ce992de88",
  "messageId": "72a76d8d-b117-418a-96e0-4a5f6884cc56",
  "messageAuditTypeId": "c2c245b6-fa6c-4698-a9b5-b35ed1858ca2",
  "messageAuditTypeLookupKey": "sample string 4",
  "text": "sample string 5",
  "messageCyanId": 6,
  "cyanId": 7,
  "createdDateUtc": "2025-12-09T20:50:45.900936+00:00",
  "updatedDateUtc": "2025-12-09T20:50:45.900936+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-12-09T20:50:45.900936+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-12-09T20:50:45.900936+00:00</UpdatedDateUtc>
  <CyanId>7</CyanId>
  <MessageAuditId>92b2cc43-dc99-4cbc-be81-b11ce992de88</MessageAuditId>
  <MessageAuditTypeId>c2c245b6-fa6c-4698-a9b5-b35ed1858ca2</MessageAuditTypeId>
  <MessageAuditTypeLookupKey>sample string 4</MessageAuditTypeLookupKey>
  <MessageCyanId>6</MessageCyanId>
  <MessageId>72a76d8d-b117-418a-96e0-4a5f6884cc56</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'.