| GET | /CampaignConversions/{CampaignId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CampaignId | path | int | No | |
| RunId | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RunId | form | string | No | |
| PeopleMeasured | form | int | No | |
| PeopleConverted | form | int | No | |
| TotalAmount | form | decimal | No | |
| BySurface | form | List<CampaignConversionSurfaceCount> | No | |
| ByChannel | form | List<CampaignConversionSurfaceCount> | No | |
| HeadlineConversions | form | int | No | |
| HeadlineAmount | form | decimal | No | |
| MedianHoursToConvert | form | int | No | |
| Notes | form | List<string> | No | |
| StatusCode | form | int | No | |
| Message | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Key | form | string | No | |
| People | form | int | No | |
| Count | form | int | No | |
| Amount | form | decimal | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /CampaignConversions/{CampaignId} HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"runId":"String","peopleMeasured":0,"peopleConverted":0,"totalAmount":0,"bySurface":[{"key":"String","people":0,"count":0,"amount":0}],"byChannel":[{"key":"String","people":0,"count":0,"amount":0}],"headlineConversions":0,"headlineAmount":0,"medianHoursToConvert":0,"notes":["String"],"statusCode":0,"message":"String"}