TicketUserServices

<back to all web services

OutboundCampaignConversionsRequest

Requires Authentication
Required role:Admin
The following routes are available for this service:
POST/Outbound/Campaigns/{CampaignId}/Conversions
import java.math.*
import java.util.*
import net.servicestack.client.*


open class OutboundCampaignConversionsRequest
{
    var campaignId:Int? = null
    var windowHours:Int? = null
}

open class OutboundCampaignConversionsResult
{
    var campaignId:Int? = null
    var sentPeople:Int? = null
    var sentConverted:Int? = null
    var sentRate:BigDecimal? = null
    var holdoutPeople:Int? = null
    var holdoutConverted:Int? = null
    var holdoutRate:BigDecimal? = null
    var liftPoints:BigDecimal? = null
    var note:String? = null
    var statusCode:Int? = null
    var message:String? = null
}

Kotlin OutboundCampaignConversionsRequest DTOs

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

HTTP + XML

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

POST /Outbound/Campaigns/{CampaignId}/Conversions HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<OutboundCampaignConversionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <CampaignId>0</CampaignId>
  <WindowHours>0</WindowHours>
</OutboundCampaignConversionsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<OutboundCampaignConversionsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <CampaignId>0</CampaignId>
  <HoldoutConverted>0</HoldoutConverted>
  <HoldoutPeople>0</HoldoutPeople>
  <HoldoutRate>0</HoldoutRate>
  <LiftPoints>0</LiftPoints>
  <Message>String</Message>
  <Note>String</Note>
  <SentConverted>0</SentConverted>
  <SentPeople>0</SentPeople>
  <SentRate>0</SentRate>
  <StatusCode>0</StatusCode>
</OutboundCampaignConversionsResult>