REST API to access custom layout form (to post data)

Hi,
I have created a custom layout form (to capture the spirometry data).
Is there a standard REST API to access the the layout forms (mainly to post the data to this form)?

I can post data to the vitals endpoint , but can’t figure out how post data for the forms (in the custom layouts).

Any help or suggestions will be appreciated.

Thanks.

@baba there is not a standard api to access a form. Did you check your swagger page? You find it at.
HTTP://localhost/openemr/swagger There you can see all of the APIs both standard and FHIR.

@baba You write your own api for form if you want.