コード例 #1
0
        public static void UpdateAppoimentStatus(AppointmentList appointments)
        {
            UpdateAppointmentStatusReq req = new UpdateAppointmentStatusReq();

            req.BusinessData = appointments;
            req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString();
            req.ContextInformation.AppId  = Controller.CurrentHealthInstitution.HealthInstitutionId.ToString();

            UpdateAppointmentStatusRes res = req.ExecuteService <UpdateAppointmentStatusReq, UpdateAppointmentStatusRes>(req);

            if (res.Error != null)
            {
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);
            }
        }
コード例 #2
0
ファイル: Controller.cs プロジェクト: spzenk/sfdocsamples
        public static void UpdateAppoimentStatus(AppointmentList appointments)
        {
            UpdateAppointmentStatusReq req = new UpdateAppointmentStatusReq();

            req.BusinessData = appointments;
            req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString();
            req.ContextInformation.AppId = Controller.CurrentHealthInstitution.HealthInstitutionId.ToString();

            UpdateAppointmentStatusRes res = req.ExecuteService<UpdateAppointmentStatusReq, UpdateAppointmentStatusRes>(req);

            if (res.Error != null)
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);
        }