Class WebApiOptions
Namespace: SuperOffice.WebApiAssembly: SuperOffice.WebApi.dll Configure the WebAPI clients with the right URL, language, timeout, and compression flags. The language and timezones can be overridden per request.
Inheritance
object ← RequestOptions ← WebApiOptionsInherited Members
RequestOptions.DefaultTimeout, RequestOptions.LanguageCode, RequestOptions.CultureCode, RequestOptions.Timeout, RequestOptions.TimeZone, RequestOptions.TimeZoneIncludeOffset, RequestOptions.CustomHeaders, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()Constructors
WebApiOptions()
ConstructorWebApiOptions(string)
ConstructorParameters
baseUrl string
WebApiOptions(string, IAuthorization)
ConstructorParameters
baseUrl string
authorization IAuthorization
WebApiOptions(string, IAuthorization, ILogger, string, string, bool)
ConstructorParameters
baseUrl string
SuperOffice WebAPI base URL: “https://example.com/Super/api/”
authorization IAuthorization
Instance used to set Authorization scheme and value.
logger ILogger
Optional logger
languageCode string
ISO Language “en”, “sv”
timeZone string
Timezone code: “utc”, “NO”.
verifyUrl bool
Determines whether base url is verified - end with /api, “https://example.com/Super/api/”.