WXASPSVC
单击此处,获取完整的操作列表。
AddMaintenanceRecord
添加维修记录凭证
测试
测试窗体只能用于来自本地计算机的请求。SOAP 1.1
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /WXASPSVC.asmx HTTP/1.1
Host: swxapi.dxda.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuriwx.org/AddMaintenanceRecord"
<?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>
<AddMaintenanceRecord xmlns="http://tempuriwx.org/">
<objMRDEntity>
<ID>int</ID>
<Repair_Order_ID>string</Repair_Order_ID>
<Repair_Time>dateTime</Repair_Time>
<Customer_Addr>string</Customer_Addr>
<Customer_Tel>string</Customer_Tel>
<Customer_Name>string</Customer_Name>
<Product_Type>string</Product_Type>
<Product_Number>string</Product_Number>
<Purchase_Date>dateTime</Purchase_Date>
<Fault_Phenomenon>string</Fault_Phenomenon>
<Solution>string</Solution>
<Change_Parts>string</Change_Parts>
<Test_Machine_Situation>string</Test_Machine_Situation>
<Create_Time>dateTime</Create_Time>
<Maintainer>string</Maintainer>
<Field1>decimal</Field1>
<Field2>decimal</Field2>
<Field3>decimal</Field3>
<Field4>decimal</Field4>
<Field5>decimal</Field5>
<Field6>decimal</Field6>
<Field7>decimal</Field7>
<Field8>decimal</Field8>
<Field9>decimal</Field9>
<Field10>decimal</Field10>
<Subtotal>decimal</Subtotal>
<Amount>decimal</Amount>
<PartsAmount>decimal</PartsAmount>
</objMRDEntity>
</AddMaintenanceRecord>
</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>
<AddMaintenanceRecordResponse xmlns="http://tempuriwx.org/">
<AddMaintenanceRecordResult>
<PageContent>
<PageSize>long</PageSize>
<CurrentPage>long</CurrentPage>
<TotleRecords>long</TotleRecords>
<TotlePage>long</TotlePage>
<MaxSelectRecords>long</MaxSelectRecords>
<IsFillTotleRecords>boolean</IsFillTotleRecords>
</PageContent>
<InfoList>
<xsd:schema>schema</xsd:schema>xml</InfoList>
<commonDic>string</commonDic>
<DataInfo>string</DataInfo>
<FileOne>string</FileOne>
<FileTwo>string</FileTwo>
<FileThree>string</FileThree>
<FileFour>string</FileFour>
</AddMaintenanceRecordResult>
</AddMaintenanceRecordResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /WXASPSVC.asmx HTTP/1.1
Host: swxapi.dxda.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>
<AddMaintenanceRecord xmlns="http://tempuriwx.org/">
<objMRDEntity>
<ID>int</ID>
<Repair_Order_ID>string</Repair_Order_ID>
<Repair_Time>dateTime</Repair_Time>
<Customer_Addr>string</Customer_Addr>
<Customer_Tel>string</Customer_Tel>
<Customer_Name>string</Customer_Name>
<Product_Type>string</Product_Type>
<Product_Number>string</Product_Number>
<Purchase_Date>dateTime</Purchase_Date>
<Fault_Phenomenon>string</Fault_Phenomenon>
<Solution>string</Solution>
<Change_Parts>string</Change_Parts>
<Test_Machine_Situation>string</Test_Machine_Situation>
<Create_Time>dateTime</Create_Time>
<Maintainer>string</Maintainer>
<Field1>decimal</Field1>
<Field2>decimal</Field2>
<Field3>decimal</Field3>
<Field4>decimal</Field4>
<Field5>decimal</Field5>
<Field6>decimal</Field6>
<Field7>decimal</Field7>
<Field8>decimal</Field8>
<Field9>decimal</Field9>
<Field10>decimal</Field10>
<Subtotal>decimal</Subtotal>
<Amount>decimal</Amount>
<PartsAmount>decimal</PartsAmount>
</objMRDEntity>
</AddMaintenanceRecord>
</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>
<AddMaintenanceRecordResponse xmlns="http://tempuriwx.org/">
<AddMaintenanceRecordResult>
<PageContent>
<PageSize>long</PageSize>
<CurrentPage>long</CurrentPage>
<TotleRecords>long</TotleRecords>
<TotlePage>long</TotlePage>
<MaxSelectRecords>long</MaxSelectRecords>
<IsFillTotleRecords>boolean</IsFillTotleRecords>
</PageContent>
<InfoList>
<xsd:schema>schema</xsd:schema>xml</InfoList>
<commonDic>string</commonDic>
<DataInfo>string</DataInfo>
<FileOne>string</FileOne>
<FileTwo>string</FileTwo>
<FileThree>string</FileThree>
<FileFour>string</FileFour>
</AddMaintenanceRecordResult>
</AddMaintenanceRecordResponse>
</soap12:Body>
</soap12:Envelope>