POST api/Course/CourseComment

Request Information

URI Parameters

None.

Body Parameters

Collection of Object

None.

Request Formats

application/json, text/json, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CourseCommentResult
NameDescriptionTypeAdditional information
info

ProductCommentInfo

None.

errcode

返回Code(-1请求失败,0请求成功,1调用支付)

integer

None.

errmsg

返回提示消息

string

None.

url

返回Url

string

None.

data

返回数据

string

None.

dataObj

返回数据1

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "info": {
    "id": "sample string 1",
    "NickName": "sample string 2",
    "AccountImage": "sample string 3",
    "Content": "sample string 4",
    "Like": true,
    "Replys": "sample string 6",
    "StarNum": "sample string 7",
    "CreateTime": "sample string 8",
    "ProductName": "sample string 9",
    "ProductImage": "sample string 10",
    "BuyInfo": "sample string 11",
    "ImageList": [
      {
        "url": "sample string 1",
        "img": "sample string 2",
        "text": "sample string 3",
        "description": "sample string 4",
        "isShowText": true,
        "type": 6,
        "createTime": "sample string 7"
      },
      {
        "url": "sample string 1",
        "img": "sample string 2",
        "text": "sample string 3",
        "description": "sample string 4",
        "isShowText": true,
        "type": 6,
        "createTime": "sample string 7"
      }
    ],
    "ReplyTime": "sample string 12",
    "Useful": 13,
    "IsAnonymous": true
  },
  "errcode": 1,
  "errmsg": "sample string 2",
  "url": "sample string 3",
  "data": "sample string 4",
  "dataObj": {}
}

application/xml, text/xml

Sample:
<CourseController.CourseCommentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Controllers">
  <data xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 4</data>
  <dataObj xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models" />
  <errcode xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">1</errcode>
  <errmsg xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 2</errmsg>
  <url xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 3</url>
  <info xmlns:d2p1="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
    <d2p1:AccountImage>sample string 3</d2p1:AccountImage>
    <d2p1:BuyInfo>sample string 11</d2p1:BuyInfo>
    <d2p1:Content>sample string 4</d2p1:Content>
    <d2p1:CreateTime>sample string 8</d2p1:CreateTime>
    <d2p1:ImageList>
      <d2p1:CommImageText>
        <d2p1:createTime>sample string 7</d2p1:createTime>
        <d2p1:description>sample string 4</d2p1:description>
        <d2p1:img>sample string 2</d2p1:img>
        <d2p1:isShowText>true</d2p1:isShowText>
        <d2p1:text>sample string 3</d2p1:text>
        <d2p1:type>6</d2p1:type>
        <d2p1:url>sample string 1</d2p1:url>
      </d2p1:CommImageText>
      <d2p1:CommImageText>
        <d2p1:createTime>sample string 7</d2p1:createTime>
        <d2p1:description>sample string 4</d2p1:description>
        <d2p1:img>sample string 2</d2p1:img>
        <d2p1:isShowText>true</d2p1:isShowText>
        <d2p1:text>sample string 3</d2p1:text>
        <d2p1:type>6</d2p1:type>
        <d2p1:url>sample string 1</d2p1:url>
      </d2p1:CommImageText>
    </d2p1:ImageList>
    <d2p1:IsAnonymous>true</d2p1:IsAnonymous>
    <d2p1:Like>true</d2p1:Like>
    <d2p1:NickName>sample string 2</d2p1:NickName>
    <d2p1:ProductImage>sample string 10</d2p1:ProductImage>
    <d2p1:ProductName>sample string 9</d2p1:ProductName>
    <d2p1:ReplyTime>sample string 12</d2p1:ReplyTime>
    <d2p1:Replys>sample string 6</d2p1:Replys>
    <d2p1:StarNum>sample string 7</d2p1:StarNum>
    <d2p1:Useful>13</d2p1:Useful>
    <d2p1:id>sample string 1</d2p1:id>
  </info>
</CourseController.CourseCommentResult>