http://yktapi.instrument.com.cn/api/GetCourseDetail?sid={SID}&userid={USERID}&timestamp={TIMESTAMP}&sn={SN} 的引用

获取课程详情页信息

Url: http://yktapi.instrument.com.cn/api/GetCourseDetail?sid={SID}&userid={USERID}&timestamp={TIMESTAMP}&sn={SN}

HTTP 方法: GET

消息方向 格式 正文
请求 N/A 请求 正文为空。
响应 Xml 示例,架构
响应 Json 示例

以下是示例响应 XML 正文:

<JsonResultOfCourseDetailqhEv5ACL xmlns="http://schemas.datacontract.org/2004/07/Service.Wcf">
  <message>字符串内容</message>
  <ok>2147483647</ok>
  <page>
    <count>2147483647</count>
    <index>2147483647</index>
    <size>2147483647</size>
  </page>
  <result>
    <BuyCount xmlns="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model">2147483647</BuyCount>
    <CanSee xmlns="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model">true</CanSee>
    <Course xmlns="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model">
      <Contents xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</Contents>
      <EndDateStr xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</EndDateStr>
      <ExpertName xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</ExpertName>
      <ImgUrlStr xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</ImgUrlStr>
      <LectureId xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</LectureId>
      <LectureImgStr xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</LectureImgStr>
      <LectureInfo xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</LectureInfo>
      <LectureName xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</LectureName>
      <NewcomerActivity xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</NewcomerActivity>
      <PriceDiscount xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">12678967.543233</PriceDiscount>
      <PriceDiscountEndTime xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">1999-05-31T11:20:00</PriceDiscountEndTime>
      <PriceDiscountEndTimeStr xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</PriceDiscountEndTimeStr>
      <PriceDiscountTitle xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</PriceDiscountTitle>
      <PriceDiscountType xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</PriceDiscountType>
      <StartDateStr xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</StartDateStr>
      <Status xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</Status>
      <SubjectId xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</SubjectId>
      <SubjectImage xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</SubjectImage>
      <SubjectImageStr xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</SubjectImageStr>
      <SubjectType xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</SubjectType>
      <Summary xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</Summary>
      <Title xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</Title>
      <TrainCourseNum xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</TrainCourseNum>
      <TrainId xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</TrainId>
      <TrainImgStr xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</TrainImgStr>
      <TrainName xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</TrainName>
      <chargeMoney xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">12678967.543233</chargeMoney>
      <isCharges xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</isCharges>
    </Course>
    <IsComment xmlns="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model">2147483647</IsComment>
    <VideoList xmlns="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model">
      <WebinarVideoInfo xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">
        <CCVId>字符串内容</CCVId>
        <CCVIdNew>字符串内容</CCVIdNew>
        <Click>2147483647</Click>
        <Cover>字符串内容</Cover>
        <CreateDateStr>字符串内容</CreateDateStr>
        <IsPreSale>2147483647</IsPreSale>
        <PreSaleInfo>字符串内容</PreSaleInfo>
        <PreSubjectId>2147483647</PreSubjectId>
        <Sizes>2147483647</Sizes>
        <State>2147483647</State>
        <SubjectId>2147483647</SubjectId>
        <Summary>字符串内容</Summary>
        <TimeStr>字符串内容</TimeStr>
        <Title>字符串内容</Title>
        <Videoid>2147483647</Videoid>
      </WebinarVideoInfo>
      <WebinarVideoInfo xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">
        <CCVId>字符串内容</CCVId>
        <CCVIdNew>字符串内容</CCVIdNew>
        <Click>2147483647</Click>
        <Cover>字符串内容</Cover>
        <CreateDateStr>字符串内容</CreateDateStr>
        <IsPreSale>2147483647</IsPreSale>
        <PreSaleInfo>字符串内容</PreSaleInfo>
        <PreSubjectId>2147483647</PreSubjectId>
        <Sizes>2147483647</Sizes>
        <State>2147483647</State>
        <SubjectId>2147483647</SubjectId>
        <Summary>字符串内容</Summary>
        <TimeStr>字符串内容</TimeStr>
        <Title>字符串内容</Title>
        <Videoid>2147483647</Videoid>
      </WebinarVideoInfo>
    </VideoList>
  </result>
</JsonResultOfCourseDetailqhEv5ACL>

以下是示例响应 Json 正文:

{
	"message":"字符串内容",
	"ok":2147483647,
	"page":{
		"count":2147483647,
		"index":2147483647,
		"size":2147483647
	},
	"result":{
		"BuyCount":2147483647,
		"CanSee":true,
		"Course":{
			"Contents":"字符串内容",
			"EndDateStr":"字符串内容",
			"ExpertName":"字符串内容",
			"ImgUrlStr":"字符串内容",
			"LectureId":2147483647,
			"LectureImgStr":"字符串内容",
			"LectureInfo":"字符串内容",
			"LectureName":"字符串内容",
			"NewcomerActivity":2147483647,
			"PriceDiscount":12678967.543233,
			"PriceDiscountEndTime":"\/Date(928120800000+0800)\/",
			"PriceDiscountEndTimeStr":"字符串内容",
			"PriceDiscountTitle":"字符串内容",
			"PriceDiscountType":"字符串内容",
			"StartDateStr":"字符串内容",
			"Status":2147483647,
			"SubjectId":2147483647,
			"SubjectImage":"字符串内容",
			"SubjectImageStr":"字符串内容",
			"SubjectType":2147483647,
			"Summary":"字符串内容",
			"Title":"字符串内容",
			"TrainCourseNum":2147483647,
			"TrainId":2147483647,
			"TrainImgStr":"字符串内容",
			"TrainName":"字符串内容",
			"chargeMoney":12678967.543233,
			"isCharges":2147483647
		},
		"IsComment":2147483647,
		"VideoList":[{
			"CCVId":"字符串内容",
			"CCVIdNew":"字符串内容",
			"Click":2147483647,
			"Cover":"字符串内容",
			"CreateDateStr":"字符串内容",
			"IsPreSale":2147483647,
			"PreSaleInfo":"字符串内容",
			"PreSubjectId":2147483647,
			"Sizes":2147483647,
			"State":2147483647,
			"SubjectId":2147483647,
			"Summary":"字符串内容",
			"TimeStr":"字符串内容",
			"Title":"字符串内容",
			"Videoid":2147483647
		}]
	}
}

以下是响应 XML 架构:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Service.Wcf" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Service.Wcf" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model" />
  <xs:complexType name="JsonResultOfCourseDetailqhEv5ACL">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="JsonResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/Service.Wcf" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="CourseDetail" Namespace="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element minOccurs="0" name="message" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="ok" type="xs:int" />
      <xs:element minOccurs="0" name="page" nillable="true" type="tns:Pages">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="result" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model" type="q1:CourseDetail" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="JsonResultOfCourseDetailqhEv5ACL" nillable="true" type="tns:JsonResultOfCourseDetailqhEv5ACL" />
  <xs:complexType name="Pages">
    <xs:sequence>
      <xs:element minOccurs="0" name="count" type="xs:int" />
      <xs:element minOccurs="0" name="index" type="xs:int">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="size" type="xs:int">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Pages" nillable="true" type="tns:Pages" />
</xs:schema>

其他响应 XML 架构:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/PersonPay.Core" />
  <xs:complexType name="CourseDetail">
    <xs:sequence>
      <xs:element minOccurs="0" name="BuyCount" type="xs:int" />
      <xs:element minOccurs="0" name="CanSee" type="xs:boolean" />
      <xs:element minOccurs="0" name="Course" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/PersonPay.Core" type="q1:WebinarMeetingSubjectInfo" />
      <xs:element minOccurs="0" name="IsComment" type="xs:int" />
      <xs:element minOccurs="0" name="VideoList" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/PersonPay.Core" type="q2:ArrayOfWebinarVideoInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CourseDetail" nillable="true" type="tns:CourseDetail" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/PersonPay.Core" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/PersonPay.Core" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="WebinarMeetingSubjectInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="Contents" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EndDateStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ExpertName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ImgUrlStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LectureId" type="xs:int" />
      <xs:element minOccurs="0" name="LectureImgStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LectureInfo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LectureName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NewcomerActivity" type="xs:int" />
      <xs:element minOccurs="0" name="PriceDiscount" type="xs:decimal" />
      <xs:element minOccurs="0" name="PriceDiscountEndTime" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="PriceDiscountEndTimeStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PriceDiscountTitle" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PriceDiscountType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StartDateStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Status" type="xs:int" />
      <xs:element minOccurs="0" name="SubjectId" type="xs:int" />
      <xs:element minOccurs="0" name="SubjectImage" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SubjectImageStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SubjectType" type="xs:int" />
      <xs:element minOccurs="0" name="Summary" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TrainCourseNum" type="xs:int" />
      <xs:element minOccurs="0" name="TrainId" type="xs:int" />
      <xs:element minOccurs="0" name="TrainImgStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TrainName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="chargeMoney" type="xs:decimal" />
      <xs:element minOccurs="0" name="isCharges" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="WebinarMeetingSubjectInfo" nillable="true" type="tns:WebinarMeetingSubjectInfo" />
  <xs:complexType name="ArrayOfWebinarVideoInfo">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="WebinarVideoInfo" nillable="true" type="tns:WebinarVideoInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfWebinarVideoInfo" nillable="true" type="tns:ArrayOfWebinarVideoInfo" />
  <xs:complexType name="WebinarVideoInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="CCVId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CCVIdNew" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Click" type="xs:int" />
      <xs:element minOccurs="0" name="Cover" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreateDateStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsPreSale" type="xs:int" />
      <xs:element minOccurs="0" name="PreSaleInfo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PreSubjectId" type="xs:int" />
      <xs:element minOccurs="0" name="Sizes" type="xs:int" />
      <xs:element minOccurs="0" name="State" type="xs:int" />
      <xs:element minOccurs="0" name="SubjectId" type="xs:int" />
      <xs:element minOccurs="0" name="Summary" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TimeStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Videoid" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="WebinarVideoInfo" nillable="true" type="tns:WebinarVideoInfo" />
</xs:schema>

<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="schema">
    <xs:complexType />
  </xs:element>
</xs:schema>