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": "954690eb-731c-4f60-8e62-ae97a70b0c1c",
"NoteId": "68f49060-f2f0-4ce1-8566-45e274864eab",
"Text": "sample string 3",
"IsCritical": true,
"SourceType": 1,
"InsertedAttachments": [
{
"AttachmentId": "54fd343e-09cc-4e7d-8f5f-ffbf26bbf0cc",
"Id": "9cf8d53b-c469-4190-a1c3-1d9dfd812313",
"ImageType": 1
},
{
"AttachmentId": "54fd343e-09cc-4e7d-8f5f-ffbf26bbf0cc",
"Id": "9cf8d53b-c469-4190-a1c3-1d9dfd812313",
"ImageType": 1
}
],
"DeletedAttachments": [
{
"AttachmentId": "54fd343e-09cc-4e7d-8f5f-ffbf26bbf0cc",
"Id": "9cf8d53b-c469-4190-a1c3-1d9dfd812313",
"ImageType": 1
},
{
"AttachmentId": "54fd343e-09cc-4e7d-8f5f-ffbf26bbf0cc",
"Id": "9cf8d53b-c469-4190-a1c3-1d9dfd812313",
"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>54fd343e-09cc-4e7d-8f5f-ffbf26bbf0cc</AttachmentId>
<Id>9cf8d53b-c469-4190-a1c3-1d9dfd812313</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
<NoteAttachmentViewModel>
<AttachmentId>54fd343e-09cc-4e7d-8f5f-ffbf26bbf0cc</AttachmentId>
<Id>9cf8d53b-c469-4190-a1c3-1d9dfd812313</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
</DeletedAttachments>
<InsertedAttachments>
<NoteAttachmentViewModel>
<AttachmentId>54fd343e-09cc-4e7d-8f5f-ffbf26bbf0cc</AttachmentId>
<Id>9cf8d53b-c469-4190-a1c3-1d9dfd812313</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
<NoteAttachmentViewModel>
<AttachmentId>54fd343e-09cc-4e7d-8f5f-ffbf26bbf0cc</AttachmentId>
<Id>9cf8d53b-c469-4190-a1c3-1d9dfd812313</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
</InsertedAttachments>
<IsCritical>true</IsCritical>
<NoteCommentId>954690eb-731c-4f60-8e62-ae97a70b0c1c</NoteCommentId>
<NoteCommentReceipients>
<NoteReceipientViewModel>
<ReceipientId>1</ReceipientId>
</NoteReceipientViewModel>
<NoteReceipientViewModel>
<ReceipientId>1</ReceipientId>
</NoteReceipientViewModel>
</NoteCommentReceipients>
<NoteId>68f49060-f2f0-4ce1-8566-45e274864eab</NoteId>
<SourceType>WarehouseReceipt</SourceType>
<Text>sample string 3</Text>
</SaveNoteCommentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"NoteCommentId":"954690eb-731c-4f60-8e62-ae97a70b0c1c","NoteId":"68f49060-f2f0-4ce1-8566-45e274864eab","Text":"sample string 3","IsCritical":true,"SourceType":1,"InsertedAttachments":[{"AttachmentId":"54fd343e-09cc-4e7d-8f5f-ffbf26bbf0cc","Id":"9cf8d53b-c469-4190-a1c3-1d9dfd812313","ImageType":1},{"AttachmentId":"54fd343e-09cc-4e7d-8f5f-ffbf26bbf0cc","Id":"9cf8d53b-c469-4190-a1c3-1d9dfd812313","ImageType":1}],"DeletedAttachments":[{"AttachmentId":"54fd343e-09cc-4e7d-8f5f-ffbf26bbf0cc","Id":"9cf8d53b-c469-4190-a1c3-1d9dfd812313","ImageType":1},{"AttachmentId":"54fd343e-09cc-4e7d-8f5f-ffbf26bbf0cc","Id":"9cf8d53b-c469-4190-a1c3-1d9dfd812313","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.