getBusinessStatus

Returns the ID of a business status based on its name.

Syntax

function getBusinessStatus(entityName: string, statusName: string): string
 
Parameter Description
entityName The name of the entity that has the business status is attached to.
statusName Name of the business status.

Return Value

Returns a string value that contains the business status ID.

Examples