How does the eCompliance API work with these new changes?
With the eCompliance API users can:
-
Retrieve a company via its Id
-
Retrieve a company that matches search criteria
-
Add a company
-
Update company details
-
Link a user to a company
-
Unlink users from a company
Details can be viewed here.
How does updating a company via the API work? Do we update only the fields that are provided or do we update all the properties and the ones not provided will be set as empty/null? If we have to clear fields not provide, would be set the company status to Active which is mentioned as default during company creation?
eCompliance will only update the fields that are provided. The company status value (active.inactive) remains unchanged if not provided by default.
What are the required fields for UPDATE or CREATE a company via the API
Company name and status are both required.
Comments
0 comments
Please sign in to leave a comment.