getICollectionRowsById
Obtiene todos los registros que pertenecen a la colección por id de colección.
IntegrationCollections?.getICollectionRowsById( id?, langCode?, userQuery? );
Ejemplo mínimo
const result = await IntegrationCollections.getICollectionRowsById(1);
Esquema
id(requerido): número
Id de la colección
ejemplo: 1
langCode: cadena
Código de idioma. Predeterminado: "en_US"
ejemplo: "en_US"
userQuery: cualquier
Parámetros de consulta opcionales
Ejemplo de respuesta
{
"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
}
Esquema
items: ICollectionRow[]
Array de objetos de fila de colección.
ejemplo:
[
{
"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": "Value"
}
],
"attributeSetIdentifier": null
}
]
total: número
Número total de registros encontrados.
ejemplo: 10