getICollectionById
احصل على المجموعة حسب المعرف.
IntegrationCollections.getICollectionById(
id,
langCode
);
مثال بسيط
const result = await IntegrationCollections.getICollectionById(1);
مثال مع السمات
const result = await IntegrationCollections.getICollectionById(1, 'en_US');
مخطط المعلمات
المخطط
id(required): number
معرف المجموعة
مثال: 1
langCode: string
رمز اللغة. الافتراضي: "en_US"
مثال: "en_US"
مثال على الاستجابة
{
"id": 1,
"identifier": "test_collection",
"formId": 2,
"localizeInfos": {
"title": "test_collection"
},
"attributeSetId": null,
"selectedAttributeMarkers": null
}
مخطط الاستجابة
المخطط: ICollectionEntity
id: number
معرف الكائن.
مثال: 1
identifier: string | null
معرف نصي لحقل السجل.
مثال: "collection1"
formId: number | null
معرف النموذج المستخدم من قبل تخزين الطلبات.
مثال: 1234
localizeInfos: ILocalizeInfo
معلومات محلية حول المجموعة.
مثال:
{
"title": "نص المسؤولين"
}
attributeSetId: string | null
معرف مجموعة السمات المستخدمة من قبل النموذج المرتبط بالمجموعة.
مثال: "attributeSet1" أو null إذا لم يكن ذلك قابلاً للتطبيق
selectedAttributeMarkers: string | null
معرفات نصية لسمات كائن النموذج للعرض في جدول البيانات.
مثال: "collection_marker"