ftos.data.getById

IMPORTANT!  
Starting with v24.3.0, this is renamed from getById to ftos.data.getById.

Returns a record's data based on its ID and parent entity.

This is a data service method for business service components.

Syntax

function ftos.data.getById(entityName: string, id: string): any
 
Parameter Description
entityName The parent entity, such as entity, attribute, relationship, systemuser, systemusertype, customizationset, businessunit, or portal.
id Unique internal identifier or the record.

Return Value

Returns a JSON object that contains key – value pairs of the record's attributes.

Examples