news 2026/5/1 6:48:11

08.06.01.tiptop webserver接口篇(收集接口:查询接口)

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
08.06.01.tiptop webserver接口篇(收集接口:查询接口)
  • 1、EF OA的接口
    • 测试区:http://erp2.waichi.com/web/ws/r/aws_efsrv_toptest?wsdl
    • 正式区:http://erp2.waichi.com/web/ws/r/aws_efsrv?wsdl
  • 2、ERP日常接口
    • 测试区:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 正式区:http://erp.waichi.com/web/ws/r/aws_ttsrv2?wsdl
  • 3、字段说明
    • user:erp账号
    • password:erp的密码
    • application:呼叫端系統代號
      • 后台代码:g_access.application 可以获取
    • source:呼叫端來源 IP or Host
    • Organization: 填写ERP运营中心代号
    • language:zh_tw(繁體) / zh_cn(簡體) / en_us(英文)

本页目录:

  • 1、单表查询
    • 1.1、ima_file
    • 1.2、smy_file
    • 1.3、pmc_file
    • 1.4、gen_file
    • 1.5、gem_file
    • 1.6、gec_file
    • 1.7、azi_file
    • 1.8、mse_file
  • 2、多表查询
    • pja_file(一) 对 pjb_file(多)
  • 3、自定义查询

单表查询

  • 使用Apipost工具进行http接口访问

ima_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetItemData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_item_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetItemDataRequest><tip:request><![CDATA[<Request><Access><Authenticationuser="xxx"password="xxxx"/><Connectionapplication="tiptop"source="erp2.waichi.com"/><Organizationname="BLPROD"/><Localelanguage="zh_tw"/></Access><RequestContent><Parameter><Record><Fieldname="condition"value="ima01 = 'FFB-WS8762NNN-05'"/></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetItemDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

smy_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetMFGDocument接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_mfg_document.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetMFGDocumentRequest><tip:request><![CDATA[<Request><Access><Authenticationuser="xxx"password="xxxx"/><Connectionapplication="tiptop"source="erp2.waichi.com"/><Organizationname="BLPROD"/><Localelanguage="zh_tw"/></Access><RequestContent><Parameter><Record><Fieldname="condition"value="1=1"/><Fieldname="sys"value="asf"/><Fieldname="kind"value="1"/></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetMFGDocumentRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

pmc_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetSupplierData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_supplier_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetSupplierDataRequest><tip:request><![CDATA[<Request><Access><Authenticationuser="xxx"password="xxxx"/><Connectionapplication="tiptop"source="erp2.waichi.com"/><Organizationname="BLPROD"/><Localelanguage="zh_tw"/></Access><RequestContent><Parameter><Record><Fieldname="condition"value="pmc01 LIKE 'WC-%'"/></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetSupplierDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

gen_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetEmployeeData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_employee_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetEmployeeDataRequest><tip:request><![CDATA[<Request><Access><Authenticationuser="xxx"password="xxxx"/><Connectionapplication="tiptop"source="erp2.waichi.com"/><Organizationname="BLPROD"/><Localelanguage="zh_tw"/></Access><RequestContent><Parameter><Record><Fieldname="condition"value="gen01 LIKE 'BL076%'"/></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetEmployeeDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

gem_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetEmployeeData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_department_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetDepartmentDataRequest><tip:request><![CDATA[<Request><Access><Authenticationuser="xxx"password="xxxx"/><Connectionapplication="tiptop"source="erp2.waichi.com"/><Organizationname="BLPROD"/><Localelanguage="zh_tw"/></Access><RequestContent><Parameter><Record><Fieldname="condition"value="gem01 LIKE 'NFC%'"/></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetDepartmentDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

gec_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetTaxTypeData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_tax_type_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetTaxTypeDataRequest><tip:request><![CDATA[<Request><Access><Authenticationuser="xxx"password="xxxx"/><Connectionapplication="tiptop"source="erp2.waichi.com"/><Organizationname="BLPROD"/><Localelanguage="zh_tw"/></Access><RequestContent><Parameter><Record><Fieldname="condition"value="gec01 LIKE 'T1%'"/></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetTaxTypeDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

azi_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetCurrencyData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_currency_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetCurrencyDataRequest><tip:request><![CDATA[<Request><Access><Authenticationuser="xxx"password="xxxx"/><Connectionapplication="tiptop"source="erp2.waichi.com"/><Organizationname="BLPROD"/><Localelanguage="zh_tw"/></Access><RequestContent><Parameter><Record><Fieldname="condition"value="azi01 LIKE '%B%'"/></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetCurrencyDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

mse_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetBrandData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_brand_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetBrandDataRequest><tip:request><![CDATA[<Request><Access><Authenticationuser="xxx"password="xxxx"/><Connectionapplication="tiptop"source="erp2.waichi.com"/><Organizationname="BLPROD"/><Localelanguage="zh_tw"/></Access><RequestContent><Parameter><Record><Fieldname="condition"value="mse01 LIKE '%' "/></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetBrandDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

多表查询

pja_file(一) 对 pjb_file(多)

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetProjectWBSData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_project_wbs_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetProjectWBSDataRequest><tip:request><![CDATA[<Request><Access><Authenticationuser="xxx"password="xxxx"/><Connectionapplication="tiptop"source="erp2.waichi.com"/><Organizationname="BLPROD"/><Localelanguage="zh_tw"/></Access><RequestContent><Parameter><Record><Fieldname="condition"value="pja01='2015ITEM06' AND pjb02='0043-0001-0002'"/></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetProjectWBSDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

自定义查询

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • CustomizeQueryData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_customize_query_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:CustomizeQueryDataRequest><tip:request><![CDATA[<Request><Access><Authenticationuser="xxx"password="xxxx"/><Connectionapplication="tiptop"source="erp2.waichi.com"/><Organizationname="BLPROD"/><Localelanguage="zh_tw"/></Access><RequestContent><Parameter><Record><Fieldname="setFields"value="pmn33,pmn01,pmn02,pmn09,pmn37,pmnud10"/><Fieldname="setSql"value="SELECT pmn33,pmn01,pmn02,pmn09,pmn37,pmnud10 FROM pmn_file WHERE pmn01 ='VFU22-22100017' AND pmn02 IN ('1','2','3') "/><Fieldname="setType"value="Single"/></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:CustomizeQueryDataRequest></soapenv:Body></soapenv:Envelope>
版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/4/25 1:11:47

08. 如何实现元器件按页分配位号?| OrCAD X Capture CIS 设计小诀窍第二季

OrCAD X Capture CIS设计小诀窍系列 --如何实现元器件按页分配位号 背景介绍&#xff1a;我们在进行原理图设计时&#xff0c;经常需要确定对应位号的器件位于哪页原理图&#xff0c;以便设计人员进行修改。如果使用通常的方式分配位号&#xff0c;需要人工进行查找和确认&am…

作者头像 李华
网站建设 2026/4/28 7:54:11

意欧斯携手 SAP Business One 赋能生产制造企业数字化转型

一场始于数据协同的管理变革&#xff0c;让这家智能仓储领军企业实现了精细化管控与敏捷增长的双重突破。在智能制造的轰鸣声中&#xff0c;传统管理模式正面临前所未有的挑战。生产制造企业&#xff0c;尤其是身处智能仓储物流前沿的企业&#xff0c;如何打破数据孤岛&#xf…

作者头像 李华
网站建设 2026/4/18 0:28:15

Java计算机毕设之基于springboot的电器小家电机器人健康预警系统(完整前后端代码+说明文档+LW,调试定制等)

博主介绍&#xff1a;✌️码农一枚 &#xff0c;专注于大学生项目实战开发、讲解和毕业&#x1f6a2;文撰写修改等。全栈领域优质创作者&#xff0c;博客之星、掘金/华为云/阿里云/InfoQ等平台优质作者、专注于Java、小程序技术领域和毕业项目实战 ✌️技术范围&#xff1a;&am…

作者头像 李华
网站建设 2026/4/18 3:07:05

结束数据的“马拉松”,开启决策的“实时模式”

当竞争对手已经通过数据看板实时调整策略时&#xff0c;你的团队是否还在为一份月度报表加班加点&#xff1f;这不仅是效率的差距&#xff0c;更是生存维度的落差。 2026年1月&#xff0c;在河北衡水的一场企业数智化分享会上&#xff0c;奥威软件的演讲引发了一场激烈的共鸣。…

作者头像 李华
网站建设 2026/4/18 5:32:04

Android ViewModel + 协程 = 优雅的生命周期管理

Android ViewModel 协程 优雅的生命周期管理关键词&#xff1a;Android、ViewModel、协程、生命周期管理、优雅编程摘要&#xff1a;本文主要探讨了在 Android 开发中如何利用 ViewModel 和协程实现优雅的生命周期管理。通过将 ViewModel 的特性与协程的优势相结合&#xff0…

作者头像 李华
网站建设 2026/4/28 11:06:15

PostgreSQL 实战:行级安全策略(RLS)详解

文章目录 一、RLS 概述1.1 RLS 基本原理1.2 启用与配置 RLS1.3 适用场景与局限1.4 实践建议 二、实战案例场景1&#xff1a;多租户 SaaS 应用1. 建表并启用 RLS2. 创建策略&#xff1a;用户只能访问其租户的项目3. 应用层设置租户上下文4. 测试效果 场景2&#xff1a;员工只能查…

作者头像 李华