القوائم المرجعية

قوائم ثابتة لخيارات النماذج: الدول والعملات واللغات. نادرًا ما تتغير، ويمكن تخزينها مؤقتًا لمدة يوم.

الدول#

POST/external/counties

المصادقة: Authorization: Bearer

تعيد جميع الدول. لا يلزم متن للطلب. تُستخدم قيمة id بوصفها countryID في خطوة الدفع.

الاستجابة

200 نجاح.

الطلب
curl -X POST "https://test.hms.gen.tr/external/counties" \
  -H "Authorization: Bearer $HMS_TOKEN"
الاستجابة · 200
{
    "success": true,
    "count": 249,
    "items": [
        {
            "id": 1,
            "name": "Türkiye",
            "nameIng": "Turkey",
            "code": "TR",
            "plate": "TR"
        },
        {
            "id": 2,
            "name": "Almanya",
            "nameIng": "Germany",
            "code": "DE",
            "plate": "D"
        }
    ]
}

العملات#

GET/external/currencies

المصادقة: Authorization: Bearer

معاملات الاستعلام

limitintegerالافتراضي: 20
عدد السجلات في الصفحة.
pageintegerالافتراضي: 1
رقم الصفحة.
orderstring
id أو -id.

الاستجابة

200 نجاح.

الطلب
curl "https://test.hms.gen.tr/external/currencies?limit=10&page=1" \
  -H "Authorization: Bearer $HMS_TOKEN"
الاستجابة · 200
{
    "success": true,
    "count": 4,
    "items": [
        {
            "id": 1,
            "titleCode": "TRY",
            "symbol": "₺",
            "price": 1
        },
        {
            "id": 2,
            "titleCode": "EUR",
            "symbol": "€",
            "price": 47.85000000000000142108547152020037174224853515625
        },
        {
            "id": 3,
            "titleCode": "USD",
            "symbol": "$",
            "price": 41.2000000000000028421709430404007434844970703125
        }
    ]
}

اللغات#

GET/external/languages

المصادقة: Authorization: Bearer

معاملات الاستعلام

limitintegerالافتراضي: 20
عدد السجلات في الصفحة.
pageintegerالافتراضي: 1
رقم الصفحة.
orderstring
id أو -id.

الاستجابة

200 نجاح.

الطلب
curl "https://test.hms.gen.tr/external/languages?limit=10&page=1" \
  -H "Authorization: Bearer $HMS_TOKEN"
الاستجابة · 200
{
    "success": true,
    "count": 3,
    "items": [
        {
            "id": 1,
            "title": "Türkçe",
            "code": "tr",
            "image": "https://test.hms.gen.tr/images/1000/dil/t-tr.png"
        },
        {
            "id": 2,
            "title": "English",
            "code": "en",
            "image": "https://test.hms.gen.tr/images/1000/dil/t-en.png"
        },
        {
            "id": 3,
            "title": "Deutsch",
            "code": "de",
            "image": "https://test.hms.gen.tr/images/1000/dil/t-de.png"
        }
    ]
}
آخر تحديث: 21 سبتمبر 2026هل وجدت خطأً؟ أخبرنا