POST api/Order/PostAddNews

Request Information

URI Parameters

None.

Body Parameters

News
NameDescriptionTypeAdditional information
ID

integer

None.

Title

string

None.

TypeID

integer

None.

Author

string

None.

Source

string

None.

CreateTime

date

None.

Details

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Title": "sample string 2",
  "TypeID": 1,
  "Author": "sample string 3",
  "Source": "sample string 4",
  "CreateTime": "2025-12-06T13:59:52.3808593+08:00",
  "Details": "sample string 5"
}

application/xml, text/xml

Sample:
<News xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YYCMS">
  <Author>sample string 3</Author>
  <CreateTime>2025-12-06T13:59:52.3808593+08:00</CreateTime>
  <Details>sample string 5</Details>
  <ID>1</ID>
  <Source>sample string 4</Source>
  <Title>sample string 2</Title>
  <TypeID>1</TypeID>
</News>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.