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": "0a8b3218-4c74-449e-9c57-514e34bc55c1",
"NoteId": "9c741cb8-3f3f-4bea-a1c8-ba9bcf1bfe2b",
"Text": "sample string 3",
"IsCritical": true,
"SourceType": 1,
"InsertedAttachments": [
{
"AttachmentId": "1d927408-c9e3-40c9-8f9f-4eaf4756b318",
"Id": "63f1361e-4e7c-406a-8cfa-5fe27f77e3bb",
"ImageType": 1
},
{
"AttachmentId": "1d927408-c9e3-40c9-8f9f-4eaf4756b318",
"Id": "63f1361e-4e7c-406a-8cfa-5fe27f77e3bb",
"ImageType": 1
}
],
"DeletedAttachments": [
{
"AttachmentId": "1d927408-c9e3-40c9-8f9f-4eaf4756b318",
"Id": "63f1361e-4e7c-406a-8cfa-5fe27f77e3bb",
"ImageType": 1
},
{
"AttachmentId": "1d927408-c9e3-40c9-8f9f-4eaf4756b318",
"Id": "63f1361e-4e7c-406a-8cfa-5fe27f77e3bb",
"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>1d927408-c9e3-40c9-8f9f-4eaf4756b318</AttachmentId>
<Id>63f1361e-4e7c-406a-8cfa-5fe27f77e3bb</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
<NoteAttachmentViewModel>
<AttachmentId>1d927408-c9e3-40c9-8f9f-4eaf4756b318</AttachmentId>
<Id>63f1361e-4e7c-406a-8cfa-5fe27f77e3bb</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
</DeletedAttachments>
<InsertedAttachments>
<NoteAttachmentViewModel>
<AttachmentId>1d927408-c9e3-40c9-8f9f-4eaf4756b318</AttachmentId>
<Id>63f1361e-4e7c-406a-8cfa-5fe27f77e3bb</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
<NoteAttachmentViewModel>
<AttachmentId>1d927408-c9e3-40c9-8f9f-4eaf4756b318</AttachmentId>
<Id>63f1361e-4e7c-406a-8cfa-5fe27f77e3bb</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
</InsertedAttachments>
<IsCritical>true</IsCritical>
<NoteCommentId>0a8b3218-4c74-449e-9c57-514e34bc55c1</NoteCommentId>
<NoteCommentReceipients>
<NoteReceipientViewModel>
<ReceipientId>1</ReceipientId>
</NoteReceipientViewModel>
<NoteReceipientViewModel>
<ReceipientId>1</ReceipientId>
</NoteReceipientViewModel>
</NoteCommentReceipients>
<NoteId>9c741cb8-3f3f-4bea-a1c8-ba9bcf1bfe2b</NoteId>
<SourceType>WarehouseReceipt</SourceType>
<Text>sample string 3</Text>
</SaveNoteCommentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"NoteCommentId":"0a8b3218-4c74-449e-9c57-514e34bc55c1","NoteId":"9c741cb8-3f3f-4bea-a1c8-ba9bcf1bfe2b","Text":"sample string 3","IsCritical":true,"SourceType":1,"InsertedAttachments":[{"AttachmentId":"1d927408-c9e3-40c9-8f9f-4eaf4756b318","Id":"63f1361e-4e7c-406a-8cfa-5fe27f77e3bb","ImageType":1},{"AttachmentId":"1d927408-c9e3-40c9-8f9f-4eaf4756b318","Id":"63f1361e-4e7c-406a-8cfa-5fe27f77e3bb","ImageType":1}],"DeletedAttachments":[{"AttachmentId":"1d927408-c9e3-40c9-8f9f-4eaf4756b318","Id":"63f1361e-4e7c-406a-8cfa-5fe27f77e3bb","ImageType":1},{"AttachmentId":"1d927408-c9e3-40c9-8f9f-4eaf4756b318","Id":"63f1361e-4e7c-406a-8cfa-5fe27f77e3bb","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.