Skip to main content
MUTATION
upsertPermitRequirement(input: PermitRequirementInput!, permitId: String!): PermitRequirement!

Arguments

The requirement to create or edit.

permitId
String!
required

Id of the permit the requirement belongs to.

createdAt
DateTime!

When the requirement was created.

description
String

Longer description of the requirement.

Documents uploaded as evidence for the requirement. Empty if there are no documents.

id
String!

Unique identifier of the requirement.

name
String!

Short name of the requirement, for example 'Complete fire suppression inspection'.

policies
[Policy!]!

Policies linked to the requirement. Empty if there are no policies.

protocols

Protocols linked to the requirement. Empty if there are no protocols.

Mutation
Variables
Response