POST api/VmeduArticle/AddNewArticle
Request Information
URI Parameters
None.
Body Parameters
VmeduArticleModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Categories | string |
None. |
|
| Title | string |
None. |
|
| SACIds | string |
None. |
|
| ArticleLanguageId | integer |
None. |
|
| AltText | string |
None. |
|
| ArticleUrl | string |
None. |
|
| Body | string |
None. |
|
| MetaKeywords | string |
None. |
|
| MetaDescription | string |
None. |
|
| ArticleDate | date |
None. |
|
| Publish | integer |
None. |
|
| ArticleImage | HttpPostedFileBase |
None. |
|
| SelectedSACIds | Collection of integer |
None. |
|
| AddedBy | integer |
None. |
|
| QAttachment | string |
None. |
|
| FileType | string |
None. |
|
| UserId | integer |
None. |
|
| LanguageId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Categories": "sample string 1",
"Title": "sample string 2",
"SACIds": "sample string 3",
"ArticleLanguageId": 4,
"AltText": "sample string 5",
"ArticleUrl": "sample string 6",
"Body": "sample string 7",
"MetaKeywords": "sample string 8",
"MetaDescription": "sample string 9",
"ArticleDate": "2026-02-04T09:07:04.5987117+05:30",
"Publish": 11,
"ArticleImage": null,
"SelectedSACIds": [
1,
2
],
"AddedBy": 12,
"QAttachment": "sample string 13",
"FileType": "sample string 14",
"UserId": 15,
"LanguageId": 1
}
application/xml, text/xml
Sample:
<VmeduArticleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VMEduWebAPI2.Models">
<AddedBy>12</AddedBy>
<AltText>sample string 5</AltText>
<ArticleDate>2026-02-04T09:07:04.5987117+05:30</ArticleDate>
<ArticleImage xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
<ArticleLanguageId>4</ArticleLanguageId>
<ArticleUrl>sample string 6</ArticleUrl>
<Body>sample string 7</Body>
<Categories>sample string 1</Categories>
<FileType>sample string 14</FileType>
<LanguageId>1</LanguageId>
<MetaDescription>sample string 9</MetaDescription>
<MetaKeywords>sample string 8</MetaKeywords>
<Publish>11</Publish>
<QAttachment>sample string 13</QAttachment>
<SACIds>sample string 3</SACIds>
<SelectedSACIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</SelectedSACIds>
<Title>sample string 2</Title>
<UserId>15</UserId>
</VmeduArticleModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |