Saltar al contenido principal

getICollectionRowsByMarker

Obteniendo todos los registros de la colección.

IntegrationCollections.getICollectionRowsByMarker(marker, langCode)

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

marker:* string
Identificador de texto de la colección
ejemplo: test_collection

langCode: string
Códigode idioma
ejemplo: en_US

Ejemplo de retorno:

{
"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,
}
Esquema

total: number
Número total de registros encontrados
ejemplo: 100

items: ICollectionRow[]
Identificador de objeto
ejemplo: 2