Hi Alex,
Thank you for the valuable comment!
I tried to pass the body with client connection details (client_id, client_secret, username, password, grant_type) in CDATA variable but it is not working.
Not sure but I think that I need to create an external connector out of Sage X3 which could authenticate external REST web services with oAuth2.
Warm Regards,
Chitransh