POST api/Note/Save

Request Information

URI Parameters

None.

Body Parameters

SaveNoteInputModel
NameDescriptionTypeAdditional information
NoteId

globally unique identifier

None.

Title

string

Required

String length: inclusive between 0 and 255

Text

string

Required

IsCritical

boolean

Required

NoteAccessId

NoteAccess

Required

SourceType

WMSMasterTypeEnum

Required

SourceTypeId

globally unique identifier

Required

InsertedAttachments

Collection of NoteAttachmentViewModel

None.

DeletedAttachments

Collection of NoteAttachmentViewModel

None.

NoteReceipients

Collection of NoteReceipientViewModel

None.

DocumentIds

Collection of integer

None.

NoteTemplateId

integer

None.

InsertedTemplateAttachments

Collection of IFSAttachmentViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "NoteId": "27aea5b1-fa8b-4cf0-9b10-3e3ff6319e49",
  "Title": "sample string 2",
  "Text": "sample string 3",
  "IsCritical": true,
  "NoteAccessId": 1,
  "SourceType": 1,
  "SourceTypeId": "9432543c-9382-4974-8011-d6c50e33f4dc",
  "InsertedAttachments": [
    {
      "AttachmentId": "4a5469db-c028-48b7-b916-16d58062193a",
      "Id": "43c8336e-575c-4797-8d4b-38afc5a63a2e",
      "ImageType": 1
    },
    {
      "AttachmentId": "4a5469db-c028-48b7-b916-16d58062193a",
      "Id": "43c8336e-575c-4797-8d4b-38afc5a63a2e",
      "ImageType": 1
    }
  ],
  "DeletedAttachments": [
    {
      "AttachmentId": "4a5469db-c028-48b7-b916-16d58062193a",
      "Id": "43c8336e-575c-4797-8d4b-38afc5a63a2e",
      "ImageType": 1
    },
    {
      "AttachmentId": "4a5469db-c028-48b7-b916-16d58062193a",
      "Id": "43c8336e-575c-4797-8d4b-38afc5a63a2e",
      "ImageType": 1
    }
  ],
  "NoteReceipients": [
    {
      "ReceipientId": 1
    },
    {
      "ReceipientId": 1
    }
  ],
  "DocumentIds": [
    1,
    2
  ],
  "NoteTemplateId": 1,
  "InsertedTemplateAttachments": [
    {
      "imageBytes": "QEA=",
      "type": "sample string 1",
      "fileName": "sample string 2",
      "fileSize": 3,
      "path": "sample string 4",
      "contentType": "sample string 5",
      "isDragged": true,
      "noteId": 1,
      "commentId": 1,
      "taskId": 1,
      "containerId": 7,
      "fileExtension": "sample string 8",
      "noteAttachmentId": 1,
      "noteCommentAttachmentId": 1,
      "taskAttachmentId": 1,
      "inlineAttachment": true,
      "attachId": 1,
      "contentBytes": "sample string 10",
      "laneId": 1,
      "transportationModeId": 1,
      "id": 11,
      "createdDate": "2026-02-04T20:49:39.2028051-05:00",
      "updatedDate": "2026-02-04T20:49:39.2028051-05:00",
      "deletedDate": "2026-02-04T20:49:39.2028051-05:00",
      "tasksTemplateId": 1,
      "noteTemplateAttachmentId": 1,
      "noteTemplateId": 1
    },
    {
      "imageBytes": "QEA=",
      "type": "sample string 1",
      "fileName": "sample string 2",
      "fileSize": 3,
      "path": "sample string 4",
      "contentType": "sample string 5",
      "isDragged": true,
      "noteId": 1,
      "commentId": 1,
      "taskId": 1,
      "containerId": 7,
      "fileExtension": "sample string 8",
      "noteAttachmentId": 1,
      "noteCommentAttachmentId": 1,
      "taskAttachmentId": 1,
      "inlineAttachment": true,
      "attachId": 1,
      "contentBytes": "sample string 10",
      "laneId": 1,
      "transportationModeId": 1,
      "id": 11,
      "createdDate": "2026-02-04T20:49:39.2028051-05:00",
      "updatedDate": "2026-02-04T20:49:39.2028051-05:00",
      "deletedDate": "2026-02-04T20:49:39.2028051-05:00",
      "tasksTemplateId": 1,
      "noteTemplateAttachmentId": 1,
      "noteTemplateId": 1
    }
  ]
}

application/xml, text/xml

Sample:
<SaveNoteInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
  <DeletedAttachments>
    <NoteAttachmentViewModel>
      <AttachmentId>4a5469db-c028-48b7-b916-16d58062193a</AttachmentId>
      <Id>43c8336e-575c-4797-8d4b-38afc5a63a2e</Id>
      <ImageType>Capture</ImageType>
    </NoteAttachmentViewModel>
    <NoteAttachmentViewModel>
      <AttachmentId>4a5469db-c028-48b7-b916-16d58062193a</AttachmentId>
      <Id>43c8336e-575c-4797-8d4b-38afc5a63a2e</Id>
      <ImageType>Capture</ImageType>
    </NoteAttachmentViewModel>
  </DeletedAttachments>
  <DocumentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </DocumentIds>
  <InsertedAttachments>
    <NoteAttachmentViewModel>
      <AttachmentId>4a5469db-c028-48b7-b916-16d58062193a</AttachmentId>
      <Id>43c8336e-575c-4797-8d4b-38afc5a63a2e</Id>
      <ImageType>Capture</ImageType>
    </NoteAttachmentViewModel>
    <NoteAttachmentViewModel>
      <AttachmentId>4a5469db-c028-48b7-b916-16d58062193a</AttachmentId>
      <Id>43c8336e-575c-4797-8d4b-38afc5a63a2e</Id>
      <ImageType>Capture</ImageType>
    </NoteAttachmentViewModel>
  </InsertedAttachments>
  <InsertedTemplateAttachments>
    <IFSAttachmentViewModel>
      <attachId>1</attachId>
      <commentId>1</commentId>
      <containerId>7</containerId>
      <contentBytes>sample string 10</contentBytes>
      <contentType>sample string 5</contentType>
      <createdDate>2026-02-04T20:49:39.2028051-05:00</createdDate>
      <deletedDate>2026-02-04T20:49:39.2028051-05:00</deletedDate>
      <fileExtension>sample string 8</fileExtension>
      <fileName>sample string 2</fileName>
      <fileSize>3</fileSize>
      <id>11</id>
      <imageBytes>QEA=</imageBytes>
      <inlineAttachment>true</inlineAttachment>
      <isDragged>true</isDragged>
      <laneId>1</laneId>
      <noteAttachmentId>1</noteAttachmentId>
      <noteCommentAttachmentId>1</noteCommentAttachmentId>
      <noteId>1</noteId>
      <noteTemplateAttachmentId>1</noteTemplateAttachmentId>
      <noteTemplateId>1</noteTemplateId>
      <path>sample string 4</path>
      <taskAttachmentId>1</taskAttachmentId>
      <taskId>1</taskId>
      <tasksTemplateId>1</tasksTemplateId>
      <transportationModeId>1</transportationModeId>
      <type>sample string 1</type>
      <updatedDate>2026-02-04T20:49:39.2028051-05:00</updatedDate>
    </IFSAttachmentViewModel>
    <IFSAttachmentViewModel>
      <attachId>1</attachId>
      <commentId>1</commentId>
      <containerId>7</containerId>
      <contentBytes>sample string 10</contentBytes>
      <contentType>sample string 5</contentType>
      <createdDate>2026-02-04T20:49:39.2028051-05:00</createdDate>
      <deletedDate>2026-02-04T20:49:39.2028051-05:00</deletedDate>
      <fileExtension>sample string 8</fileExtension>
      <fileName>sample string 2</fileName>
      <fileSize>3</fileSize>
      <id>11</id>
      <imageBytes>QEA=</imageBytes>
      <inlineAttachment>true</inlineAttachment>
      <isDragged>true</isDragged>
      <laneId>1</laneId>
      <noteAttachmentId>1</noteAttachmentId>
      <noteCommentAttachmentId>1</noteCommentAttachmentId>
      <noteId>1</noteId>
      <noteTemplateAttachmentId>1</noteTemplateAttachmentId>
      <noteTemplateId>1</noteTemplateId>
      <path>sample string 4</path>
      <taskAttachmentId>1</taskAttachmentId>
      <taskId>1</taskId>
      <tasksTemplateId>1</tasksTemplateId>
      <transportationModeId>1</transportationModeId>
      <type>sample string 1</type>
      <updatedDate>2026-02-04T20:49:39.2028051-05:00</updatedDate>
    </IFSAttachmentViewModel>
  </InsertedTemplateAttachments>
  <IsCritical>true</IsCritical>
  <NoteAccessId>Everyone</NoteAccessId>
  <NoteId>27aea5b1-fa8b-4cf0-9b10-3e3ff6319e49</NoteId>
  <NoteReceipients>
    <NoteReceipientViewModel>
      <ReceipientId>1</ReceipientId>
    </NoteReceipientViewModel>
    <NoteReceipientViewModel>
      <ReceipientId>1</ReceipientId>
    </NoteReceipientViewModel>
  </NoteReceipients>
  <NoteTemplateId>1</NoteTemplateId>
  <SourceType>WarehouseReceipt</SourceType>
  <SourceTypeId>9432543c-9382-4974-8011-d6c50e33f4dc</SourceTypeId>
  <Text>sample string 3</Text>
  <Title>sample string 2</Title>
</SaveNoteInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"NoteId":"27aea5b1-fa8b-4cf0-9b10-3e3ff6319e49","Title":"sample string 2","Text":"sample string 3","IsCritical":true,"NoteAccessId":1,"SourceType":1,"SourceTypeId":"9432543c-9382-4974-8011-d6c50e33f4dc","InsertedAttachments":[{"AttachmentId":"4a5469db-c028-48b7-b916-16d58062193a","Id":"43c8336e-575c-4797-8d4b-38afc5a63a2e","ImageType":1},{"AttachmentId":"4a5469db-c028-48b7-b916-16d58062193a","Id":"43c8336e-575c-4797-8d4b-38afc5a63a2e","ImageType":1}],"DeletedAttachments":[{"AttachmentId":"4a5469db-c028-48b7-b916-16d58062193a","Id":"43c8336e-575c-4797-8d4b-38afc5a63a2e","ImageType":1},{"AttachmentId":"4a5469db-c028-48b7-b916-16d58062193a","Id":"43c8336e-575c-4797-8d4b-38afc5a63a2e","ImageType":1}],"NoteReceipients":[{"ReceipientId":1},{"ReceipientId":1}],"DocumentIds":[1,2],"NoteTemplateId":1,"InsertedTemplateAttachments":[{"imageBytes":"QEA=","type":"sample string 1","fileName":"sample string 2","fileSize":3,"path":"sample string 4","contentType":"sample string 5","isDragged":true,"noteId":1,"commentId":1,"taskId":1,"containerId":7,"fileExtension":"sample string 8","noteAttachmentId":1,"noteCommentAttachmentId":1,"taskAttachmentId":1,"inlineAttachment":true,"attachId":1,"contentBytes":"sample string 10","laneId":1,"transportationModeId":1,"id":11,"createdDate":"2026-02-04T20:49:39.2028051-05:00","updatedDate":"2026-02-04T20:49:39.2028051-05:00","deletedDate":"2026-02-04T20:49:39.2028051-05:00","tasksTemplateId":1,"noteTemplateAttachmentId":1,"noteTemplateId":1},{"imageBytes":"QEA=","type":"sample string 1","fileName":"sample string 2","fileSize":3,"path":"sample string 4","contentType":"sample string 5","isDragged":true,"noteId":1,"commentId":1,"taskId":1,"containerId":7,"fileExtension":"sample string 8","noteAttachmentId":1,"noteCommentAttachmentId":1,"taskAttachmentId":1,"inlineAttachment":true,"attachId":1,"contentBytes":"sample string 10","laneId":1,"transportationModeId":1,"id":11,"createdDate":"2026-02-04T20:49:39.2028051-05:00","updatedDate":"2026-02-04T20:49:39.2028051-05:00","deletedDate":"2026-02-04T20:49:39.2028051-05:00","tasksTemplateId":1,"noteTemplateAttachmentId":1,"noteTemplateId":1}]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.