GET api/appcampaign/campaign?width={width}&height={height}

Returns App Campaign data

Request Information

URI Parameters

NameDescriptionTypeAdditional information
width

Width of mobile device display

integer

Required

height

Height of mobile device display

integer

Required

Body Parameters

None.

Response Information

First suitable AppCampaign

NameDescriptionTypeAdditional information
AppCampaignId

integer

None.

Title

string

None.

Header

string

None.

Teaser

string

None.

VisibleDateFrom

date

None.

VisibleDateTo

date

None.

Image

string

None.

AppCampaignData

AppCampaignData

None.

Response Formats

application/json, text/json

Sample:
{
  "appCampaignId": 1,
  "title": "sample string 2",
  "header": "sample string 3",
  "teaser": "sample string 4",
  "visibleDateFrom": "2018-12-10T16:51:36.3583+01:00",
  "visibleDateTo": "2018-12-10T16:51:36.3583+01:00",
  "image": "sample string 6",
  "appCampaignData": null
}