How to identify required fields for a resource thru API.

Tagged:

Currently contains 4 posts

Avatar

November 14, 2018 07:26

Vonage_gUDev

Hi,
We have a question regarding Resource Distinct Fields and Required Fields
Our Database ID – vonage.vonage – App id – 7635bb09
When we use Distinct Fields API to get all the Fields for the Resource (Ex. Companies), we are not able to identify the required fields.
How to identify required fields for a resource thru API.
https://www.pcrecruiter.net/rest/api/companies/DistinctFields

Avatar

November 14, 2018 14:17

Wayne-PCRecruiter

The distinct fields is not actually related to required fields. Are you looking for a required field list as it is set in the user interface or something else? If you are looking for the fields which are set required by the users in the system for names, companies, positions, etc. there is no way to pull that in the API. Each user can have multiple layouts, each with its own set of required fields.

Avatar

November 15, 2018 06:47

Vonage_gUDev

Thanks for the quick response.

Yes, I was looking to pull the required fields for names, companies etc. thru API.

I guess, as you mentioned there is no way to get this thru API.

Thanks

Avatar

November 15, 2018 14:22

Wayne-PCRecruiter

You are welcome. Please let me know if you have any additional questions about this.

Reply to thread