POST api/Admin/SaveArticle
Request Information
URI Parameters
None.
Body Parameters
ArticleName | Description | Type | Additional information |
---|---|---|---|
ArticleID | integer |
None. |
|
Heading | string |
None. |
|
ArticleImageUrl | string |
None. |
|
ImageOriginalName | string |
None. |
|
ArticleDescription | string |
None. |
|
ReadCount | integer |
None. |
|
CreatedBy | integer |
None. |
|
ModifiedBy | integer |
None. |
|
StatusID | integer |
None. |
|
CreatedOn | date |
None. |
|
ModifiedOn | date |
None. |
|
IsDelete | boolean |
None. |
|
CreatedSince | string |
None. |
|
StatusName | string |
None. |
|
ArticleText | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ArticleID": 1, "Heading": "sample string 2", "ArticleImageUrl": "sample string 3", "ImageOriginalName": "sample string 4", "ArticleDescription": "sample string 5", "ReadCount": 1, "CreatedBy": 6, "ModifiedBy": 1, "StatusID": 7, "CreatedOn": "2024-11-21T09:07:54.0669486+00:00", "ModifiedOn": "2024-11-21T09:07:54.0669486+00:00", "IsDelete": true, "CreatedSince": "sample string 10", "StatusName": "sample string 11", "ArticleText": "sample string 12" }
application/xml, text/xml
Sample:
<Article xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models"> <ArticleDescription>sample string 5</ArticleDescription> <ArticleID>1</ArticleID> <ArticleImageUrl>sample string 3</ArticleImageUrl> <ArticleText>sample string 12</ArticleText> <CreatedBy>6</CreatedBy> <CreatedOn>2024-11-21T09:07:54.0669486+00:00</CreatedOn> <CreatedSince>sample string 10</CreatedSince> <Heading>sample string 2</Heading> <ImageOriginalName>sample string 4</ImageOriginalName> <IsDelete>true</IsDelete> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2024-11-21T09:07:54.0669486+00:00</ModifiedOn> <ReadCount>1</ReadCount> <StatusID>7</StatusID> <StatusName>sample string 11</StatusName> </Article>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.