POST New/CreateResearchNews

Tạo mới tin tức nghiên cứu

Request Information

URI Parameters

None.

Body Parameters

PCreateResearchNewsReq
NameDescriptionTypeAdditional information
UserName

string

None.

Token

string

None.

NewsInfo

RNewsInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Token": "sample string 2",
  "NewsInfo": {
    "NewID": 1,
    "CategoryID": 2,
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Content": "sample string 5",
    "Img": "sample string 6",
    "HotNew": 7,
    "Time": "sample string 8",
    "EName": "sample string 9",
    "EDescription": "sample string 10",
    "EContent": "sample string 11",
    "type": "sample string 12",
    "FileName": "sample string 13",
    "Slide": 14,
    "STT": 15
  }
}

application/xml, text/xml

Sample:
<PCreateResearchNewsReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://cpc1hn.vn/Export/Message/v1">
  <UserName>sample string 1</UserName>
  <Token>sample string 2</Token>
  <NewsInfo>
    <NewID>1</NewID>
    <CategoryID>2</CategoryID>
    <Name>sample string 3</Name>
    <Description>sample string 4</Description>
    <Content>sample string 5</Content>
    <Img>sample string 6</Img>
    <HotNew>7</HotNew>
    <Time>sample string 8</Time>
    <EName>sample string 9</EName>
    <EDescription>sample string 10</EDescription>
    <EContent>sample string 11</EContent>
    <type>sample string 12</type>
    <FileName>sample string 13</FileName>
    <Slide>14</Slide>
    <STT>15</STT>
  </NewsInfo>
</PCreateResearchNewsReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PCreateResearchNewsRes
NameDescriptionTypeAdditional information
RespCode

integer

None.

RespText

string

None.

DocumentID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "RespCode": 1,
  "RespText": "sample string 2",
  "DocumentID": 3
}

application/xml, text/xml

Sample:
<PCreateResearchNewsRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://cpc1hn.vn/Export/Message/v1">
  <RespCode>1</RespCode>
  <RespText>sample string 2</RespText>
  <DocumentID>3</DocumentID>
</PCreateResearchNewsRes>