> 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.

# DoListMoshtari (ByCode)

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

لیست حساب/مشتری ها با فیلتر از کد تا کد حساب

Reference: https://docs.tahesab.com/tahesab-a-pi/do-list-moshtari-by-code

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /#get13:
    get:
      operationId: DoListMoshtari (ByCode)
      summary: DoListMoshtari (ByCode)
      description: لیست حساب/مشتری ها با فیلتر از کد تا کد حساب
      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:
                $ref: '#/components/schemas/DoListMoshtari (ByCode)_Response_200'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Dolistmoshtari:
                  type: array
                  items:
                    type: integer
              required:
                - Dolistmoshtari
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:
    Get13GetResponsesContentApplicationJsonSchema:
      type: object
      properties:
        Code:
          type: integer
        Name:
          type: string
        GID:
          type: string
        GoroupName:
          type: string
        Mobile:
          type: string
        CodeMelli:
          type: string
        Address:
          type: string
        City:
          description: Any type
        Rasteh:
          description: Any type
        BDate:
          type: string
      required:
        - Code
        - Name
        - GID
        - GoroupName
        - Mobile
        - CodeMelli
        - Address
        - BDate
      title: Get13GetResponsesContentApplicationJsonSchema
    DoListMoshtari (ByCode)_Response_200:
      type: object
      properties:
        '1':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '2':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '3':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '4':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '6':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '7':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '8':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '9':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '10':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '11':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '12':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '13':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '14':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '15':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '16':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '17':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '18':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '19':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '20':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '21':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '22':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '23':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '24':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '25':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '26':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '27':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '28':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '29':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '30':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '31':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '32':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '33':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '34':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
        '35':
          $ref: '#/components/schemas/Get13GetResponsesContentApplicationJsonSchema'
      required:
        - '1'
        - '2'
        - '3'
        - '4'
        - '6'
        - '7'
        - '8'
        - '9'
        - '10'
        - '11'
        - '12'
        - '13'
        - '14'
        - '15'
        - '16'
        - '17'
        - '18'
        - '19'
        - '20'
        - '21'
        - '22'
        - '23'
        - '24'
        - '25'
        - '26'
        - '27'
        - '28'
        - '29'
        - '30'
        - '31'
        - '32'
        - '33'
        - '34'
        - '35'
      title: DoListMoshtari (ByCode)_Response_200
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

```

## Examples



**Request**

```json
{
  "Dolistmoshtari": [
    1,
    500
  ]
}
```

**Response**

```json
{
  "1": {
    "Code": 1,
    "Name": "masoud",
    "GID": "0",
    "GoroupName": "بنکدار",
    "Mobile": "9121234567",
    "CodeMelli": "",
    "Address": "آدرس جدید",
    "BDate": "1360/09/30",
    "City": "",
    "Rasteh": 0
  },
  "2": {
    "Code": 2,
    "Name": "آقاميري",
    "GID": "2",
    "GoroupName": "همکار",
    "Mobile": "09128051057",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "3": {
    "Code": 3,
    "Name": "مشتري نقدي",
    "GID": "3",
    "GoroupName": "متفرقه",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "4": {
    "Code": 4,
    "Name": "مشتري امانت",
    "GID": "3",
    "GoroupName": "متفرقه",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "6": {
    "Code": 6,
    "Name": "فاطيما",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "7": {
    "Code": 7,
    "Name": "قبادي",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "8": {
    "Code": 8,
    "Name": "ممتاز",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "9": {
    "Code": 9,
    "Name": "مهدي",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "10": {
    "Code": 10,
    "Name": "علي",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "11": {
    "Code": 11,
    "Name": "محمد",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "12": {
    "Code": 12,
    "Name": "هزينه",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "13": {
    "Code": 13,
    "Name": "سکه عبادي",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "14": {
    "Code": 14,
    "Name": "نادري جورابچي",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "15": {
    "Code": 15,
    "Name": "داداش",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "16": {
    "Code": 16,
    "Name": "عوض",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "17": {
    "Code": 17,
    "Name": "ثاقب",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "18": {
    "Code": 18,
    "Name": "طباطبايي",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "19": {
    "Code": 19,
    "Name": "ورقي",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "20": {
    "Code": 20,
    "Name": "هومن روزبهاني",
    "GID": "6",
    "GoroupName": "کیفی",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "21": {
    "Code": 21,
    "Name": "امين اله يار",
    "GID": "3",
    "GoroupName": "متفرقه",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "22": {
    "Code": 22,
    "Name": "قاسمي",
    "GID": "3",
    "GoroupName": "متفرقه",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "23": {
    "Code": 23,
    "Name": "برادران",
    "GID": "1",
    "GoroupName": "بنکداران (بازار)",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "24": {
    "Code": 24,
    "Name": "مسعود قربان زاده",
    "GID": "3",
    "GoroupName": "متفرقه",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "25": {
    "Code": 25,
    "Name": "مهدي نادري",
    "GID": "2",
    "GoroupName": "همکار",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "26": {
    "Code": 26,
    "Name": "قدسي",
    "GID": "2",
    "GoroupName": "همکار",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "27": {
    "Code": 27,
    "Name": "رشيدي",
    "GID": "13",
    "GoroupName": "مشتري",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "28": {
    "Code": 28,
    "Name": "حسيني",
    "GID": "13",
    "GoroupName": "مشتري",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "29": {
    "Code": 29,
    "Name": "نوري آلا",
    "GID": "13",
    "GoroupName": "مشتري",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "30": {
    "Code": 30,
    "Name": "يعقوبي",
    "GID": "13",
    "GoroupName": "مشتري",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "31": {
    "Code": 31,
    "Name": "نادر محمدي",
    "GID": "13",
    "GoroupName": "مشتري",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "32": {
    "Code": 32,
    "Name": "سلطاني",
    "GID": "13",
    "GoroupName": "مشتري",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "33": {
    "Code": 33,
    "Name": "مسروري",
    "GID": "13",
    "GoroupName": "مشتري",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "34": {
    "Code": 34,
    "Name": "کاميار زهدي",
    "GID": "13",
    "GoroupName": "مشتري",
    "Mobile": "",
    "CodeMelli": "",
    "Address": "",
    "Rasteh": 0
  },
  "35": {
    "Code": 35,
    "Name": "moshtari1",
    "GID": "0",
    "GoroupName": "tahesab",
    "Mobile": "0912123456",
    "CodeMelli": "00112312311",
    "Address": "kh vila",
    "BDate": "1366/12/04"
  }
}
```

**SDK Code**

```python DoListMoshtari (ByCode)_example
import requests

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

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

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

print(response.json())
```

```javascript DoListMoshtari (ByCode)_example
const url = 'http://127.0.0.1:8081/#get13';
const options = {
  method: 'GET',
  headers: {
    DBName: '{{DBName}}',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: '{"Dolistmoshtari":[1,500]}'
};

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

```go DoListMoshtari (ByCode)_example
package main

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

func main() {

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

	payload := strings.NewReader("{\n  \"Dolistmoshtari\": [\n    1,\n    500\n  ]\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 DoListMoshtari (ByCode)_example
require 'uri'
require 'net/http'

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

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  \"Dolistmoshtari\": [\n    1,\n    500\n  ]\n}"

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

```java DoListMoshtari (ByCode)_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

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

```php DoListMoshtari (ByCode)_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

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

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

```csharp DoListMoshtari (ByCode)_example
using RestSharp;

var client = new RestClient("http://127.0.0.1:8081/#get13");
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  \"Dolistmoshtari\": [\n    1,\n    500\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift DoListMoshtari (ByCode)_example
import Foundation

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

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

let request = NSMutableURLRequest(url: NSURL(string: "http://127.0.0.1:8081/#get13")! 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()
```