GET api/Place?query={query}&language={language}

Retrive places by search term, this method supports OData

Request Information

Parameters

NameDescriptionAdditional information
query
Optional search term

Define this parameter in the request URI.

language
Optional language ID for the search, defualt is is-IS

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "X": 1.0,
    "Y": 1.0,
    "Rating": 2,
    "Active": true,
    "PostalCodeID": 1,
    "MunicipalityNumber": "sample string 4",
    "RoadNumber": "sample string 5",
    "RegionID": 1,
    "CustomUrl": "sample string 6",
    "Location": null,
    "Longitude": null,
    "Latitude": null,
    "PostalCode": {
      "ID": 1,
      "Value": "sample string 2"
    },
    "Region": {
      "ID": 1,
      "Name": "sample string 2",
      "Active": true,
      "NameEnglish": "sample string 4"
    },
    "InterestingPlacesImages": [
      {
        "ImageID": 1,
        "PlaceID": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      },
      {
        "ImageID": 1,
        "PlaceID": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      },
      {
        "ImageID": 1,
        "PlaceID": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      }
    ],
    "LanguageInfo": [
      {
        "PlaceID": 1,
        "LanguageID": 2,
        "Name": "sample string 3",
        "InfoText": "sample string 4",
        "Keywords": "sample string 5",
        "TitlePrefix": "sample string 6",
        "Location": "sample string 7",
        "Description": "sample string 8"
      },
      {
        "PlaceID": 1,
        "LanguageID": 2,
        "Name": "sample string 3",
        "InfoText": "sample string 4",
        "Keywords": "sample string 5",
        "TitlePrefix": "sample string 6",
        "Location": "sample string 7",
        "Description": "sample string 8"
      },
      {
        "PlaceID": 1,
        "LanguageID": 2,
        "Name": "sample string 3",
        "InfoText": "sample string 4",
        "Keywords": "sample string 5",
        "TitlePrefix": "sample string 6",
        "Location": "sample string 7",
        "Description": "sample string 8"
      }
    ],
    "Source": "sample string 7",
    "SourceDate": "sample string 8",
    "Access": "sample string 9",
    "AccessRating": 10,
    "AttractingRating": 11,
    "RatingDetails": "sample string 12",
    "Proccess": "sample string 13",
    "CreatedBy": "sample string 14",
    "LastChangedBy": "sample string 15",
    "CreatedAt": "2024-11-07T15:46:10.4503987+00:00",
    "Modified": "2024-11-07T15:46:10.4503987+00:00",
    "DomainOwner": "sample string 18",
    "Contact": "sample string 19",
    "Protection": "sample string 20",
    "Local": {
      "ID": 1,
      "Name": "sample string 2"
    },
    "ResourceActive": true,
    "Categories": [
      {
        "ID": 1,
        "ParentID": 1,
        "RegionID": 2,
        "Active": true,
        "LanguageInfo": [
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          }
        ]
      },
      {
        "ID": 1,
        "ParentID": 1,
        "RegionID": 2,
        "Active": true,
        "LanguageInfo": [
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          }
        ]
      },
      {
        "ID": 1,
        "ParentID": 1,
        "RegionID": 2,
        "Active": true,
        "LanguageInfo": [
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          }
        ]
      }
    ],
    "ResourceImages": [
      {
        "Id": 1,
        "PlaceId": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      },
      {
        "Id": 1,
        "PlaceId": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      },
      {
        "Id": 1,
        "PlaceId": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      }
    ]
  },
  {
    "ID": 1,
    "X": 1.0,
    "Y": 1.0,
    "Rating": 2,
    "Active": true,
    "PostalCodeID": 1,
    "MunicipalityNumber": "sample string 4",
    "RoadNumber": "sample string 5",
    "RegionID": 1,
    "CustomUrl": "sample string 6",
    "Location": null,
    "Longitude": null,
    "Latitude": null,
    "PostalCode": {
      "ID": 1,
      "Value": "sample string 2"
    },
    "Region": {
      "ID": 1,
      "Name": "sample string 2",
      "Active": true,
      "NameEnglish": "sample string 4"
    },
    "InterestingPlacesImages": [
      {
        "ImageID": 1,
        "PlaceID": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      },
      {
        "ImageID": 1,
        "PlaceID": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      },
      {
        "ImageID": 1,
        "PlaceID": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      }
    ],
    "LanguageInfo": [
      {
        "PlaceID": 1,
        "LanguageID": 2,
        "Name": "sample string 3",
        "InfoText": "sample string 4",
        "Keywords": "sample string 5",
        "TitlePrefix": "sample string 6",
        "Location": "sample string 7",
        "Description": "sample string 8"
      },
      {
        "PlaceID": 1,
        "LanguageID": 2,
        "Name": "sample string 3",
        "InfoText": "sample string 4",
        "Keywords": "sample string 5",
        "TitlePrefix": "sample string 6",
        "Location": "sample string 7",
        "Description": "sample string 8"
      },
      {
        "PlaceID": 1,
        "LanguageID": 2,
        "Name": "sample string 3",
        "InfoText": "sample string 4",
        "Keywords": "sample string 5",
        "TitlePrefix": "sample string 6",
        "Location": "sample string 7",
        "Description": "sample string 8"
      }
    ],
    "Source": "sample string 7",
    "SourceDate": "sample string 8",
    "Access": "sample string 9",
    "AccessRating": 10,
    "AttractingRating": 11,
    "RatingDetails": "sample string 12",
    "Proccess": "sample string 13",
    "CreatedBy": "sample string 14",
    "LastChangedBy": "sample string 15",
    "CreatedAt": "2024-11-07T15:46:10.4503987+00:00",
    "Modified": "2024-11-07T15:46:10.4503987+00:00",
    "DomainOwner": "sample string 18",
    "Contact": "sample string 19",
    "Protection": "sample string 20",
    "Local": {
      "ID": 1,
      "Name": "sample string 2"
    },
    "ResourceActive": true,
    "Categories": [
      {
        "ID": 1,
        "ParentID": 1,
        "RegionID": 2,
        "Active": true,
        "LanguageInfo": [
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          }
        ]
      },
      {
        "ID": 1,
        "ParentID": 1,
        "RegionID": 2,
        "Active": true,
        "LanguageInfo": [
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          }
        ]
      },
      {
        "ID": 1,
        "ParentID": 1,
        "RegionID": 2,
        "Active": true,
        "LanguageInfo": [
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          }
        ]
      }
    ],
    "ResourceImages": [
      {
        "Id": 1,
        "PlaceId": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      },
      {
        "Id": 1,
        "PlaceId": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      },
      {
        "Id": 1,
        "PlaceId": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      }
    ]
  },
  {
    "ID": 1,
    "X": 1.0,
    "Y": 1.0,
    "Rating": 2,
    "Active": true,
    "PostalCodeID": 1,
    "MunicipalityNumber": "sample string 4",
    "RoadNumber": "sample string 5",
    "RegionID": 1,
    "CustomUrl": "sample string 6",
    "Location": null,
    "Longitude": null,
    "Latitude": null,
    "PostalCode": {
      "ID": 1,
      "Value": "sample string 2"
    },
    "Region": {
      "ID": 1,
      "Name": "sample string 2",
      "Active": true,
      "NameEnglish": "sample string 4"
    },
    "InterestingPlacesImages": [
      {
        "ImageID": 1,
        "PlaceID": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      },
      {
        "ImageID": 1,
        "PlaceID": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      },
      {
        "ImageID": 1,
        "PlaceID": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      }
    ],
    "LanguageInfo": [
      {
        "PlaceID": 1,
        "LanguageID": 2,
        "Name": "sample string 3",
        "InfoText": "sample string 4",
        "Keywords": "sample string 5",
        "TitlePrefix": "sample string 6",
        "Location": "sample string 7",
        "Description": "sample string 8"
      },
      {
        "PlaceID": 1,
        "LanguageID": 2,
        "Name": "sample string 3",
        "InfoText": "sample string 4",
        "Keywords": "sample string 5",
        "TitlePrefix": "sample string 6",
        "Location": "sample string 7",
        "Description": "sample string 8"
      },
      {
        "PlaceID": 1,
        "LanguageID": 2,
        "Name": "sample string 3",
        "InfoText": "sample string 4",
        "Keywords": "sample string 5",
        "TitlePrefix": "sample string 6",
        "Location": "sample string 7",
        "Description": "sample string 8"
      }
    ],
    "Source": "sample string 7",
    "SourceDate": "sample string 8",
    "Access": "sample string 9",
    "AccessRating": 10,
    "AttractingRating": 11,
    "RatingDetails": "sample string 12",
    "Proccess": "sample string 13",
    "CreatedBy": "sample string 14",
    "LastChangedBy": "sample string 15",
    "CreatedAt": "2024-11-07T15:46:10.4503987+00:00",
    "Modified": "2024-11-07T15:46:10.4503987+00:00",
    "DomainOwner": "sample string 18",
    "Contact": "sample string 19",
    "Protection": "sample string 20",
    "Local": {
      "ID": 1,
      "Name": "sample string 2"
    },
    "ResourceActive": true,
    "Categories": [
      {
        "ID": 1,
        "ParentID": 1,
        "RegionID": 2,
        "Active": true,
        "LanguageInfo": [
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          }
        ]
      },
      {
        "ID": 1,
        "ParentID": 1,
        "RegionID": 2,
        "Active": true,
        "LanguageInfo": [
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          }
        ]
      },
      {
        "ID": 1,
        "ParentID": 1,
        "RegionID": 2,
        "Active": true,
        "LanguageInfo": [
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          },
          {
            "CategoryID": 1,
            "LanguageID": 2,
            "Name": "sample string 3",
            "Keywords": "sample string 4"
          }
        ]
      }
    ],
    "ResourceImages": [
      {
        "Id": 1,
        "PlaceId": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      },
      {
        "Id": 1,
        "PlaceId": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      },
      {
        "Id": 1,
        "PlaceId": 2,
        "ImageUrl": "sample string 3",
        "MediumUrl": "sample string 4",
        "SmallUrl": "sample string 5"
      }
    ]
  }
]