freshservice_agentfreshservice_agent_rolefreshservice_announcementfreshservice_assetfreshservice_asset_componentfreshservice_asset_contractfreshservice_asset_typefreshservice_business_hourfreshservice_changefreshservice_change_notefreshservice_contractfreshservice_contract_typefreshservice_departmentfreshservice_locationfreshservice_problemfreshservice_problem_notefreshservice_problem_taskfreshservice_problem_timeentryfreshservice_productfreshservice_purchase_orderfreshservice_releasefreshservice_release_notefreshservice_release_taskfreshservice_release_timeentryfreshservice_requesterfreshservice_servicefreshservice_sla_policyfreshservice_softwarefreshservice_software_installationfreshservice_software_userfreshservice_solution_articlefreshservice_solution_categoryfreshservice_solution_folderfreshservice_ticketfreshservice_ticket_conversationfreshservice_ticket_taskfreshservice_ticket_timeentryfreshservice_vendor
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_datefrom freshservice_contract c inner join freshservice_contract_type t on c.contract_type_id = t.idwhere t.id = 20009451249;
Schema for freshservice_contract_type
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. | |
created_at | timestamp with time zone | Timestamp at which the contract type was created. | |
description | text | Description of the contract type. | |
id | bigint | ID of the contract type. | |
is_default | boolean | True if the contract type is a default (or custom) type. | |
name | text | Name of the contract type. | |
needs_approval | boolean | True if the contract type needs approval. | |
updated_at | timestamp with time zone | Timestamp at which the contract type was last updated. |