Skip to navigation

ForAgent - SubParameter

Bağlı parametreleri alt parametre Id’sine göre ve acente bazlı include/exclude kontrolü ile sayfalı döner.

Uç Nokta (Endpoint)

GET {{baseUrl}}/api/parameters/{parameterId}/parameterValues/{parameterValue}/Dependencies/{subParameterId}/ForAgent/{agentId}

Kimlik Doğrulama

Üst koleksiyondan miras alınan Bearer Token kullanılır; token {{accessToken}} değişkeninden çözümlenir ve ilgili rolde Read yetkisi gerektirir.

Path Parametreleri

ParametreTipZorunluAçıklama
parameterIdinteger✅DependentParameterId — bağlı (ana) parametrenin Id’si.
parameterValuestring✅Bağlı parametrenin değeri (DependentParameterValue).
subParameterIdinteger✅Alt parametre Id — sonuçları bu alt parametreye göre filtreler.
agentIdinteger✅Acente Id.

Sorgu Parametreleri

ParametreTipZorunluVarsayılanAçıklama
querystring❌(boş)Arama metni.
pageinteger❌1Sayfa numarası. 1’den küçük gönderilirse 1’e sabitlenir.
pagesizeinteger❌100Sayfa boyutu. 1-100 aralığı dışındaysa 100 kullanılır.

Örnek İstek

GET {{baseUrl}}/api/parameters/1/parameterValues/TOYOTA/Dependencies/2/ForAgent/1001?query=&page=1&pagesize=100

Yanıt Yapısı

Başarılı Yanıt (200 OK)

{
"Data": [
{
"Id": 816,
"ParameterId": 3,
"ParameterValue": "1113",
"ParameterValueText": "AKÇAABAT",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 817,
"ParameterId": 3,
"ParameterValue": "1141",
"ParameterValueText": "ARAKLI",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 818,
"ParameterId": 3,
"ParameterValue": "1150",
"ParameterValueText": "ARSİN",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 819,
"ParameterId": 3,
"ParameterValue": "1244",
"ParameterValueText": "ÇAYKARA",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 820,
"ParameterId": 3,
"ParameterValue": "1507",
"ParameterValueText": "MAÇKA",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 821,
"ParameterId": 3,
"ParameterValue": "1548",
"ParameterValueText": "OF",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 822,
"ParameterId": 3,
"ParameterValue": "1647",
"ParameterValueText": "SÜRMENE",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 823,
"ParameterId": 3,
"ParameterValue": "1681",
"ParameterValueText": "TONYA",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 824,
"ParameterId": 3,
"ParameterValue": "1709",
"ParameterValueText": "VAKFIKEBİR",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 825,
"ParameterId": 3,
"ParameterValue": "1732",
"ParameterValueText": "YOMRA",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 826,
"ParameterId": 3,
"ParameterValue": "1775",
"ParameterValueText": "BEŞİKDÜZÜ",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 827,
"ParameterId": 3,
"ParameterValue": "1842",
"ParameterValueText": "ŞALPAZARI",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 828,
"ParameterId": 3,
"ParameterValue": "1896",
"ParameterValueText": "ÇARŞIBAŞI",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 829,
"ParameterId": 3,
"ParameterValue": "1909",
"ParameterValueText": "DERNEKPAZARI",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 830,
"ParameterId": 3,
"ParameterValue": "1917",
"ParameterValueText": "DÜZKÖY",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 831,
"ParameterId": 3,
"ParameterValue": "1942",
"ParameterValueText": "HAYRAT",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 832,
"ParameterId": 3,
"ParameterValue": "1966",
"ParameterValueText": "KÖPRÜBAŞI",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
},
{
"Id": 833,
"ParameterId": 3,
"ParameterValue": "2097",
"ParameterValueText": "ORTAHİSAR",
"DependentParameterId": 2,
"DependentParameterValue": "61",
"DependencyType": "=",
"DependencyConnectionTypeToOtherKey": null,
"DependencyExecutionLevelForOtherKey": null
}
],
"Page": 1,
"PageSize": 100,
"TotalCount": 18
}

Response Parametreleri:

AlanTipAçıklama
DataarrayParameterDependencyApiDTO listesi.
PageintegerMevcut sayfa numarası.
PageSizeintegerSayfa başına kayıt sayısı.
TotalCountintegerToplam kayıt sayısı.

Data:

AlanTipAçıklama
IdintegerBağımlılık kaydının Id’si.
ParameterIdintegerAna parametre Id.
ParameterValuestringAna parametre değeri.
ParameterValueTextstringAna parametre değerinin metni.
DependentParameterIdintegerBağlı parametre Id.
DependentParameterValuestringBağlı parametre değeri.
DependencyTypestringBağımlılık tipi (ör. Model)
DependencyConnectionTypeToOtherKeystringDiğer anahtara bağlanma tipi.
DependencyExecutionLevelForOtherKeyshort / nullDiğer anahtar için çalışma seviyesi.

Hata Yanıtları

400 Bad Request — [HandleException] filtresi tüm hataları düz metne (text/plain) çevirir.

İşlem sırasında bir hata oluştu! RequestId: 0HN1GPVL2F3Q0:00000004, LogId: e90a47b1c2d3
Durum KoduGövdeAçıklama
401 Unauthorized(boş)Token yok / geçersiz / süresi dolmuş.
403 Forbidden(boş)Rol bu uç için Read yetkisine sahip değil veya IP beyaz listede değil.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

parameterIdintegerRequired
parameterValueintegerRequired
subParameterIdintegerRequired
agentIdintegerRequired

Headers

AcceptstringOptional

Query parameters

querystringOptional
Arama sorgusu. Opsiyonel.
pageintegerOptional
pagesizeintegerOptional

Response headers

Transfer-EncodingstringOptional
Content-TypestringOptional
Content-EncodingstringOptional
VarystringOptional
X-Frame-OptionsstringOptional
X-XSS-ProtectionstringOptional
X-Content-Type-OptionsstringOptional
Referrer-PolicystringOptional
X-Powered-BystringOptional
DatestringOptional

Response

OK