There are many sms sending service providers and all of these services have different parameter names. I do not know which company is using which web service provider. If I request the parameters to be requested from the user during the soap request, is it possible to define these parameters as object keys?
For example:
First user request parameters : [companyName ,msgBody,recipients],
Another user request parameters: [id,msgText,numbers,channelCode],
If we have defined this array to the function parameter that will send the sms request.
And I want to create Object for Soap Body.
Result for First user : obj={companyName:'ASDDASD',msgBody:'Hello',recipients:'0264344534'}
Result for Another user : obj ={id:21,msgText:'hi,numbers:54564234,channelCode:1}
Note: obj values are written randomly