POST api/Article
Request Information
URI Parameters
None.
Body Parameters
ArticleName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ArticleGroup_Id | integer |
None. |
|
Text | string |
None. |
|
Author | string |
None. |
|
IsShow | boolean |
None. |
|
Priority | integer |
None. |
|
InsertDateTime | date |
None. |
|
ArticleGroup | ArticleGroup |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "ArticleGroup_Id": 1, "Text": "sample string 2", "Author": "sample string 3", "IsShow": true, "Priority": 1, "InsertDateTime": "2021-02-25T05:52:45.5886303+03:30", "ArticleGroup": { "$id": "2", "Id": 1, "Title": "sample string 2", "Subject": "sample string 3", "ImageUrl": "sample string 4", "IsShow": true, "Priority": 1, "InsertDateTime": "2021-02-25T05:52:45.5886303+03:30", "Articles": [ { "$ref": "1" }, { "$ref": "1" } ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ArticleName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ArticleGroup_Id | integer |
None. |
|
Text | string |
None. |
|
Author | string |
None. |
|
IsShow | boolean |
None. |
|
Priority | integer |
None. |
|
InsertDateTime | date |
None. |
|
ArticleGroup | ArticleGroup |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "ArticleGroup_Id": 1, "Text": "sample string 2", "Author": "sample string 3", "IsShow": true, "Priority": 1, "InsertDateTime": "2021-02-25T05:52:45.5886303+03:30", "ArticleGroup": { "$id": "2", "Id": 1, "Title": "sample string 2", "Subject": "sample string 3", "ImageUrl": "sample string 4", "IsShow": true, "Priority": 1, "InsertDateTime": "2021-02-25T05:52:45.5886303+03:30", "Articles": [ { "$ref": "1" }, { "$ref": "1" } ] } }