PCMIS_App
单击此处,获取完整的操作列表。
StudentRegisterAndUpdate
用户报名或修改资料;参数(signature:签名(以字符串的形式传入方法);timestamp:时间戳(以字符串的形式传入方法);nonce:随机数(以字符串的形式传入方法);RegistDeptNO:报名点(以字符串的形式传入方法如用户选择报名为坂田华为店那么传进来的值为1488100000);Name:姓名(以字符串的形式传入方法);Sex:性别(以字符串的形式传入方法);IdentityType:证件类型(目前讨论都为1,(传入的格式为IdentityType=“1”));IdentityCard:证件号码(以字符串的形式传入方法);MailingAddress:邮寄地址(以字符串的形式传入方法);Tel:联系方式(以字符串的形式传入方法);Entrymode:报名方式(0:现场报名;1:网上报名;如是现场报名的话,Entrymode=“0”);AppRecordID:用户主键ID;classtype:班别类型编号(存的是班别类型,不是中文,如用户选择的是标准班,那么classtype=”7”);ApplyDriverLicenseType:课程(直接传C1或C2;如选C2那ApplyDriverLicenseType=“C2”);DateOfBirth:出生日期(2016-11-30);Nationality:国籍(如中国);ImpName:紧急联络人姓名;ImpTel:紧急联络人电话号码;IdentityAddress:身份证地址;Salesman:推荐人)
测试
若要使用 HTTP POST 协议对操作进行测试,请单击“调用”按钮。SOAP 1.1
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /PCMIS_App.asmx HTTP/1.1
Host: appwebsrv01.22168168.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/StudentRegisterAndUpdate"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<StudentRegisterAndUpdate xmlns="http://tempuri.org/">
<signature>string</signature>
<timestamp>string</timestamp>
<nonce>string</nonce>
<RegistDeptNO>string</RegistDeptNO>
<Name>string</Name>
<Sex>string</Sex>
<IdentityType>string</IdentityType>
<IdentityCard>string</IdentityCard>
<MailingAddress>string</MailingAddress>
<Tel>string</Tel>
<Entrymode>string</Entrymode>
<AppRecordID>string</AppRecordID>
<classtype>string</classtype>
<ApplyDriverLicenseType>string</ApplyDriverLicenseType>
<DateOfBirth>string</DateOfBirth>
<Nationality>string</Nationality>
<ImpName>string</ImpName>
<ImpTel>string</ImpTel>
<IdentityAddress>string</IdentityAddress>
<Salesman>string</Salesman>
</StudentRegisterAndUpdate>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<StudentRegisterAndUpdateResponse xmlns="http://tempuri.org/">
<StudentRegisterAndUpdateResult>string</StudentRegisterAndUpdateResult>
</StudentRegisterAndUpdateResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /PCMIS_App.asmx HTTP/1.1
Host: appwebsrv01.22168168.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<StudentRegisterAndUpdate xmlns="http://tempuri.org/">
<signature>string</signature>
<timestamp>string</timestamp>
<nonce>string</nonce>
<RegistDeptNO>string</RegistDeptNO>
<Name>string</Name>
<Sex>string</Sex>
<IdentityType>string</IdentityType>
<IdentityCard>string</IdentityCard>
<MailingAddress>string</MailingAddress>
<Tel>string</Tel>
<Entrymode>string</Entrymode>
<AppRecordID>string</AppRecordID>
<classtype>string</classtype>
<ApplyDriverLicenseType>string</ApplyDriverLicenseType>
<DateOfBirth>string</DateOfBirth>
<Nationality>string</Nationality>
<ImpName>string</ImpName>
<ImpTel>string</ImpTel>
<IdentityAddress>string</IdentityAddress>
<Salesman>string</Salesman>
</StudentRegisterAndUpdate>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<StudentRegisterAndUpdateResponse xmlns="http://tempuri.org/">
<StudentRegisterAndUpdateResult>string</StudentRegisterAndUpdateResult>
</StudentRegisterAndUpdateResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
以下是 HTTP GET 请求和响应示例。所显示的占位符需替换为实际值。
GET /PCMIS_App.asmx/StudentRegisterAndUpdate?signature=string×tamp=string&nonce=string&RegistDeptNO=string&Name=string&Sex=string&IdentityType=string&IdentityCard=string&MailingAddress=string&Tel=string&Entrymode=string&AppRecordID=string&classtype=string&ApplyDriverLicenseType=string&DateOfBirth=string&Nationality=string&ImpName=string&ImpTel=string&IdentityAddress=string&Salesman=string HTTP/1.1 Host: appwebsrv01.22168168.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>
HTTP POST
以下是 HTTP POST 请求和响应示例。所显示的占位符需替换为实际值。
POST /PCMIS_App.asmx/StudentRegisterAndUpdate HTTP/1.1 Host: appwebsrv01.22168168.com Content-Type: application/x-www-form-urlencoded Content-Length: length signature=string×tamp=string&nonce=string&RegistDeptNO=string&Name=string&Sex=string&IdentityType=string&IdentityCard=string&MailingAddress=string&Tel=string&Entrymode=string&AppRecordID=string&classtype=string&ApplyDriverLicenseType=string&DateOfBirth=string&Nationality=string&ImpName=string&ImpTel=string&IdentityAddress=string&Salesman=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>