GET api/NetworkMediaType/{id}?systemName={systemName}&username={username}&password={password}

Gets a specific network media type

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

systemName

string

Required

username

string

Required

password

string

Required

Body Parameters

None.

Response Information

Resource Description

APINetworkMediaType
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

NetworkId

Unique identifier of network to which this belongs

integer

None.

Description

Textual description

string

None.

Type

Type of advert: Banner, Text, Video, Bullet, Vast, Html5 or Flash

string

None.

Width

Width of advert in pixels

integer

None.

Height

Height of advert in pixels

integer

None.

OverlayWidth

Width of overlay advert in pixels

integer

None.

OverlayHeight

Height of overlay advert in pixels

integer

None.

CompanionWidth

Width of companion advert in pixels

integer

None.

CompanionHeight

Height of companion advert in pixels

integer

None.

MaximumSize

Maximum size of advert in bytes

integer

None.

AllowThirdPartyAdvertTag

Allow third party tags in place of specific advert: NotAllowed, Optional or Mandatory

string

None.

AllowThirdPartyContent

Allow third party content within advert: NotAllowed, Optional or Mandatory

string

None.

AllowAssociatedLogo

Allow logos in textual or banner adverts: NotAllowed, Optional or Mandatory

string

None.

AllowOverlay

Allow overlay advert in vast advert

boolean

None.

AllowCompanion

Allow companion advert in vast advert

boolean

None.

MaximumTitleLength

Number of characters allowed in title of text advert

integer

None.

MaximumSummaryLength

Number of characters allowed in summary of text advert

integer

None.

MaximumBulletCount

Number of allowable lines in bullet adverts

integer

None.

MaximumBulletLength

Number of characters allowed per line in bullet adverts

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "networkId": 2,
  "description": "sample string 3",
  "type": "sample string 4",
  "width": 1,
  "height": 1,
  "overlayWidth": 1,
  "overlayHeight": 1,
  "companionWidth": 1,
  "companionHeight": 1,
  "maximumSize": 1,
  "allowThirdPartyAdvertTag": "sample string 5",
  "allowThirdPartyContent": "sample string 6",
  "allowAssociatedLogo": "sample string 7",
  "allowOverlay": true,
  "allowCompanion": true,
  "maximumTitleLength": 1,
  "maximumSummaryLength": 1,
  "maximumBulletCount": 1,
  "maximumBulletLength": 1
}

application/xml, text/xml

Sample:
<APINetworkMediaType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <AllowAssociatedLogo>sample string 7</AllowAssociatedLogo>
  <AllowCompanion>true</AllowCompanion>
  <AllowOverlay>true</AllowOverlay>
  <AllowThirdPartyAdvertTag>sample string 5</AllowThirdPartyAdvertTag>
  <AllowThirdPartyContent>sample string 6</AllowThirdPartyContent>
  <CompanionHeight>1</CompanionHeight>
  <CompanionWidth>1</CompanionWidth>
  <Description>sample string 3</Description>
  <Height>1</Height>
  <Id>1</Id>
  <MaximumBulletCount>1</MaximumBulletCount>
  <MaximumBulletLength>1</MaximumBulletLength>
  <MaximumSize>1</MaximumSize>
  <MaximumSummaryLength>1</MaximumSummaryLength>
  <MaximumTitleLength>1</MaximumTitleLength>
  <NetworkId>2</NetworkId>
  <OverlayHeight>1</OverlayHeight>
  <OverlayWidth>1</OverlayWidth>
  <Type>sample string 4</Type>
  <Width>1</Width>
</APINetworkMediaType>