I am using a password flow for authorization because this is a server app with no UI. I make a CreateSubscriptionRequest object for the request of the POST and give it eventFilters and a NotificationDeliveryModeRequest object with transportType and address. I then navigate to the subscription endpoint where I call the POST method with the CreateSubscriptionRequest object as its parameter and when the code gets to this point it returns an error saying "Call failed with status code 400 (Bad Request) POST https://platform.devtest.ringcentral.com/restapi/v1.0/subscription".
I'm not sure what the problem with the request is or if its something else that I cant figure out. If anyone has any ideas or the same issue please let me know. Thanks!