Nhảy đến nội dung

getICollectionRowsByMarker

Lấy tất cả các bản ghi từ bộ sưu tập.

IntegrationCollections.getICollectionRowsByMarker(marker, langCode)

const result = await IntegrationCollections.getICollectionRowsByMarker('test_collection');
Schema

marker:* chuỗi
Định danh văn bản của bộ sưu tập
ví dụ: test_collection

langCode: chuỗi
Mã ngôn ngữ
ví dụ: en_US

Ví dụ trả về:

{
"items": [
{
"id": 2,
"entityId": null,
"entityType": null,
"createdDate": "2025-01-30T01:28:19.906Z",
"updatedDate": "2025-01-30T01:28:19.906Z",
"formData": [{ "marker": "c_marker", "type": "string", "value": "Value" }],
"attributeSetIdentifier": null,
},
],
"total": 1,
}
Schema

total: số
Tổng số bản ghi đã tìm thấy
ví dụ: 100

items: ICollectionRow[]
Định danh đối tượng
ví dụ: 2