项目

一般

简介

错误 #138

错误 #72: Mark modified data from Web order PDF onto SO in EAS

KD Customer Profile Approval Failing

Adam Wang超过 3 年 之前添加. 更新于 超过 3 年 之前.

状态:
US Feedback
优先级:
指派给:
开始日期:
2020-12-01
计划完成日期:
% 完成:

100%

预期时间:
DK-Feedback:
DKUS

描述

A couple of things –
1. The url needs to be - https://customerprofiles-service-test.digikey.com/sell/customer/customerprofiles-api/v1/customers/{Web Id value}/kingdeecustomerprofile
Please note that we identify the customer by the Web Id, not the Kingdee customer number. So the endpoint needs to have the Web id

In your Test environment request (that you sent below), Web Id is 7054. So the url should be –
https://customerprofiles-service-test.digikey.com/sell/customer/customerprofiles-api/v1/customers/7054/kingdeecustomerprofile

customerData":{"accountPayment":"0","complianceProfile":"0","kingdeeCustomerTrueId":"264814","kingdeeId":"264814","shareOrderHistory":"0","shipCarrier":"0","webId":"7054"}

2. Also, I looked in the Test environment database and I don’t see any customer with Web Id value of 7054. How did you get that web Id value?

The WebID Pradip mentioned should be dynamically retrieved from this Kingdee field and added to the URL as Pradip described.

test:https://customerprofiles-service-test.digikey.com/sell/customer/customerprofiles-api/v1/customers/{webId value}/kingdeecustomerprofile
dev:https://customerprofiles-service-dev.digikey.com/sell/customer/customerprofiles-api/v1/customers/{webId value}/kingdeecustomerprofile


文件

12.png (296 KB) 12.png Adam Wang, 2020-12-01 20:17

导出 Atom PDF