<back to all web services

SaveConfigurationMessage

The following routes are available for this service:
All Verbs/RestApi/Sitefinity/Analytics/SaveConfiguration
import java.math.*
import java.util.*
import net.servicestack.client.*


open class SaveConfigurationMessage
{
    var AccountName:String? = null
    var AccountId:String? = null
    var TrackedDomain:String? = null
    var ProfileId:String? = null
    var SiteId:UUID? = null
    var WebPropertyId:String? = null
    var ClientId:String? = null
    var ClientSecret:String? = null
    var UseEquals:Boolean? = null
    var PrependHost:Boolean? = null
}

open class SaveConfigurationData
{
    var TrackingCode:String? = null
    var ClientId:String? = null
    var ClientSecret:String? = null
    var SelectedAccount:String? = null
    var TrackedDomain:String? = null
    var SelectedProfileId:String? = null
}

Kotlin SaveConfigurationMessage DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /RestApi/Sitefinity/Analytics/SaveConfiguration HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"AccountName":"String","AccountId":"String","TrackedDomain":"String","ProfileId":"String","WebPropertyId":"String","ClientId":"String","ClientSecret":"String","UseEquals":false,"PrependHost":false}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"TrackingCode":"String","ClientId":"String","ClientSecret":"String","SelectedAccount":"String","TrackedDomain":"String","SelectedProfileId":"String"}