Trendsic Platform Service

<back to all web services

PursuitPipelineRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/pursuits/pipeline
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class PursuitPipelineRequest
{
}

open class PursuitListResponse
{
    open var ResponseStatus:ResponseStatus? = null
    open var Pursuits:ArrayList<Pursuit> = ArrayList<Pursuit>()
    open var Summary:PursuitPipelineSummary? = null
}

open class Pursuit
{
    open var PursuitID:Int? = null
    open var PursuitUID:UUID? = null
    open var PursuitNumber:String? = null
    open var Name:String? = null
    open var ClientOwner:String? = null
    open var WorkType:String? = null
    open var Solicitation:String? = null
    open var Location:String? = null
    open var Scope:String? = null
    open var Stage:String? = null
    open var Outcome:String? = null
    open var BidValue:BigDecimal? = null
    open var EstCost:BigDecimal? = null
    open var WinProbability:BigDecimal? = null
    open var CostOfPursuit:BigDecimal? = null
    open var DueDate:Date? = null
    open var EstimatorRfpRef:String? = null
    open var AwardedProjectID:Int? = null
    open var OpenedAt:Date? = null
    open var SubmittedAt:Date? = null
    open var DecidedAt:Date? = null
    open var CreatedBy:String? = null
    open var CreatedAt:Date? = null
    open var UpdatedAt:Date? = null
    open var DaysOpen:Int? = null
    open var WeightedValue:BigDecimal? = null
    open var Activity:ArrayList<PursuitActivity> = ArrayList<PursuitActivity>()
}

open class PursuitActivity
{
    open var PursuitActivityID:Int? = null
    open var PursuitID:Int? = null
    open var Kind:String? = null
    open var Label:String? = null
    open var Detail:String? = null
    open var Actor:String? = null
    open var CreatedAt:Date? = null
}

open class PursuitPipelineSummary
{
    open var ActivePursuits:Int? = null
    open var PipelineValue:BigDecimal? = null
    open var WeightedValue:BigDecimal? = null
    open var WonCount:Int? = null
    open var DecidedCount:Int? = null
    open var WinRate:BigDecimal? = null
    open var ClosingThisWeek:Int? = null
}

Kotlin PursuitPipelineRequest 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 /v1/pursuits/pipeline HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Pursuits":[{"PursuitID":0,"PursuitUID":"00000000000000000000000000000000","PursuitNumber":"String","Name":"String","ClientOwner":"String","WorkType":"String","Solicitation":"String","Location":"String","Scope":"String","Stage":"String","Outcome":"String","BidValue":0,"EstCost":0,"WinProbability":0,"CostOfPursuit":0,"DueDate":"0001-01-01T00:00:00.0000000","EstimatorRfpRef":"String","AwardedProjectID":0,"OpenedAt":"0001-01-01T00:00:00.0000000","SubmittedAt":"0001-01-01T00:00:00.0000000","DecidedAt":"0001-01-01T00:00:00.0000000","CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","UpdatedAt":"0001-01-01T00:00:00.0000000","DaysOpen":0,"WeightedValue":0,"Activity":[{"PursuitActivityID":0,"PursuitID":0,"Kind":"String","Label":"String","Detail":"String","Actor":"String","CreatedAt":"0001-01-01T00:00:00.0000000"}]}],"Summary":{"ActivePursuits":0,"PipelineValue":0,"WeightedValue":0,"WonCount":0,"DecidedCount":0,"WinRate":0,"ClosingThisWeek":0}}