CenResService

<back to all web services

ProfileMergePost

The following routes are available for this service:
POST/profile/merge/{SubscriptionId}
import java.math.*
import java.util.*
import net.servicestack.client.*


open class ProfileMergePost
{
    var profileMergeContainer:ProfileMergeContainer? = null
    var subscriptionId:String? = null
}

open class ProfileMergeContainer : ProfilePurgeContainer()
{
    var winningProfileId:String? = null
    var transferredCendynID:String? = null
}

open class ProfilePurgeContainer
{
    var transactionDate:Date? = null
    var retiredProfileId:String? = null
    var sourceId:ProfileMergePurgeSource? = null
    var importSource:String? = null
    var importSourceId:String? = null
    var cendynPropertyID:String? = null
}

enum class ProfileMergePurgeSource
{
    Other,
    Messaging,
    DirectDBExtract,
    ReportImport,
}

open class Response
{
    var statusCode:String? = null
    var recordCount:Int? = null
    var errorCount:Int? = null
}

Kotlin ProfileMergePost 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.

POST /profile/merge/{SubscriptionId} HTTP/1.1 
Host: cert.cendyn.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"profileMergeContainer":{"winningProfileId":"String","transferredCendynID":"String","transactionDate":"0001-01-01T00:00:00.0000000","retiredProfileId":"String","sourceId":"Other","importSource":"String","importSourceId":"String","cendynPropertyID":"String"},"subscriptionId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"statusCode":"String","recordCount":0,"errorCount":0}