Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use postman to create a Contact for Marketing Cloud

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

How to use postman to create Marketing Cloud Contact, for this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

First create a contact on the UI of Marketing Cloud:

Observe the HTTP request in the network tab of the Chrome developer tool:

Https://jerry.gcdemo.hybris.com/sap/opu/odata/sap/CUAN_COMMON_SRV/?sap-client=100

This request is used to read CSRF token:

Click Save, and a new HTTP post request will be sent:

Request url:

Https://jerry.hybris.com/sap/opu/odata/sap/CUAN_COMMON_SRV/ContactPersons?sap-client=100

Take a look at the important request header fields:

Enter the CSRF token obtained in step 1 into the header field in Postman, as shown in the figure:

Body:

{"CountryCode": "CN", "City": "Chengdu", "FirstName": "Jerry1", "LastName": "Wang1", "PostalCode": "610093", "RegionCode": "", "Street": "Tianfu Software Park", "HouseNumber": "Tianfu Software Park", "DateofBirth": null, "ContactPersonFacets": [{"Id": "jerry1@sap.com", "IdOrigin": "EMAIL", "Obsolete": false, "Invalid": false}, {"Id": " "IdOrigin": "PHONE", "Obsolete": false, "Invalid": false}, {"Id": "", "IdOrigin": "MOBILE", "Obsolete": false, "Invalid": false}, {"Id": "IdOrigin": "FAX", "Obsolete": false, "Invalid": false}], "IsConsumer": true, "Filter": {"MarketingAreaId": "CXXGLOBAL"}

Status code 201, which proves that the creation is successful:

You can see the successfully created contact at the front end:

This is the answer to the Contact question on how to use postman to create Marketing Cloud. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel to learn more about it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report