| Requires any of the roles: | bookingsupplier-administrator-write, superadmin | 
| PUT | /settings/system | Update system settings for the currently logged in user | Update system settings for the currently logged in user. | 
|---|
namespace BokaMera.API.ServiceModel.Dtos
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
    [<AllowNullLiteral>]
    type LanguageResponse() = 
        member val Id:String = null with get,set
        member val Name:String = null with get,set
    [<AllowNullLiteral>]
    type SystemSettingsResponse() = 
        ///<summary>
        ///The country options to choose from
        ///</summary>
        [<ApiMember(Description="The country options to choose from")>]
        member val LanguageOptions:ResizeArray<LanguageResponse> = null with get,set
        ///<summary>
        ///If the booking is active or not
        ///</summary>
        [<ApiMember(DataType="bool", Description="If the booking is active or not")>]
        member val Active:Boolean = new Boolean() with get,set
        ///<summary>
        ///If the booking is not active, what message to show to the customers
        ///</summary>
        [<ApiMember(DataType="string", Description="If the booking is not active, what message to show to the customers")>]
        member val InactiveMessage:String = null with get,set
        ///<summary>
        ///If the company should be visible in search results on homepage
        ///</summary>
        [<ApiMember(DataType="bool", Description="If the company should be visible in search results on homepage")>]
        member val Searchable:Boolean = new Boolean() with get,set
        ///<summary>
        ///If you have a Google Analytics account and want to track your customers behaviors.
        ///</summary>
        [<ApiMember(DataType="string", Description="If you have a Google Analytics account and want to track your customers behaviors.")>]
        member val GATrackingId:String = null with get,set
        ///<summary>
        ///If you have a Google Ads Conversion Id account and want to track your customers behaviors.
        ///</summary>
        [<ApiMember(DataType="string", Description="If you have a Google Ads Conversion Id account and want to track your customers behaviors.")>]
        member val GoogleAdsConversionId:String = null with get,set
        ///<summary>
        ///If you have a LinkedIn account and want to track your customers behaviors.
        ///</summary>
        [<ApiMember(DataType="string", Description="If you have a LinkedIn account and want to track your customers behaviors.")>]
        member val LinkedinTagId:String = null with get,set
        ///<summary>
        ///If you have a Google Ads Conversion Label and want to track your customers behaviors.
        ///</summary>
        [<ApiMember(DataType="string", Description="If you have a Google Ads Conversion Label and want to track your customers behaviors.")>]
        member val GoogleAdsConversionLabel:String = null with get,set
        ///<summary>
        ///If you have a Google Tag Manager account and want to track your customers behaviors.
        ///</summary>
        [<ApiMember(DataType="string", Description="If you have a Google Tag Manager account and want to track your customers behaviors.")>]
        member val GTMTrackingId:String = null with get,set
        ///<summary>
        ///If you have a Facebook account and want to track your customers behaviors.
        ///</summary>
        [<ApiMember(DataType="string", Description="If you have a Facebook account and want to track your customers behaviors.")>]
        member val FacebookPixelId:String = null with get,set
        ///<summary>
        ///If the company should be visible on the marketplace
        ///</summary>
        [<ApiMember(DataType="bool", Description="If the company should be visible on the marketplace")>]
        member val ShowOnMarketplace:Boolean = new Boolean() with get,set
        ///<summary>
        ///If you want your customers to be able to change language on your homepage
        ///</summary>
        [<ApiMember(DataType="bool", Description="If you want your customers to be able to change language on your homepage")>]
        member val MultiLanguage:Boolean = new Boolean() with get,set
        ///<summary>
        ///If you want your own written text on your homepage to be translated using Google Translate when a user changes language
        ///</summary>
        [<ApiMember(DataType="bool", Description="If you want your own written text on your homepage to be translated using Google Translate when a user changes language")>]
        member val EnableAPITranslation:Boolean = new Boolean() with get,set
        ///<summary>
        ///What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN
        ///</summary>
        [<ApiMember(DataType="string", Description="What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN")>]
        member val DefaultLanguage:String = null with get,set
        ///<summary>
        ///If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR. 
        ///</summary>
        [<ApiMember(Description="If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR. ")>]
        member val SendCustomerInformationToExternalProviders:Boolean = new Boolean() with get,set
    [<ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)>]
    [<ApiResponse(Description="You have too low privileges to call this service", StatusCode=403)>]
    [<ValidateRequest(Validator="IsAuthenticated")>]
    [<AllowNullLiteral>]
    type UpdateSystemSetting() = 
        ///<summary>
        ///The company id, if empty will use the company id for the user you are logged in with.
        ///</summary>
        [<ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.")>]
        member val CompanyId:Nullable<Guid> = new Nullable<Guid>() with get,set
        ///<summary>
        ///If the booking is active or not
        ///</summary>
        [<ApiMember(DataType="bool", Description="If the booking is active or not")>]
        member val Active:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        ///<summary>
        ///If the booking is not active, what message to show to the customers
        ///</summary>
        [<ApiMember(DataType="string", Description="If the booking is not active, what message to show to the customers")>]
        member val InactiveMessage:String = null with get,set
        ///<summary>
        ///If the company should be visible in search results on homepage
        ///</summary>
        [<ApiMember(DataType="bool", Description="If the company should be visible in search results on homepage")>]
        member val Searchable:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        ///<summary>
        ///If you have a Google Analytics account and want to track your customers behaviors.
        ///</summary>
        [<ApiMember(DataType="string", Description="If you have a Google Analytics account and want to track your customers behaviors.")>]
        member val GATrackingId:String = null with get,set
        ///<summary>
        ///If you have a Google Ads Conversion Id account and want to track your customers behaviors.
        ///</summary>
        [<ApiMember(DataType="string", Description="If you have a Google Ads Conversion Id account and want to track your customers behaviors.")>]
        member val GoogleAdsConversionId:String = null with get,set
        ///<summary>
        ///If you have a LinkedIn account and want to track your customers behaviors.
        ///</summary>
        [<ApiMember(DataType="string", Description="If you have a LinkedIn account and want to track your customers behaviors.")>]
        member val LinkedinTagId:String = null with get,set
        ///<summary>
        ///If you have a Google Ads Conversion Label and want to track your customers behaviors.
        ///</summary>
        [<ApiMember(DataType="string", Description="If you have a Google Ads Conversion Label and want to track your customers behaviors.")>]
        member val GoogleAdsConversionLabel:String = null with get,set
        ///<summary>
        ///If you have a Google Tag Manager account and want to track your customers behaviors.
        ///</summary>
        [<ApiMember(DataType="string", Description="If you have a Google Tag Manager account and want to track your customers behaviors.")>]
        member val GTMTrackingId:String = null with get,set
        ///<summary>
        ///If you have a Facebook account and want to track your customers behaviors.
        ///</summary>
        [<ApiMember(DataType="string", Description="If you have a Facebook account and want to track your customers behaviors.")>]
        member val FacebookPixelId:String = null with get,set
        ///<summary>
        ///If the company should be visible on the marketplace
        ///</summary>
        [<ApiMember(DataType="bool", Description="If the company should be visible on the marketplace")>]
        member val ShowOnMarketplace:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        ///<summary>
        ///If you want your customers to be able to change language on your homepage
        ///</summary>
        [<ApiMember(DataType="bool", Description="If you want your customers to be able to change language on your homepage")>]
        member val MultiLanguage:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        ///<summary>
        ///If you want your own written text on your homepage to be translated using Google Translate when a user changes language
        ///</summary>
        [<ApiMember(DataType="bool", Description="If you want your own written text on your homepage to be translated using Google Translate when a user changes language")>]
        member val EnableAPITranslation:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        ///<summary>
        ///What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN
        ///</summary>
        [<ApiMember(DataType="string", Description="What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN")>]
        member val DefaultLanguage:String = null with get,set
        ///<summary>
        ///If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR. 
        ///</summary>
        [<ApiMember(Description="If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR. ")>]
        member val SendCustomerInformationToExternalProviders:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        ///<summary>
        ///The maximum number of SMS messages that can be sent per day.
        ///</summary>
        [<ApiMember(Description="The maximum number of SMS messages that can be sent per day.")>]
        member val SMSMessageDailySendLimit:Nullable<Int32> = new Nullable<Int32>() with get,set
        ///<summary>
        ///The maximum number of email messages that can be sent per day.
        ///</summary>
        [<ApiMember(Description="The maximum number of email messages that can be sent per day.")>]
        member val EmailMessageDailySendLimit:Nullable<Int32> = new Nullable<Int32>() with get,set
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /settings/system HTTP/1.1 
Host: api.bokamera.se 
Accept: application/json
Content-Type: application/json
Content-Length: length
{"CompanyId":"00000000-0000-0000-0000-000000000000","Active":false,"InactiveMessage":"String","Searchable":false,"GATrackingId":"String","GoogleAdsConversionId":"String","LinkedinTagId":"String","GoogleAdsConversionLabel":"String","GTMTrackingId":"String","FacebookPixelId":"String","ShowOnMarketplace":false,"MultiLanguage":false,"EnableAPITranslation":false,"DefaultLanguage":"String","SendCustomerInformationToExternalProviders":false,"SMSMessageDailySendLimit":0,"EmailMessageDailySendLimit":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"LanguageOptions":[{"Id":"String","Name":"String"}],"Active":false,"InactiveMessage":"String","Searchable":false,"GATrackingId":"String","GoogleAdsConversionId":"String","LinkedinTagId":"String","GoogleAdsConversionLabel":"String","GTMTrackingId":"String","FacebookPixelId":"String","ShowOnMarketplace":false,"MultiLanguage":false,"EnableAPITranslation":false,"DefaultLanguage":"String","SendCustomerInformationToExternalProviders":false}