Hi @Shrutii
You could use something like the below code (Please modify according to your requirements) :-
var rcp = <recipient
_operation="insertOrUpdate"
_key="@email"
xtkschema="namespace:OrderSchema"
firstName="firstName"
lastName="lastName3"
email="vanilla@JStest.com" >
</recipient>;
xtk.session.Write(rcp);
Thanks
Akshay