INPUT_OBJECT

CreateOrUpdateTargetInput

Field values of a Target record to create, or to update when its id is set.

link GraphQL Schema definition

  • input CreateOrUpdateTargetInput {
  • # Optional client-supplied identifier passed on a mutation input and echoed back
  • # unchanged on its payload, so a client can correlate the response with its
  • # request (Relay convention).
  • clientMutationId: String
  • # Unique identifier of entity.
  • id: ID
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # What the target measures: revenue from opportunities won, or the number of leads
  • # qualified or created in the target period.
  • calculationType: TargetCalculationTypeEnum
  • # Id of the target currency.
  • currencyId: ID
  • # Free-text description shown alongside the target.
  • description: String
  • # When true, the target is currently being tracked; when false, the target is a
  • # draft or has been deactivated.
  • isActive: Boolean
  • # Name of the entity and its default text representation.
  • name: String
  • # Id of the owning user.
  • ownerId: ID
  • # First date of the active target period. Set when isActive is true; recomputed
  • # from settings.period when activated.
  • periodFrom: Date
  • # Last date of the active target period.
  • periodTo: Date
  • # Id of the assignee user.
  • targetClientId: ID
  • # Kind of target: a User target for targetClient, a group target that is split
  • # into or combines user targets, or a Simulated what-if target.
  • type: TargetTypeEnum
  • # Revision when entity was lastly changed.
  • revision: Int
  • # User-level child targets that aggregate into this group target.
  • childTargets: [CreateTargetRelationNoGroupTargetBackrefInput!]
  • }

link Require by