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": "9e06874b-3728-4343-9b5f-1d050f93db46",
"NoteId": "a0f377c8-d7c7-4c94-9a11-8dcd002ce360",
"Text": "sample string 3",
"IsCritical": true,
"SourceType": 1,
"InsertedAttachments": [
{
"AttachmentId": "74a24374-d2f9-4391-9140-830e5886b3bf",
"Id": "ef23341c-2e63-4acb-9c6c-c4bdbd671e48",
"ImageType": 1
},
{
"AttachmentId": "74a24374-d2f9-4391-9140-830e5886b3bf",
"Id": "ef23341c-2e63-4acb-9c6c-c4bdbd671e48",
"ImageType": 1
}
],
"DeletedAttachments": [
{
"AttachmentId": "74a24374-d2f9-4391-9140-830e5886b3bf",
"Id": "ef23341c-2e63-4acb-9c6c-c4bdbd671e48",
"ImageType": 1
},
{
"AttachmentId": "74a24374-d2f9-4391-9140-830e5886b3bf",
"Id": "ef23341c-2e63-4acb-9c6c-c4bdbd671e48",
"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>74a24374-d2f9-4391-9140-830e5886b3bf</AttachmentId>
<Id>ef23341c-2e63-4acb-9c6c-c4bdbd671e48</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
<NoteAttachmentViewModel>
<AttachmentId>74a24374-d2f9-4391-9140-830e5886b3bf</AttachmentId>
<Id>ef23341c-2e63-4acb-9c6c-c4bdbd671e48</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
</DeletedAttachments>
<InsertedAttachments>
<NoteAttachmentViewModel>
<AttachmentId>74a24374-d2f9-4391-9140-830e5886b3bf</AttachmentId>
<Id>ef23341c-2e63-4acb-9c6c-c4bdbd671e48</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
<NoteAttachmentViewModel>
<AttachmentId>74a24374-d2f9-4391-9140-830e5886b3bf</AttachmentId>
<Id>ef23341c-2e63-4acb-9c6c-c4bdbd671e48</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
</InsertedAttachments>
<IsCritical>true</IsCritical>
<NoteCommentId>9e06874b-3728-4343-9b5f-1d050f93db46</NoteCommentId>
<NoteCommentReceipients>
<NoteReceipientViewModel>
<ReceipientId>1</ReceipientId>
</NoteReceipientViewModel>
<NoteReceipientViewModel>
<ReceipientId>1</ReceipientId>
</NoteReceipientViewModel>
</NoteCommentReceipients>
<NoteId>a0f377c8-d7c7-4c94-9a11-8dcd002ce360</NoteId>
<SourceType>WarehouseReceipt</SourceType>
<Text>sample string 3</Text>
</SaveNoteCommentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"NoteCommentId":"9e06874b-3728-4343-9b5f-1d050f93db46","NoteId":"a0f377c8-d7c7-4c94-9a11-8dcd002ce360","Text":"sample string 3","IsCritical":true,"SourceType":1,"InsertedAttachments":[{"AttachmentId":"74a24374-d2f9-4391-9140-830e5886b3bf","Id":"ef23341c-2e63-4acb-9c6c-c4bdbd671e48","ImageType":1},{"AttachmentId":"74a24374-d2f9-4391-9140-830e5886b3bf","Id":"ef23341c-2e63-4acb-9c6c-c4bdbd671e48","ImageType":1}],"DeletedAttachments":[{"AttachmentId":"74a24374-d2f9-4391-9140-830e5886b3bf","Id":"ef23341c-2e63-4acb-9c6c-c4bdbd671e48","ImageType":1},{"AttachmentId":"74a24374-d2f9-4391-9140-830e5886b3bf","Id":"ef23341c-2e63-4acb-9c6c-c4bdbd671e48","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.