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

getICollectionRowsById

احصل على جميع السجلات التي تنتمي إلى المجموعة حسب معرف المجموعة.

IntegrationCollections.getICollectionRowsById(id, langCode, userQuery)

const result = await IntegrationCollections.getICollectionRowsById(1);
Schema

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

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

userQuery: any
معلمات استعلام اختيارية

userQuery.entityType: any
نوع الكيان
مثال: 1

userQuery.entityId: any
معرف الكيان
مثال: orders

userQuery.offset: number
معلمة اختيارية للتصفح، القيمة الافتراضية هي 0
مثال: 0

userQuery.limit: number
معلمة اختيارية للتصفح، القيمة الافتراضية هي 30
مثال: 30

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

{
"total": 100,
"items": [
{
"id": 1764,
"formData": [
{
"marker": "naimenovanie_1",
"type": "string",
"value": "Name"
}
],
"attributeSetIdentifier": "collection_form",
"createdDate": "2025-03-02T16:17:23.970Z",
"updatedDate": "2025-03-02T16:17:23.970Z",
"entityType": "orders",
"entityId": 1
}
]
}
Schema

total: number
إجمالي عدد السجلات الموجودة
مثال: 100

items: ICollection
المجموعة

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

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

[
{
"marker": "naimenovanie_1",
"type": "string",
"value": "Name"
}
]

attributeSetIdentifier: string
معرف نصي لمجموعة السمات المستخدمة
مثال: collection_form

createdDate: string($date-time)
تاريخ إنشاء السجل في المجموعة
مثال: 2025-03-02T16:17:23.970Z

updatedDate: string($date-time)
تاريخ تحديث السجل في المجموعة
مثال: 2025-03-02T16:17:23.970Z

entityType: string
نوع السجل
مثال: orders

entityId: number
معرف السجل
مثال: 1