Ana içeriğe geç

getICollectionRowsById

Koleksiyon kimliğine göre koleksiyona ait tüm kayıtları alır.

IntegrationCollections?.getICollectionRowsById( id?, langCode?, userQuery? );

Minimal örnek

const result = await IntegrationCollections.getICollectionRowsById(1);
Şema

id(gerekli): number
Koleksiyon kimliği
örnek: 1

langCode: string
Dil kodu. Varsayılan: "en_US"
örnek: "en_US"

userQuery: any
İsteğe bağlı sorgu parametreleri

Örnek yanıt

{
"items": [
{
"id": 1,
"entityId": null,
"entityType": null,
"createdDate": "2025-02-25T07:05:52.627Z",
"updatedDate": "2025-02-25T07:05:52.627Z",
"formData": [
{
"marker": "naimenovanie_1",
"type": "string",
"value": "Наименование"
}
],
"attributeSetIdentifier": null
},
{
"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
},
{
"id": 3,
"entityId": null,
"entityType": null,
"createdDate": "2025-02-25T07:05:54.003Z",
"updatedDate": "2025-02-25T07:05:54.460Z",
"formData": [
{
"marker": "naimenovanie_1",
"type": "string",
"value": "Наименование 2"
}
],
"attributeSetIdentifier": null
},
"..."
],
"total": 213
}
Şema

items: ICollectionRow[]
Koleksiyon satırı nesnelerinin dizisi.
örnek:

[
{
"id": 1,
"createdDate": "2025-06-06T19:08:54.616Z",
"updatedDate": "2025-06-06T19:08:54.616Z",
"entityId": null,
"entityType": null,
"formData": [
{
"marker": "name_1",
"type": "string",
"value": "Değer"
}
],
"attributeSetIdentifier": null
}
]

total: number
Bulunan kayıtların toplam sayısı.
örnek: 10