http://yktapi.instrument.com.cn/api/GetTrain?plat={PLAT}&ctrain={CTRAIN}&timestamp={TIMESTAMP}&sn={SN} 的引用

获取企业信息以及旗下课程合集

Url: http://yktapi.instrument.com.cn/api/GetTrain?plat={PLAT}&ctrain={CTRAIN}&timestamp={TIMESTAMP}&sn={SN}

HTTP 方法: GET

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

以下是示例响应 XML 正文:

<JsonResultOfCompanyTrainInfoi2Z876Bf 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>
    <BackImgUrlStr xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</BackImgUrlStr>
    <CompanyContent xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</CompanyContent>
    <CompanyId xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</CompanyId>
    <CompanyImg xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</CompanyImg>
    <CompanyImgStr xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</CompanyImgStr>
    <CompanyTitle xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</CompanyTitle>
    <CompanyUrl xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</CompanyUrl>
    <CompanyUserId xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</CompanyUserId>
    <CompanyUserPW xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</CompanyUserPW>
    <CreateDate xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">1999-05-31T11:20:00</CreateDate>
    <Id xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</Id>
    <IsAgent xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</IsAgent>
    <Label xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">
      <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">字符串内容</string>
      <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">字符串内容</string>
    </Label>
    <LastLoginDate xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">1999-05-31T11:20:00</LastLoginDate>
    <LecturerList xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">
      <CompanyLecturerInfo>
        <APPBackImgUrlStr>字符串内容</APPBackImgUrlStr>
        <CompanyUserId>2147483647</CompanyUserId>
        <CourseNum>2147483647</CourseNum>
        <CreateDate>1999-05-31T11:20:00</CreateDate>
        <ErrorMsg>字符串内容</ErrorMsg>
        <HotNum>2147483647</HotNum>
        <Id>2147483647</Id>
        <Label>
          <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">字符串内容</string>
          <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">字符串内容</string>
        </Label>
        <LecturerEmail>字符串内容</LecturerEmail>
        <LecturerImg>字符串内容</LecturerImg>
        <LecturerImgStr>字符串内容</LecturerImgStr>
        <LecturerInfo>字符串内容</LecturerInfo>
        <LecturerName>字符串内容</LecturerName>
        <Remark>字符串内容</Remark>
        <State>2147483647</State>
        <TrainId>2147483647</TrainId>
        <ZanNum>2147483647</ZanNum>
      </CompanyLecturerInfo>
      <CompanyLecturerInfo>
        <APPBackImgUrlStr>字符串内容</APPBackImgUrlStr>
        <CompanyUserId>2147483647</CompanyUserId>
        <CourseNum>2147483647</CourseNum>
        <CreateDate>1999-05-31T11:20:00</CreateDate>
        <ErrorMsg>字符串内容</ErrorMsg>
        <HotNum>2147483647</HotNum>
        <Id>2147483647</Id>
        <Label>
          <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">字符串内容</string>
          <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">字符串内容</string>
        </Label>
        <LecturerEmail>字符串内容</LecturerEmail>
        <LecturerImg>字符串内容</LecturerImg>
        <LecturerImgStr>字符串内容</LecturerImgStr>
        <LecturerInfo>字符串内容</LecturerInfo>
        <LecturerName>字符串内容</LecturerName>
        <Remark>字符串内容</Remark>
        <State>2147483647</State>
        <TrainId>2147483647</TrainId>
        <ZanNum>2147483647</ZanNum>
      </CompanyLecturerInfo>
    </LecturerList>
    <OwnerType xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</OwnerType>
    <Proportion xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">12678967.543233</Proportion>
    <Remark xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</Remark>
    <ShortName xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</ShortName>
    <Sort xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</Sort>
    <State xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</State>
    <SubjectId xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</SubjectId>
    <SubjectNum xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</SubjectNum>
  </result>
</JsonResultOfCompanyTrainInfoi2Z876Bf>

以下是示例响应 Json 正文:

{
	"message":"字符串内容",
	"ok":2147483647,
	"page":{
		"count":2147483647,
		"index":2147483647,
		"size":2147483647
	},
	"result":{
		"BackImgUrlStr":"字符串内容",
		"CompanyContent":"字符串内容",
		"CompanyId":2147483647,
		"CompanyImg":"字符串内容",
		"CompanyImgStr":"字符串内容",
		"CompanyTitle":"字符串内容",
		"CompanyUrl":"字符串内容",
		"CompanyUserId":"字符串内容",
		"CompanyUserPW":"字符串内容",
		"CreateDate":"\/Date(928120800000+0800)\/",
		"Id":2147483647,
		"IsAgent":2147483647,
		"Label":["字符串内容"],
		"LastLoginDate":"\/Date(928120800000+0800)\/",
		"LecturerList":[{
			"APPBackImgUrlStr":"字符串内容",
			"CompanyUserId":2147483647,
			"CourseNum":2147483647,
			"CreateDate":"\/Date(928120800000+0800)\/",
			"ErrorMsg":"字符串内容",
			"HotNum":2147483647,
			"Id":2147483647,
			"Label":["字符串内容"],
			"LecturerEmail":"字符串内容",
			"LecturerImg":"字符串内容",
			"LecturerImgStr":"字符串内容",
			"LecturerInfo":"字符串内容",
			"LecturerName":"字符串内容",
			"Remark":"字符串内容",
			"State":2147483647,
			"TrainId":2147483647,
			"ZanNum":2147483647
		}],
		"OwnerType":2147483647,
		"Proportion":12678967.543233,
		"Remark":"字符串内容",
		"ShortName":"字符串内容",
		"Sort":2147483647,
		"State":2147483647,
		"SubjectId":"字符串内容",
		"SubjectNum":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/PersonPay.Core" />
  <xs:complexType name="JsonResultOfCompanyTrainInfoi2Z876Bf">
    <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="CompanyTrainInfo" Namespace="http://schemas.datacontract.org/2004/07/PersonPay.Core" />
        </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/PersonPay.Core" type="q1:CompanyTrainInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="JsonResultOfCompanyTrainInfoi2Z876Bf" nillable="true" type="tns:JsonResultOfCompanyTrainInfoi2Z876Bf" />
  <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/PersonPay.Core" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/PersonPay.Core" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="CompanyTrainInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="BackImgUrlStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyContent" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyId" type="xs:int" />
      <xs:element minOccurs="0" name="CompanyImg" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyImgStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyTitle" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyUrl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyUserId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyUserPW" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreateDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="IsAgent" type="xs:int" />
      <xs:element minOccurs="0" name="Label" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" />
      <xs:element minOccurs="0" name="LastLoginDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="LecturerList" nillable="true" type="tns:ArrayOfCompanyLecturerInfo" />
      <xs:element minOccurs="0" name="OwnerType" type="xs:int" />
      <xs:element minOccurs="0" name="Proportion" type="xs:decimal" />
      <xs:element minOccurs="0" name="Remark" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ShortName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Sort" type="xs:int" />
      <xs:element minOccurs="0" name="State" type="xs:int" />
      <xs:element minOccurs="0" name="SubjectId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SubjectNum" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CompanyTrainInfo" nillable="true" type="tns:CompanyTrainInfo" />
  <xs:complexType name="ArrayOfCompanyLecturerInfo">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CompanyLecturerInfo" nillable="true" type="tns:CompanyLecturerInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCompanyLecturerInfo" nillable="true" type="tns:ArrayOfCompanyLecturerInfo" />
  <xs:complexType name="CompanyLecturerInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="APPBackImgUrlStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyUserId" type="xs:int" />
      <xs:element minOccurs="0" name="CourseNum" type="xs:int" />
      <xs:element minOccurs="0" name="CreateDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ErrorMsg" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="HotNum" type="xs:int" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="Label" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfstring" />
      <xs:element minOccurs="0" name="LecturerEmail" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LecturerImg" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LecturerImgStr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LecturerInfo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LecturerName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Remark" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="State" type="xs:int" />
      <xs:element minOccurs="0" name="TrainId" type="xs:int" />
      <xs:element minOccurs="0" name="ZanNum" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CompanyLecturerInfo" nillable="true" type="tns:CompanyLecturerInfo" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfstring">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
</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>