getICollectionRowByMarkerAndId
الحصول على سجل واحد من المجموعة.
IntegrationCollections?.getICollectionRowByMarkerAndId( marker?, id?, langCode? );
مثال بسيط
const result = await IntegrationCollections.getICollectionRowByMarkerAndId('test_collection', 1);
المخطط
marker(required): string
معرف نص المجموعة
مثال: "collection1"
id(required): number
معر ف سجل المجموعة
مثال: 1
langCode: string
رمز اللغة. الافتراضي: "en_US"
مثال: "en_US"
مثال على الاستجابة
{
"id": 2,
"entityId": null,
"entityType": null,
"createdDate": "2025-02-25T07:05:53.057Z",
"updatedDate": "2025-02-25T07:05:53.057Z",
"formData": [
{
"marker": "naimenovanie_1",
"type": "string",
"value": "Наименование"
}
],
"attributeSetIdentifier": null,
"total": "1"
}
المخطط
id: number
معرف الكائن.
مثال: 1
createdDate: string
تاريخ إنشاء السجل.
مثال: "2023-01-01T00:00:00Z"
updatedDate: string
تاريخ آخر تحديث للسجل.
مثال: "2023-01-02T00:00:00Z"
collectionId: number | null
معرف المجموعة المرتبط بسجل المجموعة.
مثال: "product", "order", "الخ"
formData: ICollectionFormData[]
مصفوفة من كائنات بيانات النموذج المرتبطة بسجل المجموعة.
مثال:
[
{
"marker": "name_1",
"type": "string",
"value": "Value"
}
]
entityType: string | null
نوع الكائن المرتبط بسجل المجموعة.
مثال: "product", "order", "الخ"
entityId: number | null
معرف الكائن المرتبط بسجل المجموعة.
مثال: 12345
attributeSetIdentifier: string | null
معرف مجموعة السمات المستخدمة بواسطة النموذج المرتبط بسجل المجموعة، أو null إذا لم يكن ذلك قابلاً للتطبيق.
مثال: "attributeSet1" أو null
total: string
إجمالي العدد.
مثال: "1"