我创建了一个自定义连接器,并对其进行了测试,效果很好。
响应为 JSON 格式
{
"d": {
"results": [
{
"__metadata": {
"uri": "https://sandbox.api.sap.com:443/successfactors/odata/v2/PerEmail(emailType='8446',personIdExternal='109031')",
"type": "SFOData.PerEmail"
},
"emailType": "8446",
"personIdExternal": "109031",
"emailAddress": "Test2@Tools.com",
"lastModifiedDateTime": "/Date(1608739128000+0000)/",
"createdBy": "sfadmin",
"isPrimary": true,
"lastModifiedBy": "sfadmin",
"createdDateTime": "/Date(1608732293000+0000)/",
"createdOn": "/Date(1608714293000)/",
"lastModifiedOn": "/Date(1608721128000)/",
"emailTypeNav": {
"__deferred": {
"uri": "https://sandbox.api.sap.com:443/successfactors/odata/v2/PerEmail(emailType='8446',personIdExternal='109031')/emailTypeNav"
}
},
"personNav": {
"__deferred": {
"uri": "https://sandbox.api.sap.com:443/successfactors/odata/v2/PerEmail(emailType='8446',personIdExternal='109031')/personNav"
}
}
},
{
"__metadata": {
"uri": "https://sandbox.api.sap.com:443/successfactors/odata/v2/PerEmail(emailType='8447',personIdExternal='109031')",
"type": "SFOData.PerEmail"
},
"emailType": "8447",
"personIdExternal": "109031",
"emailAddress": "Test2@Tools.com",
"lastModifiedDateTime": "/Date(1608739128000+0000)/",
"createdBy": "sfadmin",
"isPrimary": false,
"lastModifiedBy": "sfadmin",
"createdDateTime": "/Date(1608732280000+0000)/",
"createdOn": "/Date(1608714280000)/",
"lastModifiedOn": "/Date(1608721128000)/",
"emailTypeNav": {
"__deferred": {
"uri": "https://sandbox.api.sap.com:443/successfactors/odata/v2/PerEmail(emailType='8447',personIdExternal='109031')/emailTypeNav"
}
},
"personNav": {
"__deferred": {
"uri": "https://sandbox.api.sap.com:443/successfactors/odata/v2/PerEmail(emailType='8447',personIdExternal='109031')/personNav"
}
}
}
]
}
}
但是,当我在流中使用此连接器时,响应似乎不是 JSON 格式
这是我收到的电子邮件
Hello
https://sandbox.api.sap.com:443/successfactors/odata/v2/PerEmail/2021-04-22T17:39:57Zhttps://sandbox.api.sap.com:443/successfactors/odata/v2/PerEmail(emailType='8446',personIdExternal='109031')2021-04-22T17:39:57Z8446109031Test2@Tools.com2020-12-23T15:58:48Zsfadmintruesfadmin2020-12-23T14:04:53Z2020-12-23T09:04:532020-12-23T10:58:48https://sandbox.api.sap.com:443/successfactors/odata/v2/PerEmail(emailType='8447',personIdExternal='109031')2021-04-22T17:39:57Z8447109031Test2@Tools.com2020-12-23T15:58:48Zsfadminfalsesfadmin2020-12-23T14:04:40Z2020-12-23T09:04:402020-12-23T10:58:48
If you want to unsubscribe from these emails, please use this form.
我做错了什么? 顺便说一下,我是 Power Automate 的新手。
谢谢。