getById Method

Look up a CodeSpec by Id.

getById(codeSpecId: string): Promise<CodeSpec>

@returns The CodeSpec with the specified Id

@throws IModelError if the Id is invalid or if no CodeSpec with that Id could be found.

Parameter Type Description
codeSpecId string The Id of the CodeSpec to load

Returns - Promise<CodeSpec>

The CodeSpec with the specified Id

Defined in

Last Updated: 16 July, 2025