- TokenAuth
- /api/TokenAuth/AuthenticatePOST
- /api/TokenAuth/RefreshTokenPOST
- /api/TokenAuth/LogOutGET
- /api/TokenAuth/SendTwoFactorAuthCodePOST
- /api/TokenAuth/ImpersonatedAuthenticatePOST
- /api/TokenAuth/DelegatedImpersonatedAuthenticatePOST
- /api/TokenAuth/LinkedAccountAuthenticatePOST
- /api/TokenAuth/GetExternalAuthenticationProvidersGET
- /api/TokenAuth/ExternalAuthenticatePOST
- /api/TokenAuth/TestNotificationGET
- Tenant
- /api/services/app/Tenant/GetTenantsGET
- /api/services/app/Tenant/CreateTenantPOST
- /api/services/app/Tenant/GetTenantForEditGET
- /api/services/app/Tenant/UpdateTenantPUT
- /api/services/app/Tenant/DeleteTenantDELETE
- /api/services/app/Tenant/GetTenantFeaturesForEditGET
- /api/services/app/Tenant/UpdateTenantFeaturesPUT
- /api/services/app/Tenant/ResetTenantSpecificFeaturesPOST
- /api/services/app/Tenant/UnlockTenantAdminPOST
- PacsCheckApplies
- /api/services/app/PacsCheckApplies/GetAllGET
- /api/services/app/PacsCheckApplies/GetPacsCheckApplyForViewGET
- /api/services/app/PacsCheckApplies/GetPacsCheckApplyForEditGET
- /api/services/app/PacsCheckApplies/CreateOrEditPOST
- /api/services/app/PacsCheckApplies/DeleteDELETE
- /api/services/app/PacsCheckApplies/GetPacsCheckAppliesToExcelGET
- Account
- /api/services/app/Account/IsTenantAvailable
- /api/services/app/Account/ResolveTenantId
- /api/services/app/Account/Register
- /api/services/app/Account/SendPasswordResetCode
- /api/services/app/Account/ResetPassword
- /api/services/app/Account/SendEmailActivationLink
- /api/services/app/Account/ActivateEmail
- /api/services/app/Account/ImpersonateUser
- /api/services/app/Account/ImpersonateTenant
- /api/services/app/Account/DelegatedImpersonate
- /api/services/app/Account/BackToImpersonator
- /api/services/app/Account/SwitchToLinkedAccount
- AuditLog
- /api/services/app/AuditLog/GetAuditLogs
- /api/services/app/AuditLog/GetAuditLogsToExcel
- /api/services/app/AuditLog/GetEntityHistoryObjectTypes
- /api/services/app/AuditLog/GetEntityChanges
- /api/services/app/AuditLog/GetEntityTypeChanges
- /api/services/app/AuditLog/GetEntityChangesToExcel
- /api/services/app/AuditLog/GetEntityPropertyChanges
- Caching
- Chat
- CommonLookup
- DashboardCustomization
- /api/services/app/DashboardCustomization/GetUserDashboard
- /api/services/app/DashboardCustomization/SavePage
- /api/services/app/DashboardCustomization/RenamePage
- /api/services/app/DashboardCustomization/AddNewPage
- /api/services/app/DashboardCustomization/DeletePage
- /api/services/app/DashboardCustomization/AddWidget
- /api/services/app/DashboardCustomization/GetDashboardDefinition
- /api/services/app/DashboardCustomization/GetAllWidgetDefinitions
- /api/services/app/DashboardCustomization/GetAllAvailableWidgetDefinitionsForPage
- /api/services/app/DashboardCustomization/GetSettingName
- Demos
- DemoUiComponents
- /api/services/app/DemoUiComponents/SendAndGetDate
- /api/services/app/DemoUiComponents/SendAndGetDateTime
- /api/services/app/DemoUiComponents/SendAndGetDateRange
- /api/services/app/DemoUiComponents/SendAndGetDateWithText
- /api/services/app/DemoUiComponents/GetCountries
- /api/services/app/DemoUiComponents/SendAndGetSelectedCountries
- /api/services/app/DemoUiComponents/SendAndGetValue
- DynamicEntityProperty
- /api/services/app/DynamicEntityProperty/Get
- /api/services/app/DynamicEntityProperty/GetAllPropertiesOfAnEntity
- /api/services/app/DynamicEntityProperty/GetAll
- /api/services/app/DynamicEntityProperty/Add
- /api/services/app/DynamicEntityProperty/Update
- /api/services/app/DynamicEntityProperty/Delete
- /api/services/app/DynamicEntityProperty/GetAllEntitiesHasDynamicProperty
- DynamicEntityPropertyDefinition
- DynamicEntityPropertyValue
- /api/services/app/DynamicEntityPropertyValue/Get
- /api/services/app/DynamicEntityPropertyValue/GetAll
- /api/services/app/DynamicEntityPropertyValue/Add
- /api/services/app/DynamicEntityPropertyValue/Update
- /api/services/app/DynamicEntityPropertyValue/Delete
- /api/services/app/DynamicEntityPropertyValue/GetAllDynamicEntityPropertyValues
- /api/services/app/DynamicEntityPropertyValue/InsertOrUpdateAllValues
- /api/services/app/DynamicEntityPropertyValue/CleanValues
- DynamicProperty
- DynamicPropertyValue
- Edition
- /api/services/app/Edition/GetEditions
- /api/services/app/Edition/GetEditionForEdit
- /api/services/app/Edition/CreateEdition
- /api/services/app/Edition/UpdateEdition
- /api/services/app/Edition/DeleteEdition
- /api/services/app/Edition/MoveTenantsToAnotherEdition
- /api/services/app/Edition/GetEditionComboboxItems
- /api/services/app/Edition/GetTenantCount
- Friendship
- HostDashboard
- HostSettings
- Install
- Invoice
- Language
- /api/services/app/Language/GetLanguages
- /api/services/app/Language/GetLanguageForEdit
- /api/services/app/Language/CreateOrUpdateLanguage
- /api/services/app/Language/DeleteLanguage
- /api/services/app/Language/SetDefaultLanguage
- /api/services/app/Language/GetLanguageTexts
- /api/services/app/Language/UpdateLanguageText
- Notification
- /api/services/app/Notification/GetUserNotifications
- /api/services/app/Notification/ShouldUserUpdateApp
- /api/services/app/Notification/SetAllAvailableVersionNotificationAsRead
- /api/services/app/Notification/SetAllNotificationsAsRead
- /api/services/app/Notification/SetNotificationAsRead
- /api/services/app/Notification/GetNotificationSettings
- /api/services/app/Notification/UpdateNotificationSettings
- /api/services/app/Notification/DeleteNotification
- /api/services/app/Notification/DeleteAllUserNotifications
- /api/services/app/Notification/GetAllUserForLookupTable
- /api/services/app/Notification/GetAllOrganizationUnitForLookupTable
- /api/services/app/Notification/CreateMassNotification
- /api/services/app/Notification/CreateNewVersionReleasedNotification
- /api/services/app/Notification/GetAllNotifiers
- /api/services/app/Notification/GetNotificationsPublishedByUser
- OrganizationUnit
- /api/services/app/OrganizationUnit/GetOrganizationUnits
- /api/services/app/OrganizationUnit/GetOrganizationUnitUsers
- /api/services/app/OrganizationUnit/GetOrganizationUnitRoles
- /api/services/app/OrganizationUnit/CreateOrganizationUnit
- /api/services/app/OrganizationUnit/UpdateOrganizationUnit
- /api/services/app/OrganizationUnit/MoveOrganizationUnit
- /api/services/app/OrganizationUnit/DeleteOrganizationUnit
- /api/services/app/OrganizationUnit/RemoveUserFromOrganizationUnit
- /api/services/app/OrganizationUnit/RemoveRoleFromOrganizationUnit
- /api/services/app/OrganizationUnit/AddUsersToOrganizationUnit
- /api/services/app/OrganizationUnit/AddRolesToOrganizationUnit
- /api/services/app/OrganizationUnit/FindUsers
- /api/services/app/OrganizationUnit/FindRoles
- /api/services/app/OrganizationUnit/GetAll
- Payment
- /api/services/app/Payment/GetPaymentInfo
- /api/services/app/Payment/CreatePayment
- /api/services/app/Payment/CancelPayment
- /api/services/app/Payment/GetPaymentHistory
- /api/services/app/Payment/GetActiveGateways
- /api/services/app/Payment/GetPayment
- /api/services/app/Payment/GetLastCompletedPayment
- /api/services/app/Payment/BuyNowSucceed
- /api/services/app/Payment/NewRegistrationSucceed
- /api/services/app/Payment/UpgradeSucceed
- /api/services/app/Payment/ExtendSucceed
- /api/services/app/Payment/PaymentFailed
- /api/services/app/Payment/SwitchBetweenFreeEditions
- /api/services/app/Payment/UpgradeSubscriptionCostsLessThenMinAmount
- /api/services/app/Payment/HasAnyPayment
- PayPalPayment
- Permission
- Profile
- /api/services/app/Profile/GetCurrentUserProfileForEdit
- /api/services/app/Profile/DisableGoogleAuthenticator
- /api/services/app/Profile/ViewRecoveryCodes
- /api/services/app/Profile/GenerateGoogleAuthenticatorKey
- /api/services/app/Profile/UpdateGoogleAuthenticatorKey
- /api/services/app/Profile/SendVerificationSms
- /api/services/app/Profile/VerifySmsCode
- /api/services/app/Profile/PrepareCollectedData
- /api/services/app/Profile/UpdateCurrentUserProfile
- /api/services/app/Profile/ChangePassword
- /api/services/app/Profile/UpdateProfilePicture
- /api/services/app/Profile/VerifyAuthenticatorCode
- /api/services/app/Profile/GetPasswordComplexitySetting
- /api/services/app/Profile/GetProfilePicture
- /api/services/app/Profile/GetProfilePictureByUserName
- /api/services/app/Profile/GetFriendProfilePicture
- /api/services/app/Profile/GetProfilePictureByUser
- /api/services/app/Profile/ChangeLanguage
- Role
- Session
- StripePayment
- Subscription
- TenantCustomization
- TenantDashboard
- /api/services/app/TenantDashboard/GetMemberActivity
- /api/services/app/TenantDashboard/GetDashboardData
- /api/services/app/TenantDashboard/GetTopStats
- /api/services/app/TenantDashboard/GetProfitShare
- /api/services/app/TenantDashboard/GetDailySales
- /api/services/app/TenantDashboard/GetSalesSummary
- /api/services/app/TenantDashboard/GetRegionalStats
- /api/services/app/TenantDashboard/GetGeneralStats
- TenantRegistration
- TenantSettings
- /api/services/app/TenantSettings/GetAllSettingsGET
- /api/services/app/TenantSettings/UpdateAllSettingsPUT
- /api/services/app/TenantSettings/ClearLogoPOST
- /api/services/app/TenantSettings/ClearCustomCssPOST
- /api/services/app/TenantSettings/SendTestEmailPOST
- /api/services/app/TenantSettings/GetEnabledSocialLoginSettingsGET
- Timing
- Twitter
- UiCustomizationSettings
- /api/services/app/UiCustomizationSettings/GetUiManagementSettings
- /api/services/app/UiCustomizationSettings/ChangeThemeWithDefaultValues
- /api/services/app/UiCustomizationSettings/UpdateUiManagementSettings
- /api/services/app/UiCustomizationSettings/UpdateDefaultUiManagementSettings
- /api/services/app/UiCustomizationSettings/UseSystemDefaultSettings
- /api/services/app/UiCustomizationSettings/ChangeDarkModeOfCurrentTheme
- User
- /api/services/app/User/GetUsers
- /api/services/app/User/GetUsersToExcel
- /api/services/app/User/GetUserForEdit
- /api/services/app/User/GetUserPermissionsForEdit
- /api/services/app/User/ResetUserSpecificPermissions
- /api/services/app/User/UpdateUserPermissions
- /api/services/app/User/CreateOrUpdateUser
- /api/services/app/User/DeleteUser
- /api/services/app/User/UnlockUser
- UserDelegation
- UserLink
- UserLogin
- WebhookEvent
- WebhookSendAttempt
- WebhookSubscription
- /api/services/app/WebhookSubscription/PublishTestWebhook
- /api/services/app/WebhookSubscription/GetAllSubscriptions
- /api/services/app/WebhookSubscription/GetSubscription
- /api/services/app/WebhookSubscription/AddSubscription
- /api/services/app/WebhookSubscription/UpdateSubscription
- /api/services/app/WebhookSubscription/ActivateWebhookSubscription
- /api/services/app/WebhookSubscription/IsSubscribed
- /api/services/app/WebhookSubscription/GetAllSubscriptionsIfFeaturesGranted
- /api/services/app/WebhookSubscription/GetAllAvailableWebhooks
- WebLog
- 0常 用
/api/services/app/TenantSettings/UpdateAllSettings
PUT
/api/services/app/TenantSettings/UpdateAllSettings
TenantSettings
请求参数
Body 参数application/json
general
object (GeneralSettingsEditDto)
可选
timezone
string | null
可选
timezoneForComparison
string | null
可选
userManagement
object (TenantUserManagementSettingsEditDto)
必需
allowSelfRegistration
boolean
可选
isNewRegisteredUserActiveByDefault
boolean
可选
isEmailConfirmationRequiredForLogin
boolean
可选
useCaptchaOnRegistration
boolean
可选
useCaptchaOnLogin
boolean
可选
isCookieConsentEnabled
boolean
可选
isQuickThemeSelectEnabled
boolean
可选
allowUsingGravatarProfilePicture
boolean
可选
sessionTimeOutSettings
object (SessionTimeOutSettingsEditDto)
可选
email
object (TenantEmailSettingsEditDto)
可选
useHostDefaultEmailSettings
boolean
可选
defaultFromAddress
string | null
可选
defaultFromDisplayName
string | null
可选
smtpHost
string | null
可选
smtpPort
integer <int32>
可选
smtpUserName
string | null
可选
smtpPassword
string | null
可选
smtpDomain
string | null
可选
smtpEnableSsl
boolean
可选
smtpUseDefaultCredentials
boolean
可选
ldap
object (LdapSettingsEditDto)
可选
isModuleEnabled
boolean
可选
isEnabled
boolean
可选
domain
string | null
可选
userName
string | null
可选
password
string | null
可选
security
object (SecuritySettingsEditDto)
必需
allowOneConcurrentLoginPerUser
boolean
可选
useDefaultPasswordComplexitySettings
boolean
可选
passwordComplexity
object (PasswordComplexitySetting)
可选
defaultPasswordComplexity
object (PasswordComplexitySetting)
可选
userLockOut
object (UserLockOutSettingsEditDto)
可选
twoFactorLogin
object (TwoFactorLoginSettingsEditDto)
可选
billing
object (TenantBillingSettingsEditDto)
可选
legalName
string | null
可选
address
string | null
可选
taxVatNo
string | null
可选
otherSettings
object (TenantOtherSettingsEditDto)
可选
isQuickThemeSelectEnabled
boolean
可选
externalLoginProviderSettings
object (ExternalLoginProviderSettingsEditDto)
可选
facebook_IsDeactivated
boolean
可选
facebook
object (FacebookExternalLoginProviderSettings)
可选
google_IsDeactivated
boolean
可选
google
object (GoogleExternalLoginProviderSettings)
可选
twitter_IsDeactivated
boolean
可选
twitter
object (TwitterExternalLoginProviderSettings)
可选
microsoft_IsDeactivated
boolean
可选
microsoft
object (MicrosoftExternalLoginProviderSettings)
可选
openIdConnect_IsDeactivated
boolean
可选
openIdConnect
object (OpenIdConnectExternalLoginProviderSettings)
可选
openIdConnectClaimsMapping
array[object (JsonClaimMapDto) {2}] | null
可选
wsFederation_IsDeactivated
boolean
可选
wsFederation
object (WsFederationExternalLoginProviderSettings)
可选
wsFederationClaimsMapping
array[object (JsonClaimMapDto) {2}] | null
可选
示例
{
"general": {
"timezone": "string",
"timezoneForComparison": "string"
},
"userManagement": {
"allowSelfRegistration": true,
"isNewRegisteredUserActiveByDefault": true,
"isEmailConfirmationRequiredForLogin": true,
"useCaptchaOnRegistration": true,
"useCaptchaOnLogin": true,
"isCookieConsentEnabled": true,
"isQuickThemeSelectEnabled": true,
"allowUsingGravatarProfilePicture": true,
"sessionTimeOutSettings": {
"isEnabled": true,
"timeOutSecond": 10,
"showTimeOutNotificationSecond": 10,
"showLockScreenWhenTimedOut": true
}
},
"email": {
"useHostDefaultEmailSettings": true,
"defaultFromAddress": "string",
"defaultFromDisplayName": "string",
"smtpHost": "string",
"smtpPort": 0,
"smtpUserName": "string",
"smtpPassword": "string",
"smtpDomain": "string",
"smtpEnableSsl": true,
"smtpUseDefaultCredentials": true
},
"ldap": {
"isModuleEnabled": true,
"isEnabled": true,
"domain": "string",
"userName": "string",
"password": "string"
},
"security": {
"allowOneConcurrentLoginPerUser": true,
"useDefaultPasswordComplexitySettings": true,
"passwordComplexity": {
"requireDigit": true,
"requireLowercase": true,
"requireNonAlphanumeric": true,
"requireUppercase": true,
"requiredLength": 0
},
"defaultPasswordComplexity": {
"requireDigit": true,
"requireLowercase": true,
"requireNonAlphanumeric": true,
"requireUppercase": true,
"requiredLength": 0
},
"userLockOut": {
"isEnabled": true,
"maxFailedAccessAttemptsBeforeLockout": 0,
"defaultAccountLockoutSeconds": 0
},
"twoFactorLogin": {
"isEnabledForApplication": true,
"isEnabled": true,
"isEmailProviderEnabled": true,
"isSmsProviderEnabled": true,
"isRememberBrowserEnabled": true,
"isGoogleAuthenticatorEnabled": true
}
},
"billing": {
"legalName": "string",
"address": "string",
"taxVatNo": "string"
},
"otherSettings": {
"isQuickThemeSelectEnabled": true
},
"externalLoginProviderSettings": {
"facebook_IsDeactivated": true,
"facebook": {
"appId": "string",
"appSecret": "string"
},
"google_IsDeactivated": true,
"google": {
"clientId": "string",
"clientSecret": "string",
"userInfoEndpoint": "string"
},
"twitter_IsDeactivated": true,
"twitter": {
"consumerKey": "string",
"consumerSecret": "string"
},
"microsoft_IsDeactivated": true,
"microsoft": {
"clientId": "string",
"clientSecret": "string"
},
"openIdConnect_IsDeactivated": true,
"openIdConnect": {
"clientId": "string",
"clientSecret": "string",
"authority": "string",
"loginUrl": "string",
"validateIssuer": true,
"responseType": "string"
},
"openIdConnectClaimsMapping": [
{
"claim": "string",
"key": "string"
}
],
"wsFederation_IsDeactivated": true,
"wsFederation": {
"clientId": "string",
"tenant": "string",
"metaDataAddress": "string",
"wtrealm": "string",
"authority": "string"
},
"wsFederationClaimsMapping": [
{
"claim": "string",
"key": "string"
}
]
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT '/api/services/app/TenantSettings/UpdateAllSettings' \
--header 'Content-Type: application/json' \
--data-raw '{
"general": {
"timezone": "string",
"timezoneForComparison": "string"
},
"userManagement": {
"allowSelfRegistration": true,
"isNewRegisteredUserActiveByDefault": true,
"isEmailConfirmationRequiredForLogin": true,
"useCaptchaOnRegistration": true,
"useCaptchaOnLogin": true,
"isCookieConsentEnabled": true,
"isQuickThemeSelectEnabled": true,
"allowUsingGravatarProfilePicture": true,
"sessionTimeOutSettings": {
"isEnabled": true,
"timeOutSecond": 10,
"showTimeOutNotificationSecond": 10,
"showLockScreenWhenTimedOut": true
}
},
"email": {
"useHostDefaultEmailSettings": true,
"defaultFromAddress": "string",
"defaultFromDisplayName": "string",
"smtpHost": "string",
"smtpPort": 0,
"smtpUserName": "string",
"smtpPassword": "string",
"smtpDomain": "string",
"smtpEnableSsl": true,
"smtpUseDefaultCredentials": true
},
"ldap": {
"isModuleEnabled": true,
"isEnabled": true,
"domain": "string",
"userName": "string",
"password": "string"
},
"security": {
"allowOneConcurrentLoginPerUser": true,
"useDefaultPasswordComplexitySettings": true,
"passwordComplexity": {
"requireDigit": true,
"requireLowercase": true,
"requireNonAlphanumeric": true,
"requireUppercase": true,
"requiredLength": 0
},
"defaultPasswordComplexity": {
"requireDigit": true,
"requireLowercase": true,
"requireNonAlphanumeric": true,
"requireUppercase": true,
"requiredLength": 0
},
"userLockOut": {
"isEnabled": true,
"maxFailedAccessAttemptsBeforeLockout": 0,
"defaultAccountLockoutSeconds": 0
},
"twoFactorLogin": {
"isEnabledForApplication": true,
"isEnabled": true,
"isEmailProviderEnabled": true,
"isSmsProviderEnabled": true,
"isRememberBrowserEnabled": true,
"isGoogleAuthenticatorEnabled": true
}
},
"billing": {
"legalName": "string",
"address": "string",
"taxVatNo": "string"
},
"otherSettings": {
"isQuickThemeSelectEnabled": true
},
"externalLoginProviderSettings": {
"facebook_IsDeactivated": true,
"facebook": {
"appId": "string",
"appSecret": "string"
},
"google_IsDeactivated": true,
"google": {
"clientId": "string",
"clientSecret": "string",
"userInfoEndpoint": "string"
},
"twitter_IsDeactivated": true,
"twitter": {
"consumerKey": "string",
"consumerSecret": "string"
},
"microsoft_IsDeactivated": true,
"microsoft": {
"clientId": "string",
"clientSecret": "string"
},
"openIdConnect_IsDeactivated": true,
"openIdConnect": {
"clientId": "string",
"clientSecret": "string",
"authority": "string",
"loginUrl": "string",
"validateIssuer": true,
"responseType": "string"
},
"openIdConnectClaimsMapping": [
{
"claim": "string",
"key": "string"
}
],
"wsFederation_IsDeactivated": true,
"wsFederation": {
"clientId": "string",
"tenant": "string",
"metaDataAddress": "string",
"wtrealm": "string",
"authority": "string"
},
"wsFederationClaimsMapping": [
{
"claim": "string",
"key": "string"
}
]
}
}'
返回响应
🟢200Success
application/json
Body
object {0}
示例
{}