Table of Contents

Search

  1. Preface
  2. Introduction to Business Entity Services
  3. EJB Business Entity Service Calls
  4. REST Business Entity Service Calls
  5. REST APIs for Data Director
  6. SOAP Business Entity Service Calls
  7. Cross-reference Records and BVT Calculations Services
  8. Supporting Corporate Linkage Service
  9. External Calls to Cleanse, Analyze, and Transform Data
  10. Appendix A: Using REST APIs to Add Records
  11. Appendix B: Using REST APIs to Upload Files
  12. Appendix C: Using REST APIs to Manage Reports

Create a Person Record

Create a Person Record

The following example shows how to create a Person record with the authentication cookie and Informatica CSRF Token (ICT):
POST: https://<host:port>/cmx/cs/<Database ID>/Person?systemName=Admin Authorization: No Auth (or Inherit auth from the parent) Headers: Cookie: mdmsessionid: vppOTOhJLKMjYJf7Diil ICT: 0ffa3b95c67e111b9c14c140a70273a15db266993d0c763d555135de4c4d6110 Body: {​ "firstName": "John", "lastName": "Smith" }​
The ICT in this example is from a preceding sample.
The following sample shows the error that appears in the response when you do not pass the authentication cookie and ICT in the request:
{​ "errorCode": "SIP-50201", "errorMessage": "SIP-50201: The MDM Hub did not process the business entity service request. The request did not contain credentials. Specify the appropriate credentials in the business entity service request." }​

0 COMMENTS

We’d like to hear from you!