How to correctly send SetParameterValues request

Upon receiving the VALUE CHANGE event, I need to check for vendor specific value and if the value is 1, I have to send inform respnose and setParamterequest.
I am trying like this but it does not seem to be sufficient.
const {
fault: fault,
rpcId: id,
rpc: acsRequest,
} = await session.rpcRequest(sessionContext, null);

How do I correctly frame the SetParameterValues request? I am new to GenieACS and any help is appreciated.

You need to give a lot more context. Are you using an extension script to send data to an external system? How are you wanting to do the SPV? API or provision script?

http://docs.genieacs.com/en/latest/api-reference.html
Maybe it helps you.