Added getprofile API documentation and update API call.