لیست دسته بندی اشخاص

متد endpoint
Get personTypes/

Response

				
					"personTypes": {
  "id": 1,
  "title": "اشخاص",
  "default": false,
  "createdAt": "2021-09-13 11:18:35",
  "updatedAt": "2021-09-13 11:18:35",
  "deletedAt": null,
  "BusinessId": null,
  "parentId": null,
  "childs": [
        {
          "id": 2,
          "title": "مشتری",
          "default": false,
          "createdAt": "2021-12-07 07:45:23",
          "updatedAt": "2021-12-07 07:45:23",
          "deletedAt": null,
          "parentId": 1,
          "childs": [
                {
                  "id": 21,
                  "title": "مشتریان حضوری",
                  "default": false,
                  "createdAt": "2022-07-27 07:10:07",
                  "updatedAt": "2022-07-27 07:10:07",
                  "deletedAt": null,
                  "parentId": 2,
                  "childs": []
                },
                {
                  "id": 22,
                  "title": "مشتریان اینترنتی",
                  "default": false,
                  "createdAt": "2022-07-27 07:10:16",
                  "updatedAt": "2022-07-27 07:10:16",
                  "deletedAt": null,
                  "parentId": 2,
                  "childs": []
                }
          ]
        },
    {
      "id": 3,
      "title": "کارمندان",
      "default": false,
      "createdAt": "2022-07-30 09:08:15",
      "updatedAt": "2022-07-30 09:08:15",
      "deletedAt": null,
      "parentId": 1,
      "childs": []
    }
  ]
}
				
			



لیست دسته بندی کالاها

متد endpoint
Get categories?type=products/

Response

				
					"categories": {
      "id": 1,
      "title": "کالا",
      "createdAt": "2021-09-13 11:16:36",
      "updatedAt": "2021-09-13 11:16:36",
      "deletedAt": null,
      "parentId": null,
      "childs": [
            {
              "id": 2,
              "title": "لپ تاپ",
              "createdAt": "2021-10-12 13:14:05",
              "updatedAt": "2021-10-12 13:14:05",
              "deletedAt": null,
              "parentId": 1,
              "childs": []
            },
            {
              "id": 3,
              "title": "تلفن همراه",
              "createdAt": "2021-12-05 07:49:13",
              "updatedAt": "2022-07-24 03:49:14",
              "deletedAt": null,
              "parentId": 1,
              "childs": []
            },
            {
              "id": 4,
              "title": "لوازم جانبی",
              "createdAt": "2021-12-05T07:49:24",
              "updatedAt": "2021-12-05T07:49:24",
              "deletedAt": null,
              "parentId": 4,
              "childs": []
            },
        ]
    }
				
			



لیست دسته بندی خدمات

متد endpoint
Get categories?type=services/

Response

				
					"categories": {
      "id": 1,
      "title": "خدمات",
      "createdAt": "2021-09-13 11:16:36",
      "updatedAt": "2021-09-13 11:16:36",
      "deletedAt": null,
      "parentId": null,
      "childs": [
            {
              "id": 2,
              "title": "صدور سیم کارت",
              "createdAt": "2021-10-12 13:14:05",
              "updatedAt": "2021-10-12 13:14:05",
              "deletedAt": null,
              "parentId": 1,
              "childs": []
            },
            {
              "id": 3,
              "title": "رفع مسدودی سیم کارت",
              "createdAt": "2021-12-05 07:49:13",
              "updatedAt": "2022-07-24 03:49:14",
              "deletedAt": null,
              "parentId": 1,
              "childs": []
            },
            {
              "id": 4,
              "title": "سوزاندن سیم کارت",
              "createdAt": "2021-12-05T07:49:24",
              "updatedAt": "2021-12-05T07:49:24",
              "deletedAt": null,
              "parentId": 4,
              "childs": []
            },
        ]
    }
				
			



لیست پروژه ها

متد endpoint
Get projects/

Response

				
					"projects": [
    {
      "id": 1,
      "title": "تامین ملزومات پاییز 1401",
      "default": false,
      "active": true,
      "createdAt": "2021-12-06 11:00:19",
      "updatedAt": "2021-12-06 11:00:19",
      "deletedAt": null,
    }
    ...
]
				
			



لیست شعب

متد endpoint
Get branches/

Response

				
					"branches": [
    {
      "id": 1,
      "title": "شعبه میدان ولیعصر",
      "default": true,
      "active": true,
      "createdAt": "2021-12-06 11:00:19",
      "updatedAt": "2021-12-06 11:00:19",
      "deletedAt": null,
    }
    ...
]
				
			



دریافت نرخ تبدیل ارز

متد endpoint
Get currencies/list/

Response

				
					[
  {
    "id": 253,
    "en_title": "$",
    "fa_title": "دلار امریکا",
    "createdAt": "2022-07-16 06:45:20",
    "updatedAt": "2022-07-16 06:45:20",
    "deletedAt": null,
    "currencyExchange": 335000
  },
  {
    "id": 95,
    "en_title": "€",
    "fa_title": "یورو",
    "createdAt": "2022-07-16 06:45:19",
    "updatedAt": "2022-07-16 06:45:19",
    "deletedAt": null,
    "currencyExchange": 326000
  }
]
				
			



تنظیم نرخ تبدیل ارز

متد endpoint
Put currencies/

Response

				
					[
  {
    "id": 253,
    "en_title": "$",
    "fa_title": "دلار امریکا",
    "createdAt": "2022-07-16 06:45:20",
    "updatedAt": "2022-07-16 06:45:20",
    "deletedAt": null,
    "currencyExchange": 335000
  },
  {
    "id": 95,
    "en_title": "€",
    "fa_title": "یورو",
    "createdAt": "2022-07-16 06:45:19",
    "updatedAt": "2022-07-16 06:45:19",
    "deletedAt": null,
    "currencyExchange": 326000
  }
]