INPUT_OBJECT

CreateCompanyTestInput

link GraphQL Schema definition

1input CreateCompanyTestInput {
4
2# The title of the test.
3title: String!
7
5# The candidate-facing title of the test.
6externalTitle: String!
14
8# When true, automatically appends a numeric suffix (e.g., "(1)", "(2)") to the
9# title
10# if a test with the same title already exists. When false or not provided, the
11# mutation
12# will fail with a duplicate-test-title error if a conflict occurs.
13autoResolveTitleConflict: Boolean
17
15# The internal description of the test.
16internalDescription: String
22
18# The ID of the company that owns the test. If omitted, this will default to the
19# ID of
20# the company associated with the API consumer.
21companyId: ID
31
23# The ID of the user to set as the author of the test. If provided, the user must
24# be an
25# active, non-disabled member of the company. When authenticated as a user, this
26# must
27# match the authenticated user's ID. If omitted, the author is determined
28# automatically as
29# the authenticated user or as the default company contact.
30authorUserId: ID
34
32# The default expiration time of a test invitation in milliseconds.
33defaultExpiration: Float
37
35# A message shown to users before they begin an assessment created from the test.
36introMessage: String!
40
38# A message shown to users after they finish an assessment created from the test.
39outroMessage: String!
43
41# Duration of the test in milliseconds. Should be at least 3 minutes.
42duration: Float!
46
44# A list a question slots.
45tasks: [TaskSlotInput!]!
49
47# The subject line shown in the test invitation email.
48emailSubject: String
52
50# The message shown in the test invitation email.
51emailMessage: String
55
53# The subject line shown in the test expiration email.
54expirationEmailSubject: String
58
56# The message shown in the test expiration email.
57expirationEmailMessage: String
61
59# The subject line shown in the test completion email.
60completionEmailSubject: String
64
62# The message shown in the test completion email.
63completionEmailMessage: String
67
65# The templates for the email reminders.
66emailReminderTemplates: [EmailReminderTemplate!]
71
68# Reminders that will be sent to invitees who have not yet completed a test
69# session.
70emailReminders: [EmailReminder!]
74
72# Time zone database name, e.g. America/Los_Angeles.
73timeZone: String
78
75# The CodeSignal user ID of the default sender of test invitations (used when
76# invitations are sent from an applicant tracking system).
77defaultSender: ID
81
79# Test labels
80labels: [String!]
85
82# Automatically assign a label when the candidate scores within a given inclusive
83# range.
84scoreRangeLabels: [ScoreRangeLabelInput!]
89
86# When set to true, the candidates will be prevented from seeing the score in the
87# IDE and active test page.
88hideScoresFromCandidate: Boolean
90}

link Required by