POST api/NoteComment/Save
Request Information
URI Parameters
None.
Body Parameters
SaveNoteCommentInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| NoteCommentId | globally unique identifier |
None. |
|
| NoteId | globally unique identifier |
None. |
|
| Text | string |
Required |
|
| IsCritical | boolean |
Required |
|
| SourceType | WMSMasterTypeEnum |
None. |
|
| InsertedAttachments | Collection of NoteAttachmentViewModel |
None. |
|
| DeletedAttachments | Collection of NoteAttachmentViewModel |
None. |
|
| NoteCommentReceipients | Collection of NoteReceipientViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"NoteCommentId": "66815abf-fdd5-4dc1-a34b-3043bcd7d67e",
"NoteId": "6c16cf97-b9b6-4435-be33-0e76e4f832bf",
"Text": "sample string 3",
"IsCritical": true,
"SourceType": 1,
"InsertedAttachments": [
{
"AttachmentId": "e48aaca8-c8fe-4b2b-a844-ec0022be55ee",
"Id": "0415713a-8114-4a3d-8f1b-89c70f8328d0",
"ImageType": 1
},
{
"AttachmentId": "e48aaca8-c8fe-4b2b-a844-ec0022be55ee",
"Id": "0415713a-8114-4a3d-8f1b-89c70f8328d0",
"ImageType": 1
}
],
"DeletedAttachments": [
{
"AttachmentId": "e48aaca8-c8fe-4b2b-a844-ec0022be55ee",
"Id": "0415713a-8114-4a3d-8f1b-89c70f8328d0",
"ImageType": 1
},
{
"AttachmentId": "e48aaca8-c8fe-4b2b-a844-ec0022be55ee",
"Id": "0415713a-8114-4a3d-8f1b-89c70f8328d0",
"ImageType": 1
}
],
"NoteCommentReceipients": [
{
"ReceipientId": 1
},
{
"ReceipientId": 1
}
]
}
application/xml, text/xml
Sample:
<SaveNoteCommentInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
<DeletedAttachments>
<NoteAttachmentViewModel>
<AttachmentId>e48aaca8-c8fe-4b2b-a844-ec0022be55ee</AttachmentId>
<Id>0415713a-8114-4a3d-8f1b-89c70f8328d0</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
<NoteAttachmentViewModel>
<AttachmentId>e48aaca8-c8fe-4b2b-a844-ec0022be55ee</AttachmentId>
<Id>0415713a-8114-4a3d-8f1b-89c70f8328d0</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
</DeletedAttachments>
<InsertedAttachments>
<NoteAttachmentViewModel>
<AttachmentId>e48aaca8-c8fe-4b2b-a844-ec0022be55ee</AttachmentId>
<Id>0415713a-8114-4a3d-8f1b-89c70f8328d0</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
<NoteAttachmentViewModel>
<AttachmentId>e48aaca8-c8fe-4b2b-a844-ec0022be55ee</AttachmentId>
<Id>0415713a-8114-4a3d-8f1b-89c70f8328d0</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
</InsertedAttachments>
<IsCritical>true</IsCritical>
<NoteCommentId>66815abf-fdd5-4dc1-a34b-3043bcd7d67e</NoteCommentId>
<NoteCommentReceipients>
<NoteReceipientViewModel>
<ReceipientId>1</ReceipientId>
</NoteReceipientViewModel>
<NoteReceipientViewModel>
<ReceipientId>1</ReceipientId>
</NoteReceipientViewModel>
</NoteCommentReceipients>
<NoteId>6c16cf97-b9b6-4435-be33-0e76e4f832bf</NoteId>
<SourceType>WarehouseReceipt</SourceType>
<Text>sample string 3</Text>
</SaveNoteCommentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"NoteCommentId":"66815abf-fdd5-4dc1-a34b-3043bcd7d67e","NoteId":"6c16cf97-b9b6-4435-be33-0e76e4f832bf","Text":"sample string 3","IsCritical":true,"SourceType":1,"InsertedAttachments":[{"AttachmentId":"e48aaca8-c8fe-4b2b-a844-ec0022be55ee","Id":"0415713a-8114-4a3d-8f1b-89c70f8328d0","ImageType":1},{"AttachmentId":"e48aaca8-c8fe-4b2b-a844-ec0022be55ee","Id":"0415713a-8114-4a3d-8f1b-89c70f8328d0","ImageType":1}],"DeletedAttachments":[{"AttachmentId":"e48aaca8-c8fe-4b2b-a844-ec0022be55ee","Id":"0415713a-8114-4a3d-8f1b-89c70f8328d0","ImageType":1},{"AttachmentId":"e48aaca8-c8fe-4b2b-a844-ec0022be55ee","Id":"0415713a-8114-4a3d-8f1b-89c70f8328d0","ImageType":1}],"NoteCommentReceipients":[{"ReceipientId":1},{"ReceipientId":1}]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.