Type Definitions
-
ServiceControllerGeneralOptions
-
Description
The type of ServiceController#options which are options for all kind of requests if you use
commonor refined per particular http method.Properties
Name Type Description commonServiceControllerOptions options that apply to all requests
getServiceControllerOptions options that apply to
getrequestsputServiceControllerOptions options that apply to
putrequestspostServiceControllerOptions options that apply to
postrequestsdeleteServiceControllerOptions options that apply to
deleterequests -
ServiceControllerOptions
-
Description
Request options. The needed permissions, validations, etc.
Properties
Name Type Description requirePermissionsany . Object indicating required permissions of the user invoking the service. Other whise it will respond with 503 error. Example:
requirePermissions: { list: ['lists.listCase.1'], }, ```requireSecureBoolean If http protocol is not secure it will throw an error
validateLoggedInPPSBoolean Verifies if user is not logged in and Pwd protected site is enabled, and if registration is enabled
requireLoginBoolean If user not logged in it will throw an error
checkLoggedInCheckoutBoolean Pass only if we are not in checkout OR if we are logged in