> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.tahesab.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.tahesab.com/_mcp/server.

# DoListGorooh

GET http://127.0.0.1:8081/#get5
Content-Type: application/json

Reference: https://docs.tahesab.com/tahesab-a-pi/do-list-gorooh

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /#get5:
    get:
      operationId: DoListGorooh
      summary: DoListGorooh
      tags:
        - ''
      parameters:
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
        - name: DBName
          in: header
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: >-
                    #/components/schemas/Get5GetResponsesContentApplicationJsonSchemaItems
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                DoListGorooh:
                  type: array
                  items:
                    description: Any type
              required:
                - DoListGorooh
servers:
  - url: http://127.0.0.1:8081
    description: http://127.0.0.1:8081
  - url: https://127.0.0.1:8081
    description: https://127.0.0.1:8081
  - url: https://[::1]:8081
    description: https://[::1]:8081
  - url: http://127.0.0.1:808
    description: http://127.0.0.1:808
components:
  schemas:
    Get5GetResponsesContentApplicationJsonSchemaItems:
      type: object
      properties:
        Name:
          type: string
        GID:
          type: integer
      required:
        - Name
        - GID
      title: Get5GetResponsesContentApplicationJsonSchemaItems
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

```

## Examples



**Request**

```json
{
  "DoListGorooh": []
}
```

**Response**

```json
[
  {
    "Name": "بنکداران (بازار)",
    "GID": 1
  },
  {
    "Name": "همکار",
    "GID": 2
  },
  {
    "Name": "متفرقه",
    "GID": 3
  },
  {
    "Name": "سازنده",
    "GID": 4
  },
  {
    "Name": "مخارج",
    "GID": 5
  },
  {
    "Name": "کیفی",
    "GID": 6
  },
  {
    "Name": "تراشکار",
    "GID": 7
  },
  {
    "Name": "ویترین",
    "GID": 8
  },
  {
    "Name": "جواهر",
    "GID": 9
  },
  {
    "Name": "صندوق",
    "GID": 10
  },
  {
    "Name": "سرمایه",
    "GID": 11
  },
  {
    "Name": "كارمندان",
    "GID": 12
  },
  {
    "Name": "مشتري",
    "GID": 13
  }
]
```

**SDK Code**

```python DoListGorooh_example
import requests

url = "http://127.0.0.1:8081/#get5"

payload = { "DoListGorooh": [] }
headers = {
    "DBName": "{{DBName}}",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.get(url, json=payload, headers=headers)

print(response.json())
```

```javascript DoListGorooh_example
const url = 'http://127.0.0.1:8081/#get5';
const options = {
  method: 'GET',
  headers: {
    DBName: '{{DBName}}',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: '{"DoListGorooh":[]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go DoListGorooh_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "http://127.0.0.1:8081/#get5"

	payload := strings.NewReader("{\n  \"DoListGorooh\": []\n}")

	req, _ := http.NewRequest("GET", url, payload)

	req.Header.Add("DBName", "{{DBName}}")
	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby DoListGorooh_example
require 'uri'
require 'net/http'

url = URI("http://127.0.0.1:8081/#get5")

http = Net::HTTP.new(url.host, url.port)

request = Net::HTTP::Get.new(url)
request["DBName"] = '{{DBName}}'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"DoListGorooh\": []\n}"

response = http.request(request)
puts response.read_body
```

```java DoListGorooh_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("http://127.0.0.1:8081/#get5")
  .header("DBName", "{{DBName}}")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"DoListGorooh\": []\n}")
  .asString();
```

```php DoListGorooh_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'http://127.0.0.1:8081/#get5', [
  'body' => '{
  "DoListGorooh": []
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
    'DBName' => '{{DBName}}',
  ],
]);

echo $response->getBody();
```

```csharp DoListGorooh_example
using RestSharp;

var client = new RestClient("http://127.0.0.1:8081/#get5");
var request = new RestRequest(Method.GET);
request.AddHeader("DBName", "{{DBName}}");
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"DoListGorooh\": []\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift DoListGorooh_example
import Foundation

let headers = [
  "DBName": "{{DBName}}",
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["DoListGorooh": []] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "http://127.0.0.1:8081/#get5")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```