---
title: "search"
method: POST
path: "/api/public/geoiran/search"
tags: ["geoiran-public-resource"]
---

# search

`POST /api/public/geoiran/search`

## Request

- Base URL: `https://api.ayriaclub.ir`
- URL: `https://api.ayriaclub.ir/api/public/geoiran/search`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ayriaclub/apis/ayria-api/docs/api/public/geoiran/search/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- GeoSearchCommand
  - `searchText` string

## Response `200`

OK

- GeoiranDTO[]
  - `bakhsh` string
  - `bakhshCode` integer
  - `dehestan` string
  - `dehestanCode` integer
  - `name` string
  - `nameCode` integer
  - `ostan` string
  - `ostanCode` integer
  - `shahr` string
  - `shahrCode` integer
  - `shahrestan` string
  - `shahrestanCode` integer

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/ayriaclub/apis/ayria-api.md) - [All operations](https://skmtc.dev/ayriaclub/apis/ayria-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ayriaclub/apis/ayria-api/revisions/422df181c1dd?raw)
