انتقل إلى المحتوى الرئيسي

getICollectionRowByMarkerAndId

الحصول على سجل واحد من المجموعة.

IntegrationCollections.getICollectionRowByMarkerAndId(marker, id, langCode)

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

marker:* string
معرف نص المجموعة
مثال: test_collection

id:* number
معرف سجل المجموعة
مثال: 1

langCode: string
رمز اللغة
مثال: en_US

مثال على الإرجاع:

{
"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": "Title"
}
]
}
}
Schema

id: number
معرف الكائن
مثال: 1764

createdDate: string($date-time)
تاريخ إنشاء السجل في المجموعة

updatedDate: string($date-time)
تاريخ تعديل الكائن

collectionId: number
معرف كائن المجموعة
مثال: 1

langCode: string
رمز اللغة التي تم إنشاء السجل بها في المجموعة
مثال: en_US

formData: FormDataLangType
البيانات المقدمة من النموذج المرتبط بالمجموعة
مثال:

{
"en_US": [
{
"marker": "marker_1",
"type": "string",
"value": "Title"
}
]
}