SAP接口文档
  1. SupplierPortal
SAP接口文档
  • BPM
    • 生产领料申请单
      POST
    • 入库退料申请
      POST
    • 发运申请单
      POST
    • 采购订单
      POST
    • 采购申请单
      POST
  • SupplierPortal
    • 送货单拒绝
      POST
    • 物料主数据同步
      POST
    • 供应商主数据同步
      POST
    • 采购订单数据同步
      POST
    • 收货数据同步
      POST
  • 一通MES
    • 物料主数据同步
      POST
    • 供应商主数据同步
      POST
    • 生产任务单数据同步
      POST
    • BOM数据同步
      POST
    • 原材料出库数据同步
      POST
  1. SupplierPortal

供应商主数据同步

测试中
POST
/sap/supplier/acceptData
测试服务器地址
http://192.168.6.6:8099

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Basic 之后拼接空格,以及经过 Base64 编码的 username:password
示例:
Authorization: Basic *****************
Body 参数application/json
supplierCode
string 
供应商编码
必需
account
string 
必需
供应商平台账号(原K3供应商代码)
supplierName
string 
供应商名称
必需
purchaseOrg
string 
采购组织
必需
contactPerson
string 
联系人
必需
contactTelephone
string 
联系电话
必需
city
string 
城市
可选
street
string 
街道
可选
createdDate
string 
创建日期
必需
updatedDate
string 
更改日期
必需
示例
{
    "supplierCode": "100002",
    "account":"01.E100",
    "supplierName": "湖州牛牛有限公司",
    "purchaseOrg": "1310",
    "contactPerson": "法外狂徒张三",
    "contactTelephone": "18661212293",
    "createdDate": "20211214",
    "updatedDate": "20211214",
    "city": "湖州",
    "street": "康山街道"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://192.168.6.6:8099/sap/supplier/acceptData' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
    "supplierCode": "100002",
    "account":"01.E100",
    "supplierName": "湖州牛牛有限公司",
    "purchaseOrg": "1310",
    "contactPerson": "法外狂徒张三",
    "contactTelephone": "18661212293",
    "createdDate": "20211214",
    "updatedDate": "20211214",
    "city": "湖州",
    "street": "康山街道"
}'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
message
string 
必需
示例
{
    "code": 0,
    "message": "string"
}
🟠420数据校验失败
🔴500服务器错误
上一页
物料主数据同步
下一页
采购订单数据同步
Built with