GET api/ITILNewsCommentary/GetModelById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ITILNewsCommentaryDTO
NameDescriptionTypeAdditional information
Id

integer

None.

MsgID

string

None.

CommentContent

string

None.

ParentID

integer

None.

CreateTime

date

None.

CreatedBy

string

None.

CreatedAccount

string

None.

LikeNum

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MsgID": "sample string 2",
  "CommentContent": "sample string 3",
  "ParentID": 4,
  "CreateTime": "2019-05-19T23:04:32.7447993+08:00",
  "CreatedBy": "sample string 6",
  "CreatedAccount": "sample string 7",
  "LikeNum": 8
}

application/xml, text/xml

Sample:
<ITILNewsCommentaryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CommentContent>sample string 3</CommentContent>
  <CreateTime>2019-05-19T23:04:32.7447993+08:00</CreateTime>
  <CreatedAccount>sample string 7</CreatedAccount>
  <CreatedBy>sample string 6</CreatedBy>
  <Id>1</Id>
  <LikeNum>8</LikeNum>
  <MsgID>sample string 2</MsgID>
  <ParentID>4</ParentID>
</ITILNewsCommentaryDTO>