0

尝试使用他们的 API 创建邀请,我得到了正确的结果,但是状态是“未发送”。调试信息为零,所以我想知道是否有其他人看到过这个并且可能有解决问题的想法。

这是我从他们的 api 获得的响应示例:

    {
    "businessUnitId": "<business unit id here>",
    "businessUserId": "<business user id here>",
    "createdTime": "2018-10-02T09:58:35.135569Z",
    "id": "<invitation id here>",
    "locale": "da-DK",
    "preferredSendTime": "2018-10-09T09:58:34Z",
    "recipient": {
        "email": "<email goes here>",
        "name": "<name goes here>"
    },
    "redirectUri": "http://trustpilot.com",
    "referenceId": "<our ref id>",
    "replyTo": "trustpilot@boozt.com",
    "sender": {
        "email": "noreply.invitations@trustpilotmail.com",
        "name": "Booztlet.com"
    },
    "sentTime": null,
    "source": "InvitationApi",
    "status": "notsent",
    "tags": [],
    "templateId": "57cfc1a660e1cc0620b53a38"
}
4

1 回答 1

2

因此,新邀请需要 NotSent 状态代码。这是因为邀请是异步发送的——大约在您输入“preferredSendTime”的时间。

如果您在https://businessapp.b2b.trustpilot.com/#/invitations/invitation-history登录您的帐户,您应该能够看到您创建的邀请,以及它是否已发送(因为您指定了 10 月9th 作为您的首选发送时间,邀请仍将排队到该时间点)

于 2018-10-03T07:34:44.880 回答