How can I retrieve required fields from a module using REST v10 API ?

Hi All,

I have a requirement to get all required fields from Leads module and Integrate it on third party solution. How can fetch the required fields from a module using  REST v10 API . Which API is the best to find required fields ?

Parents
  • Do you need to know the 'required' fields or do you need to know all the fields? Please keep in mind that while you can get a list of fields for a specific module you should also know what is used and what types of fields Sugar has to offer. 

    The endpoint you are looking for is: 
    sugarinstance/.../metadata

    This will return a list of all modules with their fields. Look for 'modules' -> 'modulename' -> fields in the returned json. This should give you a hint. 

Reply
  • Do you need to know the 'required' fields or do you need to know all the fields? Please keep in mind that while you can get a list of fields for a specific module you should also know what is used and what types of fields Sugar has to offer. 

    The endpoint you are looking for is: 
    sugarinstance/.../metadata

    This will return a list of all modules with their fields. Look for 'modules' -> 'modulename' -> fields in the returned json. This should give you a hint. 

Children