I am trying to get journey history using journeyhistory end points
我正在尝试使用旅行历史终点来获取旅行历史
https://{{TenantId}}.rest.marketingcloudapis.com/interaction/v1/interactions/journeyHistory/search?$page=10&$pageSize=1000&$orderBy=TransactionTime%20desc
The problem i have,
我的问题是,
- I don't know how many records exist. The response message does not contact the "MoreDataAvailable" sort of indicator, so i don't from the response of first request , if more data is pending
how can i be sure if i get all data
我如何确定我是否获得了所有数据
response message always has contact key as
"contactKey": "Contact Unknown",
Thus i dont know what i am doing wrong. This value is for all 10000 record. i can expect this values if contact is deleted but not for all
I was expecting some sort of indicator which tell me if more data is available or not. Also value for contact key
我期待着某种指示器,它告诉我是否有更多的数据可用。另请参阅联系人键的值
更多回答
优秀答案推荐
I had the same issue with "contactKey": "Contact Unknown",
我也遇到了同样的问题:“联系人未知”,
I think when we use the API /interaction/v1/interactions/journeyHistory for the first time, something is not ready.
我认为,当我们第一次使用/Interaction/v1/Interaction/JourneyHistory接口时,有些事情还没有准备好。
After a few hours, I did exactly that again and ContactKey starts populating
几个小时后,我又这样做了一次,ContactKey开始填充
更多回答
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
您的答案可以通过其他支持信息来改进。请编辑以添加更多详细信息,如引用或文档,以便其他人可以确认您的答案是正确的。你可以在帮助中心找到更多关于如何写出好答案的信息。
我是一名优秀的程序员,十分优秀!