TI-API: 使用store/subscriptions/inventory/test报以下错误,如何测Backlog和Store的其他Push接口

Part Number: TI-API

  • Hi Songkai,

    关于PUSH设置的问题可以参考以下FAQ链接,所有的PUSH接口都可以在API portal上直接进行测试,谢谢。

    https://e2echina.ti.com/support/enterprise-automation-integration/f/enterprise-automation-integration-forum/803789/faq-push-api

  • 1. Push的设置是做好的了,The push notification can be tested with the ".../store/subscriptions/inventory/test" endpoint.   This will generate a webhook sent to your configured API via an HTTP post request according to the spec. It will then return the status code from your API. 报错是在TI方,麻烦确认。

    2. 除了Inventory Notification的接口有明确说可以测试,其他的Push接口都没有测试说明,请介绍详细方法。

  • 你好,我已经将此报错转给内部团队协助处理,其他的PUSH接口您是指Store API 还是 backlog API?

  • Store Push的API URL设置的Servers是固定的,无法修改测试我的接口

    Backlog Push的API 没有填写Oauth参数的地方,报Invalid Credentials的错

  • 您好,您的问题我们正在查看中。谢谢。 

  • Inventory Push 的测试已经完成,是回复json内容只能为"status""failed","status""accepted". 这个问题已经解决。

    请问Backlog&Store的 Order/ASN/Financial Document 的Push接口应该如何测试,可以不用测试直接上线吗?

  • Hi SongKai,

    针对Backlog的push测试是需要测试订单在后台ERP系统改变交期或者有变化的时候触发给到你,如果您有测试订单已经出货的情况下ASN和INVOICE都会push到你设置的测试URL。 您可以提供给我测试订单号查询。同理 Store order的push也会在模拟出货完成后触发. 

    在API portal上可以直接用你的测试API KEY登录后使用post call将example value 推送给你设置的URL, 用于验证您是否能正常收到PUSH.

    api-portal.ti.com/backlog-asn-push-api

  • Backlog 测试环境,以下Push数据都没有收到,编号是由TI的同事Hazel提供,麻烦查询一下(PO:LKW2024042301)是否有推送给我们,有什么报错。

    用以下编号Retrieve出来的数据都是错误的,发货时间在2023,Invoice没有行项,没有credit Note 的返回。

    Waybill 0424789068
    Financial Invoice Number 5497436931
    Credit Note 5497436991
    Debit Note 5497436992
    Credit Note 5497436993
    Debit Note 5497436994

  • 麻烦确认一下当前证书为何Push验证无法通过,非自签名证书,机构验证。

  • 您好,请问您目前的测试情况是什么?您证书无法验证通过的报错是什么?谢谢。 

  • {
        "status""failed",
        "responseCode"0,
        "message""I/O error on POST request for \""">linkwellelectric.com:9201/.../inventory_stock_event\": PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
    }
  • 您好,您的问题正在查看中。会尽快给您回复。谢谢。 

  • 您好,请查看我们刚给您发送的邮件内容。谢谢。 

  • 您好,我们目前已经看到贵司订单等信息在我们的正式环境下运行正常,请问这个问题还存在吗?谢谢。 

  • 已更换SSL证书。

x 出现错误。请重试或与管理员联系。