Cyan Web API - Version 1


PUT api/messages/{messageId:guid}/body

            Updates the body of a message, but does not (re)submit the message.
            

Request Information

Parameters

NameDescriptionAdditional information
messageId
No documentation available.

Define this parameter in the request URI.

messageRepresentation
MessageRepresentation containing the new body to set

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messageId": "10108ae3-822e-4ff3-a54f-cb403b7a3fa3",
  "tenantId": "80216a96-2094-4d14-bd2d-cec0502bb963",
  "messageTypeId": "85df11d2-9a96-4017-86fa-faee62b55ecd",
  "messageTypeLookupKey": "sample string 4",
  "userId": "49491505-8413-4932-b86e-183fe76452c9",
  "userGroupId": "fdfa1baf-1640-4579-9d40-262442afdbaf",
  "deviceId": "9d0cb9ec-c1e1-472e-aeb8-0010dee26a1f",
  "deviceGroupId": "7f760611-85cd-4ff7-a4c9-575cb6438d04",
  "applicationId": "fa2cc4b7-0784-40a4-a79a-5008ed072688",
  "applicationVersionId": "f010797e-08cf-4a59-b459-379b49ba6b2a",
  "senderSessionId": "sample string 5",
  "senderSessionSequence": 1,
  "senderCorrelationId": "sample string 6",
  "senderGroup": "sample string 7",
  "senderNote": "sample string 8",
  "body": "sample string 9",
  "storeEncryptedPassword": true,
  "storeHashedPassword": true,
  "messageAuditId": "3ee4e151-07ad-437c-aa07-1c3911f88079",
  "messageAuditMessageAuditTypeId": "d5404934-0c9a-40ee-8ed4-56788ef827a7",
  "messageAuditMessageAuditTypeName": "sample string 14",
  "messageAuditMessageAuditTypeLookupKey": "sample string 15",
  "messageAuditText": "sample string 16",
  "messageAuditCreatedDateUtc": "2025-04-21T02:28:01.5299345+00:00",
  "messageAuditUpdatedDateUtc": "2025-04-21T02:28:01.5299345+00:00",
  "cyanId": 18,
  "messageAuditCyanId": 1,
  "resubmitCount": 19,
  "createdDateUtc": "2025-04-21T02:28:01.5299345+00:00",
  "updatedDateUtc": "2025-04-21T02:28:01.5299345+00:00"
}

application/xml, text/xml

Sample:
<MessageRepresentation 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-04-21T02:28:01.5299345+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-04-21T02:28:01.5299345+00:00</UpdatedDateUtc>
  <ApplicationId>fa2cc4b7-0784-40a4-a79a-5008ed072688</ApplicationId>
  <ApplicationVersionId>f010797e-08cf-4a59-b459-379b49ba6b2a</ApplicationVersionId>
  <Body>sample string 9</Body>
  <CyanId>18</CyanId>
  <DeviceGroupId>7f760611-85cd-4ff7-a4c9-575cb6438d04</DeviceGroupId>
  <DeviceId>9d0cb9ec-c1e1-472e-aeb8-0010dee26a1f</DeviceId>
  <MessageAuditCreatedDateUtc>2025-04-21T02:28:01.5299345+00:00</MessageAuditCreatedDateUtc>
  <MessageAuditCyanId>1</MessageAuditCyanId>
  <MessageAuditId>3ee4e151-07ad-437c-aa07-1c3911f88079</MessageAuditId>
  <MessageAuditMessageAuditTypeId>d5404934-0c9a-40ee-8ed4-56788ef827a7</MessageAuditMessageAuditTypeId>
  <MessageAuditMessageAuditTypeLookupKey>sample string 15</MessageAuditMessageAuditTypeLookupKey>
  <MessageAuditMessageAuditTypeName>sample string 14</MessageAuditMessageAuditTypeName>
  <MessageAuditText>sample string 16</MessageAuditText>
  <MessageAuditUpdatedDateUtc>2025-04-21T02:28:01.5299345+00:00</MessageAuditUpdatedDateUtc>
  <MessageId>10108ae3-822e-4ff3-a54f-cb403b7a3fa3</MessageId>
  <MessageTypeId>85df11d2-9a96-4017-86fa-faee62b55ecd</MessageTypeId>
  <MessageTypeLookupKey>sample string 4</MessageTypeLookupKey>
  <ResubmitCount>19</ResubmitCount>
  <SenderCorrelationId>sample string 6</SenderCorrelationId>
  <SenderGroup>sample string 7</SenderGroup>
  <SenderNote>sample string 8</SenderNote>
  <SenderSessionId>sample string 5</SenderSessionId>
  <SenderSessionSequence>1</SenderSessionSequence>
  <StoreEncryptedPassword>true</StoreEncryptedPassword>
  <StoreHashedPassword>true</StoreHashedPassword>
  <TenantId>80216a96-2094-4d14-bd2d-cec0502bb963</TenantId>
  <UserGroupId>fdfa1baf-1640-4579-9d40-262442afdbaf</UserGroupId>
  <UserId>49491505-8413-4932-b86e-183fe76452c9</UserId>
</MessageRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.