updateICollectionRow
تعديل سجل في المجموعة
IntegrationCollections.updateICollectionRow(marker, body, langCode)
const body = {
"formIdentifier": "collection-form",
"formData": {
"en_US": [
{
"marker": "collection_marker",
"type": "string",
"value": "Collection marker"
}
]
}
}
const result = await IntegrationCollections.updateICollectionRow('test_collection', body);
Schema
marker: string
معرف نصي للمجموعة
مثال: test_collection
id: number
معرف الصف
مثال: 10
body: object
كائن لتحديث سجل في المجموعة
مثال:
{
"formIdentifier": "collection-form",
"formData": {
"en_US": [
{
"marker": "collection_marker",
"type": "string",
"value": "Collection marker"
}
]
}
}
langCode: string
رمز اللغة
مثال: en_US
مثال على الإرجاع:
{
"formIdentifier": "collection_form",
"formData": {
"en_US": [
{
"marker": "marker_1",
"type": "string",
"value": "Name"
}
]
}
}
Schema
formIdentifier: string
معرف نصي لكائن النموذج المرتبط بتخزين الطلب
مثال: collection_form
formData: FormDataLangType
البيانات المقدمة من النموذج المرتبط بالمجموعة
مثال:
{
"en_US": [
{
"marker": "marker_1",
"type": "string",
"value": "Name"
}
]
}
.