POST api/OverlayItem/GetOverlayItem

Request Information

URI Parameters

None.

Body Parameters

Overlay
NameDescriptionTypeAdditional information
Id

integer

None.

OverlayName

string

None.

LocationId

string

None.

TrailId

string

None.

Created

string

None.

Source

string

None.

Type

string

None.

Data

string

None.

IsLocationLevel

boolean

None.

IsVisible

boolean

None.

Colour

string

None.

MobileFileName

string

None.

MobileFileData

Collection of byte

None.

Url

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OverlayName": "sample string 2",
  "LocationId": "sample string 3",
  "TrailId": "sample string 4",
  "Created": "sample string 5",
  "Source": "sample string 6",
  "Type": "sample string 7",
  "Data": "sample string 8",
  "IsLocationLevel": true,
  "IsVisible": true,
  "Colour": "sample string 11",
  "MobileFileName": "sample string 12",
  "MobileFileData": "QEA=",
  "Url": "sample string 13"
}

application/xml, text/xml

Sample:
<Overlay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <Colour>sample string 11</Colour>
  <Created>sample string 5</Created>
  <Data>sample string 8</Data>
  <Id>1</Id>
  <IsLocationLevel>true</IsLocationLevel>
  <IsVisible>true</IsVisible>
  <LocationId>sample string 3</LocationId>
  <MobileFileData>QEA=</MobileFileData>
  <MobileFileName>sample string 12</MobileFileName>
  <OverlayName>sample string 2</OverlayName>
  <Source>sample string 6</Source>
  <TrailId>sample string 4</TrailId>
  <Type>sample string 7</Type>
  <Url>sample string 13</Url>
</Overlay>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Overlay'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.