Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I'm working on the same thing in c#.This isn't tested, but try this:var userUpdate = new AddRemoteDestinationReq { remoteDestination = new XRemoteDestination { destination = phoneNumber, ...