<back to all web services

LeadScoreRequestDto

The following routes are available for this service:
GET/RestApi/sitefinity/data-intelligence/leadscore
import java.math.*
import java.util.*
import net.servicestack.client.*


open class LeadScoreRequestDto
{
    var Filter:String? = null
}

open class LeadScoreListViewModel
{
    var LeadScores:IList<LeadScore>? = null
    var DecAppUrl:String? = null
}

open class LeadScore
{
    var Id:Int? = null
    var Name:String? = null
    var State:LeadScoreState? = null
    var Levels:IList<LeadScoreLevel>? = null
    var Fields:HashMap<String,String> = HashMap<String,String>()
    var CreatedOn:Date? = null
    var CreatedByUserId:String? = null
    var ModifiedOn:Date? = null
    var ModifiedByUserId:String? = null
    var ToBeReinitializedAt:Date? = null
}

enum class LeadScoreState
{
    Inactive,
    Active,
    ToBeDeleted,
}

open class LeadScoreLevel
{
    var Id:Int? = null
    var Name:String? = null
    var Threshold:Int? = null
    var SendNotification:Boolean? = null
    var Email:String? = null
}

Kotlin LeadScoreRequestDto 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

HTTP + JSON

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

GET /RestApi/sitefinity/data-intelligence/leadscore HTTP/1.1 
Host: www.asg.com.au 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"DecAppUrl":"String"}