GET api/PoctLogin/BookGetPostCommentListTeacherNewCommentUpload

Request Information

URI Parameters

None.

Body Parameters

PostGetList
NameDescriptionTypeAdditional information
Sn

integer

None.

Title

string

None.

UserCode

string

None.

Name

string

None.

ProfileImage

string

None.

Category

string

None.

PostDate

string

None.

CommentTitle

string

None.

Choices

Collection of ImageModel

None.

ReplyList

Collection of ReplyListModel

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "Sn": 1,
  "Title": "sample string 2",
  "UserCode": "sample string 3",
  "Name": "sample string 4",
  "ProfileImage": "sample string 5",
  "Category": "sample string 6",
  "PostDate": "sample string 7",
  "CommentTitle": "sample string 8",
  "Choices": [
    {
      "Sn": 1,
      "UserCode": "sample string 2",
      "Title": "sample string 3",
      "PostImageUrl": "sample string 4",
      "Status": "sample string 5",
      "PostID": 1
    },
    {
      "Sn": 1,
      "UserCode": "sample string 2",
      "Title": "sample string 3",
      "PostImageUrl": "sample string 4",
      "Status": "sample string 5",
      "PostID": 1
    }
  ],
  "ReplyList": [
    {
      "Sn": 1,
      "PostId": 1,
      "Title": "sample string 2",
      "UserCode": "sample string 3",
      "Name": "sample string 4",
      "ProfileImage": "sample string 5",
      "Category": "sample string 6",
      "ReplyDate": "sample string 7",
      "ReplyComment": "sample string 8",
      "ChoicesReply": [
        {
          "Sn": 1,
          "PostID": 1,
          "UserCode": "sample string 2",
          "PostImageUrl": "sample string 3",
          "Status": "sample string 4"
        },
        {
          "Sn": 1,
          "PostID": 1,
          "UserCode": "sample string 2",
          "PostImageUrl": "sample string 3",
          "Status": "sample string 4"
        }
      ]
    },
    {
      "Sn": 1,
      "PostId": 1,
      "Title": "sample string 2",
      "UserCode": "sample string 3",
      "Name": "sample string 4",
      "ProfileImage": "sample string 5",
      "Category": "sample string 6",
      "ReplyDate": "sample string 7",
      "ReplyComment": "sample string 8",
      "ChoicesReply": [
        {
          "Sn": 1,
          "PostID": 1,
          "UserCode": "sample string 2",
          "PostImageUrl": "sample string 3",
          "Status": "sample string 4"
        },
        {
          "Sn": 1,
          "PostID": 1,
          "UserCode": "sample string 2",
          "PostImageUrl": "sample string 3",
          "Status": "sample string 4"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<Login.PostGetList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoctAPI.Models">
  <Category>sample string 6</Category>
  <Choices>
    <Login.ImageModel>
      <PostID>1</PostID>
      <PostImageUrl>sample string 4</PostImageUrl>
      <Sn>1</Sn>
      <Status>sample string 5</Status>
      <Title>sample string 3</Title>
      <UserCode>sample string 2</UserCode>
    </Login.ImageModel>
    <Login.ImageModel>
      <PostID>1</PostID>
      <PostImageUrl>sample string 4</PostImageUrl>
      <Sn>1</Sn>
      <Status>sample string 5</Status>
      <Title>sample string 3</Title>
      <UserCode>sample string 2</UserCode>
    </Login.ImageModel>
  </Choices>
  <CommentTitle>sample string 8</CommentTitle>
  <Name>sample string 4</Name>
  <PostDate>sample string 7</PostDate>
  <ProfileImage>sample string 5</ProfileImage>
  <ReplyList>
    <Login.ReplyListModel>
      <Category>sample string 6</Category>
      <ChoicesReply>
        <Login.ImageChoicesReplyModel>
          <PostID>1</PostID>
          <PostImageUrl>sample string 3</PostImageUrl>
          <Sn>1</Sn>
          <Status>sample string 4</Status>
          <UserCode>sample string 2</UserCode>
        </Login.ImageChoicesReplyModel>
        <Login.ImageChoicesReplyModel>
          <PostID>1</PostID>
          <PostImageUrl>sample string 3</PostImageUrl>
          <Sn>1</Sn>
          <Status>sample string 4</Status>
          <UserCode>sample string 2</UserCode>
        </Login.ImageChoicesReplyModel>
      </ChoicesReply>
      <Name>sample string 4</Name>
      <PostId>1</PostId>
      <ProfileImage>sample string 5</ProfileImage>
      <ReplyComment>sample string 8</ReplyComment>
      <ReplyDate>sample string 7</ReplyDate>
      <Sn>1</Sn>
      <Title>sample string 2</Title>
      <UserCode>sample string 3</UserCode>
    </Login.ReplyListModel>
    <Login.ReplyListModel>
      <Category>sample string 6</Category>
      <ChoicesReply>
        <Login.ImageChoicesReplyModel>
          <PostID>1</PostID>
          <PostImageUrl>sample string 3</PostImageUrl>
          <Sn>1</Sn>
          <Status>sample string 4</Status>
          <UserCode>sample string 2</UserCode>
        </Login.ImageChoicesReplyModel>
        <Login.ImageChoicesReplyModel>
          <PostID>1</PostID>
          <PostImageUrl>sample string 3</PostImageUrl>
          <Sn>1</Sn>
          <Status>sample string 4</Status>
          <UserCode>sample string 2</UserCode>
        </Login.ImageChoicesReplyModel>
      </ChoicesReply>
      <Name>sample string 4</Name>
      <PostId>1</PostId>
      <ProfileImage>sample string 5</ProfileImage>
      <ReplyComment>sample string 8</ReplyComment>
      <ReplyDate>sample string 7</ReplyDate>
      <Sn>1</Sn>
      <Title>sample string 2</Title>
      <UserCode>sample string 3</UserCode>
    </Login.ReplyListModel>
  </ReplyList>
  <Sn>1</Sn>
  <Title>sample string 2</Title>
  <UserCode>sample string 3</UserCode>
</Login.PostGetList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.