I have created below Add method in REST api, I got requested data in objExternalUser object but it is not saved to DB.
Using "Write objExternalUser.%JSONExport()" I got JSON data.
Please refer below screen.
InterSystems Caché is a multi-model DBMS and application server. See more details here.