Skip to content

Function: getProjectCategoryById() ​

ts
function getProjectCategoryById(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  description?: string;
  id?: string;
  name?: string;
  self?: string;
}>;

Defined in: src/server/api/projectCategories.ts:47

Returns a full representation of the project category that has the given id.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ id: number; }-
parameters.idnumberA project category id
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; description?: string; id?: string; name?: string; self?: string; }>