Ana içeriğe geç

getICollectionRowByMarkerAndId

Koleksiyondan bir kayıt almak.

IntegrationCollections.getICollectionRowByMarkerAndId(marker, id, langCode)

const result = await IntegrationCollections.getICollectionRowByMarkerAndId('test_collection', 1);
Şema

marker:* string
Koleksiyon metin tanımlayıcısı
örnek: test_collection

id:* number
Koleksiyon kayıt tanımlayıcısı
örnek: 1

langCode: string
Dil kodu
örnek: en_US

Örnek dönüş:

{
"id": 1764,
"createdDate": "2025-01-26T17:17:23.013Z",
"updatedDate": "2025-01-26T17:17:23.013Z",
"collectionId": 1,
"langCode": "en_US",
"formData": {
"en_US": [
{
"marker": "marker_1",
"type": "string",
"value": "Başlık"
}
]
}
}
Şema

id: number
Nesne tanımlayıcısı
örnek: 1764

createdDate: string($date-time)
Koleksiyondaki kayıt oluşturulma tarihi

updatedDate: string($date-time)
Nesnenin değiştirilme tarihi

collectionId: number
Koleksiyonun nesne tanımlayıcısı
örnek: 1

langCode: string
Koleksiyondaki kaydın oluşturulduğu dil kodu
örnek: en_US

formData: FormDataLangType
Koleksiyona ekli form tarafından gönderilen veriler
örnek:

{
"en_US": [
{
"marker": "marker_1",
"type": "string",
"value": "Başlık"
}
]
}