POST api/NewsMaster/ModifyNews

Request Information

URI Parameters

None.

Body Parameters

ModifyNewsMasterReqModel
NameDescriptionTypeAdditional information
id

integer

Required

NewsCategory

string

Required

NewsTitle

string

Required

String length: inclusive between 0 and 200

NewsTitleEnglish

string

Required

String length: inclusive between 0 and 200

NewsCode

string

Required

String length: inclusive between 0 and 200

NewsDescription

string

Required

CoverImage

string

None.

VideoLink

string

None.

seoKeyword

string

None.

seoDescription

string

None.

WrittingBy

integer

None.

CoveredBy

integer

None.

PhotoBy

integer

None.

PublishDate

date

None.

sts

string

Required

Channels

Collection of integer

Required

Min length: 1

NewsType

Collection of integer

None.

NewsGroups

Collection of integer

Required

Min length: 1

NewsTag

Collection of integer

Required

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "NewsCategory": "sample string 1",
  "NewsTitle": "sample string 2",
  "NewsTitleEnglish": "sample string 3",
  "NewsCode": "sample string 4",
  "NewsDescription": "sample string 5",
  "CoverImage": "sample string 6",
  "VideoLink": "sample string 7",
  "seoKeyword": "sample string 8",
  "seoDescription": "sample string 9",
  "WrittingBy": 1,
  "CoveredBy": 1,
  "PhotoBy": 1,
  "PublishDate": "2025-10-27T12:16:26.5377574+05:30",
  "sts": "sample string 10",
  "Channels": [
    1,
    2
  ],
  "NewsType": [
    1,
    2
  ],
  "NewsGroups": [
    1,
    2
  ],
  "NewsTag": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.