theapsgroup/freshservice
steampipe plugin install theapsgroup/freshservice

Table: freshservice_contract_type

Obtain information about Contract Types in the FreshService instance.

Examples

List all contract types

select
*
from
freshservice_contract_type;

List all contracts of a specific type

select
c.id,
c.name,
c.description,
c.contract_number,
t.name as contract_type,
c.start_date
from
freshservice_contract c
inner join freshservice_contract_type t on c.contract_type_id = t.id
where
t.id = 20009451249;

Schema for freshservice_contract_type

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
created_attimestamp with time zoneTimestamp at which the contract type was created.
descriptiontextDescription of the contract type.
idbigintID of the contract type.
is_defaultbooleanTrue if the contract type is a default (or custom) type.
nametextName of the contract type.
needs_approvalbooleanTrue if the contract type needs approval.
updated_attimestamp with time zoneTimestamp at which the contract type was last updated.