POST api/News/Processnewssch

Request Information

URI Parameters

None.

Body Parameters

NewsM
NameDescriptionTypeAdditional information
Id

integer

Required

CategoryId

integer

Required

NewsHeading

string

Required

NewsPreview

string

Required

NewsBody

string

Required

ImagePath

string

Required

processop

string

Required

username

string

Required

accesskey

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CategoryId": 2,
  "NewsHeading": "sample string 3",
  "NewsPreview": "sample string 4",
  "NewsBody": "sample string 5",
  "ImagePath": "sample string 6",
  "processop": "sample string 7",
  "username": "sample string 8",
  "accesskey": "sample string 9"
}

text/html

Sample:
{"Id":1,"CategoryId":2,"NewsHeading":"sample string 3","NewsPreview":"sample string 4","NewsBody":"sample string 5","ImagePath":"sample string 6","processop":"sample string 7","username":"sample string 8","accesskey":"sample string 9"}

application/xml, text/xml

Sample:
<NewsM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolDockAPI.Models">
  <CategoryId>2</CategoryId>
  <Id>1</Id>
  <ImagePath>sample string 6</ImagePath>
  <NewsBody>sample string 5</NewsBody>
  <NewsHeading>sample string 3</NewsHeading>
  <NewsPreview>sample string 4</NewsPreview>
  <accesskey>sample string 9</accesskey>
  <processop>sample string 7</processop>
  <username>sample string 8</username>
</NewsM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.