http://yktapi.instrument.com.cn/api/GetRoleCourseList?userid={USERID}&roleid={ROLEID} 的引用
获取角色课程列表
Url: http://yktapi.instrument.com.cn/api/GetRoleCourseList?userid={USERID}&roleid={ROLEID}
HTTP 方法: GET
消息方向 | 格式 | 正文 |
---|---|---|
请求 | N/A | 请求 正文为空。 |
响应 | Xml | 示例,架构 |
响应 | Json | 示例 |
<JsonResultOfCorpRoleInfoViewqhEv5ACL 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> <CorpRoleExamList xmlns="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model"> <CorpRoleExamView xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core"> <CompanyId>字符串内容</CompanyId> <CreateDate>1999-05-31T11:20:00</CreateDate> <ExamType>2147483647</ExamType> <Id>2147483647</Id> <IsExam>2147483647</IsExam> <QAId>2147483647</QAId> <QATime>1999-05-31T11:20:00</QATime> <RoleId>2147483647</RoleId> <Score>2147483647</Score> <State>2147483647</State> <Title>字符串内容</Title> </CorpRoleExamView> <CorpRoleExamView xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core"> <CompanyId>字符串内容</CompanyId> <CreateDate>1999-05-31T11:20:00</CreateDate> <ExamType>2147483647</ExamType> <Id>2147483647</Id> <IsExam>2147483647</IsExam> <QAId>2147483647</QAId> <QATime>1999-05-31T11:20:00</QATime> <RoleId>2147483647</RoleId> <Score>2147483647</Score> <State>2147483647</State> <Title>字符串内容</Title> </CorpRoleExamView> </CorpRoleExamList> <CorpRoleView xmlns="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model"> <CompanyId>字符串内容</CompanyId> <Content>字符串内容</Content> <CourseBXDownNum>2147483647</CourseBXDownNum> <CourseBXNum>2147483647</CourseBXNum> <CourseXXDownNum>2147483647</CourseXXDownNum> <CourseXXNum>2147483647</CourseXXNum> <ExamDownNum>2147483647</ExamDownNum> <ExamNum>2147483647</ExamNum> <Name>字符串内容</Name> <RoleCourses> <CorpRoleCourseInfo xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core"> <CompanyId>字符串内容</CompanyId> <CourseExpert>字符串内容</CourseExpert> <CourseId>2147483647</CourseId> <CourseImg>字符串内容</CourseImg> <CourseImgStr>字符串内容</CourseImgStr> <CourseTitle>字符串内容</CourseTitle> <CreateDate>1999-05-31T11:20:00</CreateDate> <ExamId>2147483647</ExamId> <Id>2147483647</Id> <IsExam>2147483647</IsExam> <OwnType>2147483647</OwnType> <Ratio>2147483647</Ratio> <RoleId>2147483647</RoleId> <Score>2147483647</Score> <Sort>2147483647</Sort> <State>2147483647</State> <Type>2147483647</Type> </CorpRoleCourseInfo> <CorpRoleCourseInfo xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core"> <CompanyId>字符串内容</CompanyId> <CourseExpert>字符串内容</CourseExpert> <CourseId>2147483647</CourseId> <CourseImg>字符串内容</CourseImg> <CourseImgStr>字符串内容</CourseImgStr> <CourseTitle>字符串内容</CourseTitle> <CreateDate>1999-05-31T11:20:00</CreateDate> <ExamId>2147483647</ExamId> <Id>2147483647</Id> <IsExam>2147483647</IsExam> <OwnType>2147483647</OwnType> <Ratio>2147483647</Ratio> <RoleId>2147483647</RoleId> <Score>2147483647</Score> <Sort>2147483647</Sort> <State>2147483647</State> <Type>2147483647</Type> </CorpRoleCourseInfo> </RoleCourses> <RoleId>2147483647</RoleId> </CorpRoleView> <RoleCourse xmlns="http://schemas.datacontract.org/2004/07/IM.YKT.WcfService.Model"> <CorpRoleCourseInfo xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core"> <CompanyId>字符串内容</CompanyId> <CourseExpert>字符串内容</CourseExpert> <CourseId>2147483647</CourseId> <CourseImg>字符串内容</CourseImg> <CourseImgStr>字符串内容</CourseImgStr> <CourseTitle>字符串内容</CourseTitle> <CreateDate>1999-05-31T11:20:00</CreateDate> <ExamId>2147483647</ExamId> <Id>2147483647</Id> <IsExam>2147483647</IsExam> <OwnType>2147483647</OwnType> <Ratio>2147483647</Ratio> <RoleId>2147483647</RoleId> <Score>2147483647</Score> <Sort>2147483647</Sort> <State>2147483647</State> <Type>2147483647</Type> </CorpRoleCourseInfo> <CorpRoleCourseInfo xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core"> <CompanyId>字符串内容</CompanyId> <CourseExpert>字符串内容</CourseExpert> <CourseId>2147483647</CourseId> <CourseImg>字符串内容</CourseImg> <CourseImgStr>字符串内容</CourseImgStr> <CourseTitle>字符串内容</CourseTitle> <CreateDate>1999-05-31T11:20:00</CreateDate> <ExamId>2147483647</ExamId> <Id>2147483647</Id> <IsExam>2147483647</IsExam> <OwnType>2147483647</OwnType> <Ratio>2147483647</Ratio> <RoleId>2147483647</RoleId> <Score>2147483647</Score> <Sort>2147483647</Sort> <State>2147483647</State> <Type>2147483647</Type> </CorpRoleCourseInfo> </RoleCourse> </result> </JsonResultOfCorpRoleInfoViewqhEv5ACL>
{ "message":"字符串内容", "ok":2147483647, "page":{ "count":2147483647, "index":2147483647, "size":2147483647 }, "result":{ "CorpRoleExamList":[{ "CompanyId":"字符串内容", "CreateDate":"\/Date(928120800000+0800)\/", "ExamType":2147483647, "Id":2147483647, "IsExam":2147483647, "QAId":2147483647, "QATime":"\/Date(928120800000+0800)\/", "RoleId":2147483647, "Score":2147483647, "State":2147483647, "Title":"字符串内容" }], "CorpRoleView":{ "CompanyId":"字符串内容", "Content":"字符串内容", "CourseBXDownNum":2147483647, "CourseBXNum":2147483647, "CourseXXDownNum":2147483647, "CourseXXNum":2147483647, "ExamDownNum":2147483647, "ExamNum":2147483647, "Name":"字符串内容", "RoleCourses":[{ "CompanyId":"字符串内容", "CourseExpert":"字符串内容", "CourseId":2147483647, "CourseImg":"字符串内容", "CourseImgStr":"字符串内容", "CourseTitle":"字符串内容", "CreateDate":"\/Date(928120800000+0800)\/", "ExamId":2147483647, "Id":2147483647, "IsExam":2147483647, "OwnType":2147483647, "Ratio":2147483647, "RoleId":2147483647, "Score":2147483647, "Sort":2147483647, "State":2147483647, "Type":2147483647 }], "RoleId":2147483647 }, "RoleCourse":[{ "CompanyId":"字符串内容", "CourseExpert":"字符串内容", "CourseId":2147483647, "CourseImg":"字符串内容", "CourseImgStr":"字符串内容", "CourseTitle":"字符串内容", "CreateDate":"\/Date(928120800000+0800)\/", "ExamId":2147483647, "Id":2147483647, "IsExam":2147483647, "OwnType":2147483647, "Ratio":2147483647, "RoleId":2147483647, "Score":2147483647, "Sort":2147483647, "State":2147483647, "Type":2147483647 }] } }
<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="JsonResultOfCorpRoleInfoViewqhEv5ACL"> <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="CorpRoleInfoView" 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:CorpRoleInfoView" /> </xs:sequence> </xs:complexType> <xs:element name="JsonResultOfCorpRoleInfoViewqhEv5ACL" nillable="true" type="tns:JsonResultOfCorpRoleInfoViewqhEv5ACL" /> <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>
<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="CorpRoleInfoView"> <xs:sequence> <xs:element minOccurs="0" name="CorpRoleExamList" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/PersonPay.Core" type="q1:ArrayOfCorpRoleExamView" /> <xs:element minOccurs="0" name="CorpRoleView" nillable="true" type="tns:CorpRoleView" /> <xs:element minOccurs="0" name="RoleCourse" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/PersonPay.Core" type="q2:ArrayOfCorpRoleCourseInfo" /> </xs:sequence> </xs:complexType> <xs:element name="CorpRoleInfoView" nillable="true" type="tns:CorpRoleInfoView" /> <xs:complexType name="CorpRoleView"> <xs:sequence> <xs:element minOccurs="0" name="CompanyId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Content" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CourseBXDownNum" type="xs:int" /> <xs:element minOccurs="0" name="CourseBXNum" type="xs:int" /> <xs:element minOccurs="0" name="CourseXXDownNum" type="xs:int" /> <xs:element minOccurs="0" name="CourseXXNum" type="xs:int" /> <xs:element minOccurs="0" name="ExamDownNum" type="xs:int" /> <xs:element minOccurs="0" name="ExamNum" type="xs:int" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="RoleCourses" nillable="true" xmlns:q3="http://schemas.datacontract.org/2004/07/PersonPay.Core" type="q3:ArrayOfCorpRoleCourseInfo" /> <xs:element minOccurs="0" name="RoleId" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:element name="CorpRoleView" nillable="true" type="tns:CorpRoleView" /> </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="ArrayOfCorpRoleExamView"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="CorpRoleExamView" nillable="true" type="tns:CorpRoleExamView" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfCorpRoleExamView" nillable="true" type="tns:ArrayOfCorpRoleExamView" /> <xs:complexType name="CorpRoleExamView"> <xs:sequence> <xs:element minOccurs="0" name="CompanyId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CreateDate" type="xs:dateTime" /> <xs:element minOccurs="0" name="ExamType" type="xs:int" /> <xs:element minOccurs="0" name="Id" type="xs:int" /> <xs:element minOccurs="0" name="IsExam" type="xs:int" /> <xs:element minOccurs="0" name="QAId" type="xs:int" /> <xs:element minOccurs="0" name="QATime" nillable="true" type="xs:dateTime" /> <xs:element minOccurs="0" name="RoleId" type="xs:int" /> <xs:element minOccurs="0" name="Score" type="xs:int" /> <xs:element minOccurs="0" name="State" type="xs:int" /> <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="CorpRoleExamView" nillable="true" type="tns:CorpRoleExamView" /> <xs:complexType name="ArrayOfCorpRoleCourseInfo"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="CorpRoleCourseInfo" nillable="true" type="tns:CorpRoleCourseInfo" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfCorpRoleCourseInfo" nillable="true" type="tns:ArrayOfCorpRoleCourseInfo" /> <xs:complexType name="CorpRoleCourseInfo"> <xs:sequence> <xs:element minOccurs="0" name="CompanyId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CourseExpert" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CourseId" type="xs:int" /> <xs:element minOccurs="0" name="CourseImg" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CourseImgStr" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CourseTitle" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CreateDate" type="xs:dateTime" /> <xs:element minOccurs="0" name="ExamId" type="xs:int" /> <xs:element minOccurs="0" name="Id" type="xs:int" /> <xs:element minOccurs="0" name="IsExam" type="xs:int" /> <xs:element minOccurs="0" name="OwnType" type="xs:int" /> <xs:element minOccurs="0" name="Ratio" type="xs:int" /> <xs:element minOccurs="0" name="RoleId" type="xs:int" /> <xs:element minOccurs="0" name="Score" type="xs:int" /> <xs:element minOccurs="0" name="Sort" type="xs:int" /> <xs:element minOccurs="0" name="State" type="xs:int" /> <xs:element minOccurs="0" name="Type" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:element name="CorpRoleCourseInfo" nillable="true" type="tns:CorpRoleCourseInfo" /> </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>