Skip to main content

BidTemplate

A bid template: ordered stages, each due a number of working days before a bid's due date, and the working week it counts in.

type BidTemplate {
createdAt: DateTime!
deletedAt: DateTime
id: ID!
isDefault: Boolean!
name: String!
stages: [BidTemplateStage!]!
updatedAt: DateTime!
version: Int!
workingDays: [Int!]!
}

Fields​

BidTemplate.createdAt ● DateTime! non-null scalar​

When the template was created.

BidTemplate.deletedAt ● DateTime scalar​

When the template was archived; empty while it is in use.

BidTemplate.id ● ID! non-null scalar​

The template's id.

BidTemplate.isDefault ● Boolean! non-null scalar​

Whether this is the organization's default template.

BidTemplate.name ● String! non-null scalar​

The template's name, unique in the organization.

BidTemplate.stages ● [BidTemplateStage!]! non-null object​

The stages in order; a later stage is never due before an earlier one.

BidTemplate.updatedAt ● DateTime! non-null scalar​

When the template last changed.

BidTemplate.version ● Int! non-null scalar​

The edit version; send it back as expectedVersion to change or archive the template.

BidTemplate.workingDays ● [Int!]! non-null scalar​

The working week: ISO weekdays, 1 = Monday … 7 = Sunday.

Returned By​

archiveBidTemplate mutation ● bidTemplates query ● saveBidTemplate mutation