POST api/commonnote/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
CommonNoteCreateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachFiles | Collection of CommonNoteFileCreateModel |
None. |
|
| Content | string |
None. |
|
| ObjectId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"AttachFiles": [
{
"Name": "sample string 1",
"Url": "sample string 2",
"CommonNoteId": "2b18cfe6-a083-41ee-9d45-40b10220d43c"
},
{
"Name": "sample string 1",
"Url": "sample string 2",
"CommonNoteId": "2b18cfe6-a083-41ee-9d45-40b10220d43c"
}
],
"Content": "sample string 1",
"ObjectId": "df3dd359-19bf-4f1c-95b5-09fe37d81086"
}
application/xml, text/xml
Sample:
<CommonNoteCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Common.CommonNoteModels.EditModels">
<Content xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Common.CommonNoteModels.ShareModels">sample string 1</Content>
<ObjectId xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Common.CommonNoteModels.ShareModels">df3dd359-19bf-4f1c-95b5-09fe37d81086</ObjectId>
<AttachFiles xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Common.CommonNoteFileModels.EditModels">
<d2p1:CommonNoteFileCreateModel>
<CommonNoteId xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Common.CommonNoteFileModels.ShareModels">2b18cfe6-a083-41ee-9d45-40b10220d43c</CommonNoteId>
<Name xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Common.CommonNoteFileModels.ShareModels">sample string 1</Name>
<Url xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Common.CommonNoteFileModels.ShareModels">sample string 2</Url>
</d2p1:CommonNoteFileCreateModel>
<d2p1:CommonNoteFileCreateModel>
<CommonNoteId xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Common.CommonNoteFileModels.ShareModels">2b18cfe6-a083-41ee-9d45-40b10220d43c</CommonNoteId>
<Name xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Common.CommonNoteFileModels.ShareModels">sample string 1</Name>
<Url xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Common.CommonNoteFileModels.ShareModels">sample string 2</Url>
</d2p1:CommonNoteFileCreateModel>
</AttachFiles>
</CommonNoteCreateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.