对于使用postman修改SAPMarketingCloudcontact主数据感兴趣的读者,本文将提供您所需要的所有信息,我们将详细讲解postman修改useragent,并且为您提供关于Mark
对于使用postman修改SAP Marketing Cloud contact主数据感兴趣的读者,本文将提供您所需要的所有信息,我们将详细讲解postman修改user agent,并且为您提供关于Marketing Cloud - Query Studio:字段名称不能包含字符、Marketing Cloud - 使用 Union all 查询和 order by、Marketing Cloud API消费entity unsupported format错误消息的处理、Marketing Cloud contact 的 API 介绍的宝贵知识。
本文目录一览:- 使用postman修改SAP Marketing Cloud contact主数据(postman修改user agent)
- Marketing Cloud - Query Studio:字段名称不能包含字符
- Marketing Cloud - 使用 Union all 查询和 order by
- Marketing Cloud API消费entity unsupported format错误消息的处理
- Marketing Cloud contact 的 API 介绍
使用postman修改SAP Marketing Cloud contact主数据(postman修改user agent)
Marketing Cloud里的contact主数据,创建成功后也不是所有字段都能够被修改。在Personal data区域的字段是可以被修改的。
比如我在“客户属性”字段里维护了一些值:
然后点保存:
其中第二个batch操作是通过一个roundtrip读取contact模型下多个子节点的数据,和我们这个修改的场景没有关联。
使用postman进行修改:
body字段维护以下内容:
–batch_1f7d-bd35-caed
Content-Type: multipart/mixed; boundary=changeset_8f9e-9a44-9f9e
–changeset_8f9e-9a44-9f9e
Content-Type: application/http
Content-Transfer-Encoding: binary
MERGE Consumers(‘02000A21209F1EE99CDF1A1FC9AA8065’)?sap-client=100 HTTP/1.1
Cache-Control: max-age=360
sap-contextid-accept: header
Accept: application/json
Accept-Language: en
DataServiceVersion: 2.0
MaxDataServiceVersion: 2.0
x-csrf-token: fQ2Pwfmf0K_LVYoKV9QYUw==
Content-Type: application/json
Content-Length: 215
{"__metadata":{“uri”:“https://jerry.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/Consumers(‘02000A21209F1EE99CDF1A1FC9AA8065’)",“type”:“CUAN_CONTACT_SRV.Consumer”},“YY1_CustomerType_ENH”:"Jerry测试2”}
–changeset_8f9e-9a44-9f9e–
–batch_1f7d-bd35-caed–
我想修改的字段的新的值为:Jerry测试2
执行postman后,发现值已经更新了,修改成功
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
本文同步分享在 博客“汪子熙”(CSDN)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享。
Marketing Cloud - Query Studio:字段名称不能包含字符
如何解决Marketing Cloud - Query Studio:字段名称不能包含字符
我们的一些数据扩展名称和这些名称中的字段包含使我无法查询的字符。有没有办法转义这些字符并允许我查询和获取结果?
我得到的错误是:“保存查询字段时出错。''CampaignMember:''附近的语法不正确”
查询示例:
SELECT CampaignMember:Common:Email
FROM [Email journey - 2021-03-22]
数据扩展名:电子邮件旅程 - 2021-03-22
字段:
- CampaignMember:Id
- CampaignMember:Common:Email
- 成员记录类型
解决方法
正如我在上面的评论中所写的,您可以将列名放在方括号中,如下所示:
SELECT [CampaignMember:Common:Email]
FROM [Email Journey - 2021-03-22]
有关使用方括号的更多信息: https://stackoverflow.com/a/52901/20126
另外值得一提的是,您还可以使用单引号或双引号:https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2008-r2/ms176027(v=sql.105)?redirectedfrom=MSDN
Marketing Cloud - 使用 Union all 查询和 order by
如何解决Marketing Cloud - 使用 Union all 查询和 order by
我有这个查询来合并 SFMC 中的两个 DE,我还需要合并里面的电子邮件重复项。我在“x”附近有一个找不到的语法错误
Select top 1 with ties
x.Email
from (
Select
a.Email,a.Subscriber_Key,a.CreatedDate,a.First_Name,a.Last_Name
from [AllAccount_DedupEmail_Last_Test] a
union all
Select
b.Email,b.Subscriber_Key,b.CreatedDate,b.First_Name,b.Last_Name
from [Leads_ALL_sans_doublons] b
) x
order by row_number() over (partition x.Email order by x.CreatedDate desc) ```
Marketing Cloud API消费entity unsupported format错误消息的处理
在消费SAP Marketing Cloud API时,遇到如下错误:
解决方案是在发起http请求的头部添加content-type字段,类型为multipart/mixed:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
本文同步分享在 博客“汪子熙”(CSDN)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享。
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
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":
本文同步分享在 博客 “汪子熙”(CSDN)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与 “OSC 源创计划”,欢迎正在阅读的你也加入,一起分享。
今天关于使用postman修改SAP Marketing Cloud contact主数据和postman修改user agent的分享就到这里,希望大家有所收获,若想了解更多关于Marketing Cloud - Query Studio:字段名称不能包含字符、Marketing Cloud - 使用 Union all 查询和 order by、Marketing Cloud API消费entity unsupported format错误消息的处理、Marketing Cloud contact 的 API 介绍等相关知识,可以在本站进行查询。
本文标签: