2.5.2 SOAP

2.5.2.1组织机构相关查询接口

2.5.2.1.1概述
注册账号 服务名称 服务URL 服务负责人 负责人邮箱 状态
mdm cs_auth_web/webservice/org.query 张健 [email protected]
2.5.2.1.2searchORG方法
2.5.2.1.2.1描述

根据条件获取组织机构详情

2.5.2.1.2.2入参
参数名 描述 类型 是否必填
param 输入的查询条件 SearchORGReq
userInfo 当前用户信息 UserInfo
2.5.2.1.2.3出参
参数名 描述 类型 是否必填
code 返回码 int
msg 描述 String
result 组织机构详细信息 ORG[]
2.5.2.1.2.4返回状态码
状态码 含义
0 操作成功
-1 系统错误

2.5.2.2一卡通查询接口

2.5.2.2.1概述
注册账号 服务名称 服务URL 服务负责人 负责人邮箱 状态
mdm mdb_service_web/webservice/stuAPI 张健 [email protected]
2.5.2.2.2getStuCardInfoByStuID方法
2.5.2.2.2.1描述

查询某个学生的一卡通交易详情

2.5.2.2.2.2入参
参数名 描述 类型 是否必填
userId 学生ID号 String
page 分页对象 Page
2.5.2.2.2.3出参
参数名 描述 类型 是否必填
status 返回码 int
msg 描述 String
total 总条数 int
stuCardInfo 学生交易明细 StuCardInfo[]
2.5.2.2.2.4返回状态码
状态码 含义
200 操作成功
400 参数错误
500 系统错误
2.5.2.2.2.5码流样例

2.5.2.2.2.5.1请求

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:stu="http://stu.ws.api.mdbservice.wisedu.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <stu:GetStuCardInfoByStuID>
         <!--Optional:-->
         <StuCardInfoRequest>
            <!--Optional:-->
            <page>
               <!--Optional:-->
               <order></order>
               <!--Optional:-->
               <orderBy></orderBy>
               <pageNum>1</pageNum>
               <pageSize>10</pageSize>
            </page>
            <!--Optional:-->
            <userId>201004043</userId>
         </StuCardInfoRequest>
      </stu:GetStuCardInfoByStuID>
   </soapenv:Body>
</soapenv:Envelope>

2.5.2.2.2.5.2 响应

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:GetStuCardInfoByStuIDResponse xmlns:ns2="http://stu.ws.api.mdbservice.wisedu.com/">
         <StuCardInfoResponse>
            <msg>success</msg>
            <page>
               <order/>
               <orderBy/>
               <pageNum>1</pageNum>
               <pageSize>10</pageSize>
            </page>
            <status>200</status>
            <total>3</total>
            <stuCardInfo>
               <cardBalance>2.0</cardBalance>
               <consumeAmount>0.0</consumeAmount>
               <dealDate>2016-08-31</dealDate>
               <dealLocation>一食堂</dealLocation>
               <dealTime>08:41:10</dealTime>
               <dealType>支消费减值</dealType>
               <rechargeAmount>1.0</rechargeAmount>
            </stuCardInfo>
            <stuCardInfo>
               <cardBalance>2.0</cardBalance>
               <consumeAmount>0.0</consumeAmount>
               <dealDate>2016-09-24</dealDate>
               <dealLocation>一食堂</dealLocation>
               <dealTime>08:41:10</dealTime>
               <dealType>支消费减值</dealType>
               <rechargeAmount>1.0</rechargeAmount>
            </stuCardInfo>
            <stuCardInfo>
               <cardBalance>2.0</cardBalance>
               <consumeAmount>0.0</consumeAmount>
               <dealDate>2016-11-14</dealDate>
               <dealLocation>一食堂</dealLocation>
               <dealTime>08:41:10</dealTime>
               <dealType>支消费减值</dealType>
               <rechargeAmount>1.0</rechargeAmount>
            </stuCardInfo>
         </StuCardInfoResponse>
      </ns2:GetStuCardInfoByStuIDResponse>
   </soap:Body>
</soap:Envelope>

results matching ""

    No results matching ""