getICollectionRowsByMarker
Obtendo todos os registros da coleção.
IntegrationCollections.getICollectionRowsByMarker(marker, langCode)
const result = await IntegrationCollections.getICollectionRowsByMarker('test_collection');
Esquema
marker:* string
Identificador de texto da coleção
exemplo: test_collection
langCode: string
Códig da língua
exemplo: en_US
Exemplo 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
Total de registros encontrados
exemplo: 100
items: ICollectionRow[]
Identificador do objeto
exemplo: 2
.