updateICollectionRow
قم بتحرير سجل في المجموعة.
الوصف
ترجع Promise التي تحل إلى كائن ICollectionRow.
IntegrationCollections.updateICollectionRow(
marker,
id,
body,
langCode
);
مخطط المعلمات
المخطط
marker(مطلوب): string
معرف نصي للمجموعة
مثال: "collection1"
id(مطلوب): number
معرف الصف في المجموعة
مثال: 12
body(مطلوب): object
كائن لتحديث سجل في المجموعة
مثال:
{
"formIdentifier": "collection-form",
"formData": {
"en_US": [
{
"marker": "collection_marker",
"type": "string",
"value": "Collection marker"
}
]
}
}
langCode: string
رمز اللغة. الافتراضي: "en_US"
مثال: "en_US"
أمثلة
مثال بسيط
const body = {
"formIdentifier": "collection-form","formData": [{
"marker": "collection_marker","type": "string""value": "Collection marker"}]};
const response = await IntegrationCollections.createICollectionRow("test_collection", 12, body);