Skip to main content

AddSingleClientWorkItemInput

Input type for addSingleClientWorkItem mutation.

input AddSingleClientWorkItemInput {
benefits: [BenefitID!]!
clientId: ClientID!
date: Date
desiredIndex: Int
quantity: Int
timeOfDay: TimeOfDayType!
tourId: ActiveTourID
}

Fields

AddSingleClientWorkItemInput.benefits ● [BenefitID!]! non-null scalar

List of benefits to be applied to the client.

AddSingleClientWorkItemInput.clientId ● ClientID! non-null scalar

The ID of the client this benefits should be applied to.

AddSingleClientWorkItemInput.date ● Date scalar

The date this entry should be added. (Optional) If no tour is set we need a date to find a tour.

AddSingleClientWorkItemInput.desiredIndex ● Int scalar

The desired index for the new position of the item

AddSingleClientWorkItemInput.quantity ● Int scalar

(Optional) Quantity of this work item. Defaults to 1 If quantity is present, all created work items will be marked as completed.

AddSingleClientWorkItemInput.timeOfDay ● TimeOfDayType! non-null enum

Time of the day

AddSingleClientWorkItemInput.tourId ● ActiveTourID scalar

The ID of the tour to be assigned (Optional) We pick the first matching tour within the current day.

Member Of

addSingleClientWorkItem mutation