Learn how we can use the Microsoft Dynamics CRM API function in JS to get the Status code and option set values on the client side.