Marketing Cloud contact的API介绍
下图的contact列表是Marketing Cloud调用后台odata服务后显示的:
URL:https://jerry.gcdemo.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/$batch?sap-client=100
![](https://user-images.githubusercontent.com/5669954/57283265-59ea7180-70e1-11e9-8c77-f2bcb45ecc68.png)
http请求的正文:
–batch_c914-a60c-1877
Content-Type: application/http
Content-Transfer-Encoding: binary
GET InteractionContacts?sap-client=100&KaTeX parse error: Expected 'EOF', got '&' at position 7: skip=0&̲top=45&
s
e
l
e
c
t
=
I
m
a
g
e
U
R
L
select=ImageURL%2cName%2cContactLevelName%2cCountryName%2cCity%2cEMailAddress%2cPhoneNumber%2cMobilePhoneNumber%2cCorporateAccountName%2cInteractionContactUUID%2cRelationship%2cType&
select=ImageURLinlinecount=allpages HTTP/1.1
sap-cancel-on-close: true
Cache-Control: max-age=360
sap-contextid-accept: header
Accept: application/json
Accept-Language: en
DataServiceVersion: 2.0
MaxDataServiceVersion: 2.0
–batch_c914-a60c-1877–
http响应:
{“d”:{"__count":“1218374”,“results”:[{"__metadata":{“id”:“https://diablo.gcdemo.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/InteractionContacts(‘00163E1B0A701EE6939977B1F8726D4C’)”,“uri”:“https://diablo.gcdemo.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/InteractionContacts(‘00163E1B0A701EE6939977B1F8726D4C’)”,“type”:“CUAN_CONTACT_SRV.InteractionContact”},“InteractionContactUUID”:“00163E1B0A701EE6939977B1F8726D4C”,“City”:“Newman”,“ContactLevelName”:“Self-Identified”,“CorporateAccountName”:"",“CountryName”:“USA”,“EMailAddress”:“0200205812_agatha.steward-90@outlook.com”,“ImageURL”:"",“MobilePhoneNumber”:"",“Name”:“Agatha Steward”,“PhoneNumber”:"",“Relationship”:1,“Type”:“01”},{"__metadata":{“id”:“https://diablo.gcdemo.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/InteractionContacts(‘00163E1B0A701ED6939FBB838E1E803A’)”,“uri”:“https://diablo.gcdemo.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/InteractionContacts(‘00163E1B0A701ED6939FBB838E1E803A’)”,“type”:“CUAN_CONTACT_SRV.InteractionContact”},“InteractionContactUUID”:“00163E1B0A701ED6939FBB838E1E803A”,“City”:"",“ContactLevelName”:“Self-Identified”,“CorporateAccountName”:"",“CountryName”:“USA”,“EMailAddress”:“antonioifernandez@einrot.com”,“ImageURL”:"",“MobilePhoneNumber”:"",“Name”:“Antonio Fernandez”,“PhoneNumber”:"",“Relationship”:0,“Type”:“01”},{"__metadata":要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关文章
- 【华为云技术分享】HDC.Cloud | 为防止交通事故,95后学生运用“黑科技”这样做!
- spring cloud: Hystrix(二):简单使用@HystrixCommand的commandProperties配置@HistrixProperty隔离策略
- Spring Cloud 微服务技术整合
- [Cloud Architect] 10. Securing Access to Cloud Infrastructure
- SAP Cloud SDK for JavaScript 的搭建和使用方法介绍
- SAP Cloud Platform API management Policy Editor的高级用法
- 使用postman消费Marketing Cloud的contact读取API
- SAP Cloud for Customer跨component的跳转
- SAP Commerce Cloud OCC API UnknownResourceError 错误
- 如何使用 API 的方式消费 SAP Commerce Cloud 的订单服务
- SAP Commerce Cloud 的代码仓库
- SAP Commerce Cloud 导入消费OCC API需要使用的credentials
- 如何通过Restful API的方式读取SAP Commerce Cloud的Product Reference
- 如何使用 API 的方式给 SAP service cloud Registered product 上传图片
- SAP Cloud Platform上Destination属性为odata_gen的具体用途
- SAP Cloud Platform上Fiori launchpad tile的读取原理
- some screenshot of Fiori cloud launchpad
- 如何打通 SAP Cloud for Customer 系统和微信公众号的双向消息通信功能
- 掌握Spring Cloud Gateway:构建高性能API网关的原理和实践
- “基于Spring Cloud Alibaba的微服务架构实战:Nacos配置管理“
- 慕课10、API网关-Spring Cloud Gateway