Advertisement
nahidjamalli

Updating Zendesk Credentials

Dec 19th, 2022 (edited)
1,375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 2.85 KB | None | 0 0
  1. -- OLD VERSION
  2. UPDATE ConfigurationDB.dbo.Settings
  3. SET [Value] = dbo.EncryptValue('Some glory in their birth, some in their skill', 'f8339d7989f03e965d16b1f849166fd1b8470bd6b78045bb')
  4. WHERE SettingType = 'Zendesk_AppID';
  5.  
  6. -- NEW VERSION
  7. UPDATE ConfigurationDB.dbo.Settings
  8. SET [Value] = dbo.EncryptValue('Some glory in their birth, some in their skill', '3e7a619d2038e38486626f4990185f7cf41257a50afe0898')
  9. WHERE SettingType = 'Zendesk_AppID';
  10. --------------------------------------------------------------------------
  11. -- OLD VERSION
  12. UPDATE ConfigurationDB.dbo.Settings
  13. SET [Value] = dbo.EncryptValue('Some glory in their birth, some in their skill', 'mobile_sdk_client_e8e29fca611480fb6fd0')
  14. WHERE SettingType = 'Zendesk_ClientID';
  15.  
  16. -- NEW VERSION
  17. UPDATE ConfigurationDB.dbo.Settings
  18. SET [Value] = dbo.EncryptValue('Some glory in their birth, some in their skill', 'mobile_sdk_client_7c3cbf17476c00cebd2c')
  19. WHERE SettingType = 'Zendesk_ClientID';
  20. --------------------------------------------------------------------------
  21. -- OLD VERSION
  22. UPDATE ConfigurationDB.dbo.Settings
  23. SET [Value] = dbo.EncryptValue('Some glory in their birth, some in their skill', 'https://coherohealth1516633557.zendesk.com')
  24. WHERE SettingType = 'Zendesk_URL';
  25.  
  26. -- NEW VERSION
  27. UPDATE ConfigurationDB.dbo.Settings
  28. SET [Value] = dbo.EncryptValue('Some glory in their birth, some in their skill', 'https://voluntis1598889840.zendesk.com')
  29. WHERE SettingType = 'Zendesk_URL';
  30. --------------------------------------------------------------------------
  31. -- Cohero Sandbox
  32. UPDATE ConfigurationDB.dbo.Settings
  33. SET [Value] = '360000035686'
  34. WHERE SettingType = 'Zendesk_MedicationInfo';
  35.  
  36. -- Voluntis Sandbox
  37. UPDATE ConfigurationDB.dbo.Settings
  38. SET [Value] = '1500005137781'
  39. WHERE SettingType = 'Zendesk_MedicationInfo';
  40. --------------------------------------------------------------------------
  41. -- Cohero Sandbox
  42. UPDATE ConfigurationDB.dbo.Settings
  43. SET [Value] = '360000037243'
  44. WHERE SettingType = 'Zendesk_AvailableModules';
  45.  
  46. -- Voluntis Sandbox
  47. UPDATE ConfigurationDB.dbo.Settings
  48. SET [Value] = '11930535774099'
  49. WHERE SettingType = 'Zendesk_AvailableModules';
  50. --------------------------------------------------------------------------
  51. -- Cohero Sandbox
  52. UPDATE ConfigurationDB.dbo.Settings
  53. SET [Value] = '360000035706'
  54. WHERE SettingType = 'Zendesk_LastMedicationEntryRegistered';
  55.  
  56. -- Voluntis Sandbox
  57. UPDATE ConfigurationDB.dbo.Settings
  58. SET [Value] = '11856844066195'
  59. WHERE SettingType = 'Zendesk_LastMedicationEntryRegistered';
  60. --------------------------------------------------------------------------
  61. -- Cohero Sandbox
  62. UPDATE ConfigurationDB.dbo.Settings
  63. SET [Value] = '360000035726'
  64. WHERE SettingType = 'Zendesk_LastmMedicationEntrySynced';
  65.  
  66. -- Voluntis Sandbox
  67. UPDATE ConfigurationDB.dbo.Settings
  68. SET [Value] = '11856878394387'
  69. WHERE SettingType = 'Zendesk_LastmMedicationEntrySynced';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement