POST api/Landmark?FilePath={FilePath}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FilePath

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Landmark
NameDescriptionTypeAdditional information
LandmarkId

integer

None.

LandmarkName

string

None.

LandmarkDescription

string

None.

LandmarkTypeId

integer

None.

LandmarkTypeName

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Radius

decimal number

None.

HasNewGroup

boolean

None.

NewGroupName

string

None.

MultiGroupIds

string

None.

LatLng

string

None.

Distance

decimal number

None.

LandmarkGroupId

integer

None.

LandmarkGroupName

string

None.

LandmarkGroupIds

string

None.

UserId

integer

None.

LandmarkGroups

Collection of LandmarkGroup

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LandmarkId": 1,
    "LandmarkName": "sample string 2",
    "LandmarkDescription": "sample string 3",
    "LandmarkTypeId": 4,
    "LandmarkTypeName": "sample string 5",
    "Latitude": 6.1,
    "Longitude": 7.1,
    "Radius": 1.1,
    "HasNewGroup": true,
    "NewGroupName": "sample string 9",
    "MultiGroupIds": "sample string 10",
    "LatLng": "sample string 11",
    "Distance": 1.0,
    "LandmarkGroupId": 12,
    "LandmarkGroupName": "sample string 13",
    "LandmarkGroupIds": "sample string 14",
    "UserId": 15,
    "LandmarkGroups": [
      {
        "LandmarkGroupId": 1,
        "Name": "sample string 2",
        "LandmarkGroupName": "sample string 3"
      },
      {
        "LandmarkGroupId": 1,
        "Name": "sample string 2",
        "LandmarkGroupName": "sample string 3"
      }
    ]
  },
  {
    "LandmarkId": 1,
    "LandmarkName": "sample string 2",
    "LandmarkDescription": "sample string 3",
    "LandmarkTypeId": 4,
    "LandmarkTypeName": "sample string 5",
    "Latitude": 6.1,
    "Longitude": 7.1,
    "Radius": 1.1,
    "HasNewGroup": true,
    "NewGroupName": "sample string 9",
    "MultiGroupIds": "sample string 10",
    "LatLng": "sample string 11",
    "Distance": 1.0,
    "LandmarkGroupId": 12,
    "LandmarkGroupName": "sample string 13",
    "LandmarkGroupIds": "sample string 14",
    "UserId": 15,
    "LandmarkGroups": [
      {
        "LandmarkGroupId": 1,
        "Name": "sample string 2",
        "LandmarkGroupName": "sample string 3"
      },
      {
        "LandmarkGroupId": 1,
        "Name": "sample string 2",
        "LandmarkGroupName": "sample string 3"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfLandmark xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TWViewModel">
  <Landmark>
    <Distance>1</Distance>
    <HasNewGroup>true</HasNewGroup>
    <LandmarkDescription>sample string 3</LandmarkDescription>
    <LandmarkGroupId>12</LandmarkGroupId>
    <LandmarkGroupIds>sample string 14</LandmarkGroupIds>
    <LandmarkGroupName>sample string 13</LandmarkGroupName>
    <LandmarkGroups>
      <LandmarkGroup>
        <LandmarkGroupId>1</LandmarkGroupId>
        <LandmarkGroupName>sample string 3</LandmarkGroupName>
        <Name>sample string 2</Name>
      </LandmarkGroup>
      <LandmarkGroup>
        <LandmarkGroupId>1</LandmarkGroupId>
        <LandmarkGroupName>sample string 3</LandmarkGroupName>
        <Name>sample string 2</Name>
      </LandmarkGroup>
    </LandmarkGroups>
    <LandmarkId>1</LandmarkId>
    <LandmarkName>sample string 2</LandmarkName>
    <LandmarkTypeId>4</LandmarkTypeId>
    <LandmarkTypeName>sample string 5</LandmarkTypeName>
    <LatLng>sample string 11</LatLng>
    <Latitude>6.1</Latitude>
    <Longitude>7.1</Longitude>
    <MultiGroupIds>sample string 10</MultiGroupIds>
    <NewGroupName>sample string 9</NewGroupName>
    <Radius>1.1</Radius>
    <UserId>15</UserId>
  </Landmark>
  <Landmark>
    <Distance>1</Distance>
    <HasNewGroup>true</HasNewGroup>
    <LandmarkDescription>sample string 3</LandmarkDescription>
    <LandmarkGroupId>12</LandmarkGroupId>
    <LandmarkGroupIds>sample string 14</LandmarkGroupIds>
    <LandmarkGroupName>sample string 13</LandmarkGroupName>
    <LandmarkGroups>
      <LandmarkGroup>
        <LandmarkGroupId>1</LandmarkGroupId>
        <LandmarkGroupName>sample string 3</LandmarkGroupName>
        <Name>sample string 2</Name>
      </LandmarkGroup>
      <LandmarkGroup>
        <LandmarkGroupId>1</LandmarkGroupId>
        <LandmarkGroupName>sample string 3</LandmarkGroupName>
        <Name>sample string 2</Name>
      </LandmarkGroup>
    </LandmarkGroups>
    <LandmarkId>1</LandmarkId>
    <LandmarkName>sample string 2</LandmarkName>
    <LandmarkTypeId>4</LandmarkTypeId>
    <LandmarkTypeName>sample string 5</LandmarkTypeName>
    <LatLng>sample string 11</LatLng>
    <Latitude>6.1</Latitude>
    <Longitude>7.1</Longitude>
    <MultiGroupIds>sample string 10</MultiGroupIds>
    <NewGroupName>sample string 9</NewGroupName>
    <Radius>1.1</Radius>
    <UserId>15</UserId>
  </Landmark>
</ArrayOfLandmark>