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 .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.
POST /RestApi/Sitefinity/Analytics/SaveConfiguration HTTP/1.1
Host: www.asg.com.au
Accept: application/json
Content-Type: application/json
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: application/json Content-Length: length {"TrackingCode":"String","ClientId":"String","ClientSecret":"String","SelectedAccount":"String","TrackedDomain":"String","SelectedProfileId":"String"}