| Required role: | Admin |
| POST | /Outbound/Campaigns/{CampaignId}/Conversions |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CampaignId | path | int | No | |
| WindowHours | body | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CampaignId | form | int | No | |
| SentPeople | form | int | No | |
| SentConverted | form | int | No | |
| SentRate | form | decimal | No | |
| HoldoutPeople | form | int | No | |
| HoldoutConverted | form | int | No | |
| HoldoutRate | form | decimal | No | |
| LiftPoints | form | decimal | No | |
| Note | form | string | No | |
| StatusCode | form | int | No | |
| Message | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
campaignId: 0,
windowHours: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
campaignId: 0,
sentPeople: 0,
sentConverted: 0,
sentRate: 0,
holdoutPeople: 0,
holdoutConverted: 0,
holdoutRate: 0,
liftPoints: 0,
note: String,
statusCode: 0,
message: String
}