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": "118beaa0-e0f5-4c4d-8957-7f080aa4ce3d",
"NoteId": "861c8459-269c-475f-9098-2dd7ad9bccd0",
"Text": "sample string 3",
"IsCritical": true,
"SourceType": 1,
"InsertedAttachments": [
{
"AttachmentId": "32f6558c-cbf7-489a-b418-5c66ecb99858",
"Id": "d6ad43db-225a-43c5-872e-b7858c0bbd33",
"ImageType": 1
},
{
"AttachmentId": "32f6558c-cbf7-489a-b418-5c66ecb99858",
"Id": "d6ad43db-225a-43c5-872e-b7858c0bbd33",
"ImageType": 1
}
],
"DeletedAttachments": [
{
"AttachmentId": "32f6558c-cbf7-489a-b418-5c66ecb99858",
"Id": "d6ad43db-225a-43c5-872e-b7858c0bbd33",
"ImageType": 1
},
{
"AttachmentId": "32f6558c-cbf7-489a-b418-5c66ecb99858",
"Id": "d6ad43db-225a-43c5-872e-b7858c0bbd33",
"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>32f6558c-cbf7-489a-b418-5c66ecb99858</AttachmentId>
<Id>d6ad43db-225a-43c5-872e-b7858c0bbd33</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
<NoteAttachmentViewModel>
<AttachmentId>32f6558c-cbf7-489a-b418-5c66ecb99858</AttachmentId>
<Id>d6ad43db-225a-43c5-872e-b7858c0bbd33</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
</DeletedAttachments>
<InsertedAttachments>
<NoteAttachmentViewModel>
<AttachmentId>32f6558c-cbf7-489a-b418-5c66ecb99858</AttachmentId>
<Id>d6ad43db-225a-43c5-872e-b7858c0bbd33</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
<NoteAttachmentViewModel>
<AttachmentId>32f6558c-cbf7-489a-b418-5c66ecb99858</AttachmentId>
<Id>d6ad43db-225a-43c5-872e-b7858c0bbd33</Id>
<ImageType>Capture</ImageType>
</NoteAttachmentViewModel>
</InsertedAttachments>
<IsCritical>true</IsCritical>
<NoteCommentId>118beaa0-e0f5-4c4d-8957-7f080aa4ce3d</NoteCommentId>
<NoteCommentReceipients>
<NoteReceipientViewModel>
<ReceipientId>1</ReceipientId>
</NoteReceipientViewModel>
<NoteReceipientViewModel>
<ReceipientId>1</ReceipientId>
</NoteReceipientViewModel>
</NoteCommentReceipients>
<NoteId>861c8459-269c-475f-9098-2dd7ad9bccd0</NoteId>
<SourceType>WarehouseReceipt</SourceType>
<Text>sample string 3</Text>
</SaveNoteCommentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"NoteCommentId":"118beaa0-e0f5-4c4d-8957-7f080aa4ce3d","NoteId":"861c8459-269c-475f-9098-2dd7ad9bccd0","Text":"sample string 3","IsCritical":true,"SourceType":1,"InsertedAttachments":[{"AttachmentId":"32f6558c-cbf7-489a-b418-5c66ecb99858","Id":"d6ad43db-225a-43c5-872e-b7858c0bbd33","ImageType":1},{"AttachmentId":"32f6558c-cbf7-489a-b418-5c66ecb99858","Id":"d6ad43db-225a-43c5-872e-b7858c0bbd33","ImageType":1}],"DeletedAttachments":[{"AttachmentId":"32f6558c-cbf7-489a-b418-5c66ecb99858","Id":"d6ad43db-225a-43c5-872e-b7858c0bbd33","ImageType":1},{"AttachmentId":"32f6558c-cbf7-489a-b418-5c66ecb99858","Id":"d6ad43db-225a-43c5-872e-b7858c0bbd33","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.