Skip to main content

CreateBenefitInput

An input type used when creating a benefit

input CreateBenefitInput {
benefitsProgramId: ID!
description: String
endDate: LocalDate
name: String
startDate: LocalDate!
templateId: ID!
}

Fields​

CreateBenefitInput.benefitsProgramId ● ID! non-null scalar​

The ID of the benefits program to which the benefit belongs

CreateBenefitInput.description ● String scalar​

The description of the benefit. If unspecified, defaults to the description from the template.

CreateBenefitInput.endDate ● LocalDate scalar​

The end date of the Benefit.

CreateBenefitInput.name ● String scalar​

The name of the benefit. If unspecified, defaults to the name from the template.

CreateBenefitInput.startDate ● LocalDate! non-null scalar​

The start date of the Benefit.

CreateBenefitInput.templateId ● ID! non-null scalar​

The ID of the template to use when creating the benefit

Member Of​

createBenefit mutation