POST api/ArticleGroup

Request Information

URI Parameters

None.

Body Parameters

ArticleGroup
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Subject

string

None.

ImageUrl

string

None.

IsShow

boolean

None.

Priority

integer

None.

InsertDateTime

date

None.

Articles

Collection of Article

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "Subject": "sample string 3",
  "ImageUrl": "sample string 4",
  "IsShow": true,
  "Priority": 1,
  "InsertDateTime": "2021-06-23T19:36:10.3655352+04:30",
  "Articles": [
    {
      "$id": "2",
      "Id": 1,
      "ArticleGroup_Id": 1,
      "Text": "sample string 2",
      "Author": "sample string 3",
      "IsShow": true,
      "Priority": 1,
      "InsertDateTime": "2021-06-23T19:36:10.3655352+04:30",
      "ArticleGroup": {
        "$ref": "1"
      }
    },
    {
      "$ref": "2"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ArticleGroup
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Subject

string

None.

ImageUrl

string

None.

IsShow

boolean

None.

Priority

integer

None.

InsertDateTime

date

None.

Articles

Collection of Article

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "Subject": "sample string 3",
  "ImageUrl": "sample string 4",
  "IsShow": true,
  "Priority": 1,
  "InsertDateTime": "2021-06-23T19:36:10.3811433+04:30",
  "Articles": [
    {
      "$id": "2",
      "Id": 1,
      "ArticleGroup_Id": 1,
      "Text": "sample string 2",
      "Author": "sample string 3",
      "IsShow": true,
      "Priority": 1,
      "InsertDateTime": "2021-06-23T19:36:10.3811433+04:30",
      "ArticleGroup": {
        "$ref": "1"
      }
    },
    {
      "$ref": "2"
    }
  ]
}