- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2019 11:58 PM
Hi,
I have required/mandatory fields in Customer_contact table. When i try to create (POST) a contact via REST API it is creating record with status 201. But i have a required field account in customer_contacts table.
Please refer below image
Below is the contact which i have created via REST API.
Below image is the response for contact creation.
My question is, Why error not Shown when i try to post a contact via REST API, though a required field is not sent in request payload.
Solved! Go to Solution.
- Labels:
-
Personal Developer Instance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2019 06:43 AM
glad it worked .
kindly mark my answer as correct and close this thread
if you have further question , kindly open new thread .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2019 10:56 PM
Hi ,
I referred data policy in document. There is a option called Converting UI policy to data policy by retaining UI policy as well. I am struggling in converting UI policy in data policy.
I cannot see #3 My version is LONDON.
- Navigate to System UI > UI Policies.
- Open an existing UI policy.
- Under Related Links, click Convert this to Data Policy.
A new data policy record is created.
Please guide me in applying all UI policy to data policy (i.e) I want whatever validations functioning at UI level ,all things i want in REST API too because we are simulating the CRM UI in our integration.
Thanks in Advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2019 11:54 PM
make sure you are in default view ?
Instead of converting your UI Policy to Data policy , create data policy here, because once you will convert that UI Policy will get deactivated and Data policy will get created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2019 12:19 AM
Yes , i am in default view only.
I saw in document like
Converting a UI policy to a data policy deactivates the UI policy. To retain the policy in the UI, ensure that the Use as UI Policy on client check box is selected on the data policy record.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2019 12:21 AM
are you still not able to convert it ? can you add the screenshot ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2019 12:26 AM