Skip to content

Instantly share code, notes, and snippets.

@scancel
Created July 31, 2013 06:50
Show Gist options
  • Save scancel/6119882 to your computer and use it in GitHub Desktop.
Save scancel/6119882 to your computer and use it in GitHub Desktop.
POST JSON for edit/create position
{
"positionPk": 5,
"stepOne": {
"socialSecurityNumber": {
"fieldName": "socialSecurityNumber",
"selectedValues": [
"Optional"
],
"options": [
{
"key": "Optional",
"label": "Optional"
},
{
"key": "Hidden",
"label": "Hidden"
},
{
"key": "Required",
"label": "Required"
}
]
},
"questionnaires": {
"fieldName": "Questionnaires",
"selectedValues": [
"43",
"5",
"4",
"2060"
],
"options": [
{
"key": "6",
"label": "Shared Questions"
},
{
"key": "",
"label": "Employment Application Shared Questions"
},
{
"key": "50",
"label": "Applicant Registration"
},
{
"key": "43",
"label": "Employment Application"
},
{
"key": "158",
"label": "Emergency Contact"
},
{
"key": "157",
"label": "Consumer Reports Notice"
},
{
"key": "112",
"label": "Applicant Availability (DELETE)"
},
{
"key": "246",
"label": "Employment Application - Short"
},
{
"key": "5",
"label": "Profiler"
},
{
"key": "",
"label": "Copy of: First Step version: 1.0"
},
{
"key": "377",
"label": "Codetix – Spanish"
},
{
"key": "378",
"label": "FirstStep"
},
{
"key": "1824",
"label": "Inscripción"
},
{
"key": "351",
"label": "פרופיל אישי"
},
{
"key": "352",
"label": "צעדראשון"
},
{
"key": "111",
"label": "Driving and Motor Vehicle Experience"
},
{
"key": "116",
"label": "Schedule & Availability"
},
{
"key": "",
"label": "Security"
},
{
"key": "3",
"label": "Demographic Information"
},
{
"key": "610",
"label": "Applicant Registration"
},
{
"key": "1959",
"label": "ATS Canada Employment Application"
},
{
"key": "1958",
"label": "Driving and Motor Vehicle Experience-- Canada"
},
{
"key": "379",
"label": "Perfil"
},
{
"key": "",
"label": "Copy of: Inscripción version: 3.0"
},
{
"key": "1117",
"label": "EsseHealth_EmploymentApp"
},
{
"key": "613",
"label": "מנהל פרוייקטים"
},
{
"key": "533",
"label": "Tax Credit"
},
{
"key": "",
"label": "Copy of: Employment Application version: 1.0"
},
{
"key": "",
"label": "Canadian Employment Application"
},
{
"key": "4",
"label": "First Step"
},
{
"key": "2059",
"label": "Cover Letter Attachment"
},
{
"key": "2060",
"label": "Resume Attachment"
},
{
"key": "",
"label": "meh"
},
{
"key": "",
"label": "Applicant Registration (Korea)"
}
]
},
"attachments": [
{
"type": "resumeAttachment",
"selected": true,
"required": false
}
],
"employmentApplication": {
"fieldName": "employmentApplication",
"selectedValues": [
"43"
],
"options": [
{
"key": "43",
"label": "Employment Application"
},
{
"key": "246",
"label": "Employment Application - Short"
},
{
"key": "1959",
"label": "ATS Canada Employment Application"
},
{
"key": "1117",
"label": "EsseHealth_EmploymentApp"
}
]
},
"type": {
"fieldName": "type",
"selectedValues": [
"18"
],
"options": [
{
"key": "18",
"label": "Generic"
},
{
"key": "242",
"label": "meh"
},
{
"key": "111",
"label": "test"
}
]
},
"title": "Resume Test",
"description": "Test",
"completed": true,
"demographicInformation": false
},
"stepTwo": {
"categories": [
{
"primaryKey": 362,
"name": "Introduction",
"pages": [
{
"number": 1,
"primaryKey": 808,
"questions": [
{
"classType": "ImageChoiceScreenerQuestion",
"questionPk": 4215,
"text": "",
"required": false,
"displayType": {
"fieldName": "Display Type",
"selectedValues": [
"0"
],
"options": [
{
"key": "0",
"label": "Drop Down"
},
{
"key": "2",
"label": "List"
},
{
"key": "1",
"label": "Radio Buttons"
},
{
"key": "3",
"label": "Check Boxes (Multiple select)"
}
]
},
"advancedQuestionProperties": {
"textWidth": 0,
"identifier": "",
"withheld": false,
"noLinebreak": false,
"hidden": false
},
"answers": [
{
"key": "",
"label": ""
},
{
"key": "4657",
"label": "Yes"
},
{
"key": "4658",
"label": "No"
}
]
}
]
},
{
"number": 2,
"primaryKey": 808,
"questions": [
{
"classType": "CodetixScreenerQuestion",
"questionPk": 4215,
"text": "",
"required": false,
"displayType": {
"fieldName": "Display Type",
"selectedValues": [
"0"
],
"options": [
{
"key": "0",
"label": "Drop Down"
},
{
"key": "2",
"label": "List"
},
{
"key": "1",
"label": "Radio Buttons"
},
{
"key": "3",
"label": "Check Boxes (Multiple select)"
}
]
},
"advancedQuestionProperties": {
"textWidth": 0,
"identifier": "",
"withheld": false,
"noLinebreak": false,
"hidden": false
},
"answers": [
{
"key": "",
"label": ""
},
{
"key": "4657",
"label": "Yes"
},
{
"key": "4658",
"label": "No"
}
]
}
]
}
]
},
{
"primaryKey": 363,
"name": "Main section",
"pages": [
{
"number": 4,
"primaryKey": 808,
"questions": [
{
"classType": "FirstStepMlScreenerQuestion",
"questionPk": 4215,
"text": "",
"required": false,
"displayType": {
"fieldName": "Display Type",
"selectedValues": [
"0"
],
"options": [
{
"key": "0",
"label": "Drop Down"
},
{
"key": "2",
"label": "List"
},
{
"key": "1",
"label": "Radio Buttons"
},
{
"key": "3",
"label": "Check Boxes (Multiple select)"
}
]
},
"advancedQuestionProperties": {
"textWidth": 0,
"identifier": "",
"withheld": false,
"noLinebreak": false,
"hidden": false
},
"answers": [
{
"key": "",
"label": ""
},
{
"key": "4657",
"label": "Yes"
},
{
"key": "4658",
"label": "No"
}
]
}
]
},
{
"number": 3,
"primaryKey": 808,
"questions": [
{
"classType": "CodetixScreenerQuestion",
"questionPk": 4215,
"text": "",
"required": false,
"displayType": {
"fieldName": "Display Type",
"selectedValues": [
"0"
],
"options": [
{
"key": "0",
"label": "Drop Down"
},
{
"key": "2",
"label": "List"
},
{
"key": "1",
"label": "Radio Buttons"
},
{
"key": "3",
"label": "Check Boxes (Multiple select)"
}
]
},
"advancedQuestionProperties": {
"textWidth": 0,
"identifier": "",
"withheld": false,
"noLinebreak": false,
"hidden": false
},
"answers": [
{
"key": "",
"label": ""
},
{
"key": "4657",
"label": "Yes"
},
{
"key": "4658",
"label": "No"
}
]
}
]
}
]
}
],
"questionType": {
"fieldName": "Type",
"selectedValues": [
"MultipleChoiceScreenerQuestion"
],
"options": [
{
"key": "MultipleChoiceScreenerQuestion",
"label": "Multiple choice"
},
{
"key": "FirstStepMlScreenerQuestion",
"label": "First Step Ml"
},
{
"key": "CodetixScreenerQuestion",
"label": "Codetix form"
},
{
"key": "CompoundScreenerQuestion",
"label": "Compound form"
},
{
"key": "FreeFormScreenerQuestion",
"label": "Free form text"
},
{
"key": "ImageChoiceScreenerQuestion",
"label": "Image choice form"
},
{
"key": "HtmlCaptionScreenerQuestion",
"label": "Html caption form"
},
{
"key": "LinkedScreenerQuestion",
"label": "Linked form"
}
]
}
},
"stepThree": {
"kraLanguages": [
{
"language": "en",
"kraIndexes": [
{
"name": "kra1",
"kraLabels": [
{
"primaryKey": 1,
"text": "Generating New Business"
},
{
"primaryKey": 3,
"text": "Introducing yourself to people you've never met"
},
{
"primaryKey": 2,
"text": "Convincing others to do things in new ways"
},
{
"primaryKey": 4,
"text": "Persuading people to make a commitment"
}
]
},
{
"name": "kra10",
"kraLabels": [
{
"primaryKey": 40,
"text": "Solving Complex Problems"
},
{
"primaryKey": 39,
"text": "Identifying and researching complex or strategic issues"
},
{
"primaryKey": 38,
"text": "Analyzing and organizing root causes and trends"
},
{
"primaryKey": 37,
"text": "Defining and deciding upon alternative solutions"
}
]
},
{
"name": "kra2",
"kraLabels": [
{
"primaryKey": 6,
"text": "Cultivating Existing Business"
},
{
"primaryKey": 7,
"text": "Understanding customers' needs and expectations"
},
{
"primaryKey": 8,
"text": "Recognizing opportunities for additional sales"
},
{
"primaryKey": 5,
"text": "Asking for additional sales"
}
]
},
{
"name": "kra3",
"kraLabels": [
{
"primaryKey": 9,
"text": "Providing Service to Others"
},
{
"primaryKey": 10,
"text": "Tuning in carefully to others, \"Walking in their Shoes\""
},
{
"primaryKey": 12,
"text": "Helping people and answering their questions"
},
{
"primaryKey": 11,
"text": "Resolving disagreements & complaints"
}
]
},
{
"name": "kra4",
"kraLabels": [
{
"primaryKey": 13,
"text": "Working with Data"
},
{
"primaryKey": 14,
"text": "Gathering, Comparing or Computing Information"
},
{
"primaryKey": 15,
"text": "Organizing or manipulating data"
},
{
"primaryKey": 16,
"text": "Synthesizing or Interpreting Data and Drawing Conclusions"
}
]
},
{
"name": "kra5",
"kraLabels": [
{
"primaryKey": 17,
"text": "Managing Others"
},
{
"primaryKey": 18,
"text": "Giving directions to other people"
},
{
"primaryKey": 19,
"text": "Coaching others to help them perform better"
},
{
"primaryKey": 20,
"text": "Delegating the tasks needed to complete a project"
}
]
},
{
"name": "kra6",
"kraLabels": [
{
"primaryKey": 21,
"text": "Entrepreneurial Leadership"
},
{
"primaryKey": 24,
"text": "Establishing a vision of the future"
},
{
"primaryKey": 23,
"text": "Persuading others of the merits of the vision"
},
{
"primaryKey": 22,
"text": "Making the vision a reality"
}
]
},
{
"name": "kra7",
"kraLabels": [
{
"primaryKey": 28,
"text": "Working on a Team"
},
{
"primaryKey": 27,
"text": "Cooperating to achieve common goals"
},
{
"primaryKey": 26,
"text": "Putting personal feelings aside for the common good"
},
{
"primaryKey": 25,
"text": "Cultivating and maintaining working relationships"
}
]
},
{
"name": "kra8",
"kraLabels": [
{
"primaryKey": 30,
"text": "Planning and Organizing Activities"
},
{
"primaryKey": 31,
"text": "Identifying goals and setting priorities"
},
{
"primaryKey": 32,
"text": "Planning projects and establishing deadlines"
},
{
"primaryKey": 29,
"text": "Managing time and commitments"
}
]
},
{
"name": "kra9",
"kraLabels": [
{
"primaryKey": 34,
"text": "Working with Things"
},
{
"primaryKey": 35,
"text": "Working with materials, Machinery or Tools"
},
{
"primaryKey": 36,
"text": "Maintaining or repairing machinery"
},
{
"primaryKey": 33,
"text": "Installing, Checking or Troubleshooting Machinery"
}
]
}
]
},
{
"language": "es",
"kraIndexes": [
{
"name": "kra1",
"kraLabels": [
{
"primaryKey": 53,
"text": "Generar nuevas actividades"
}
]
},
{
"name": "kra10",
"kraLabels": [
{
"primaryKey": 62,
"text": "Solucionar problemas complejos"
}
]
},
{
"name": "kra2",
"kraLabels": [
{
"primaryKey": 54,
"text": "Desarrollar las actividades existentes"
}
]
},
{
"name": "kra3",
"kraLabels": [
{
"primaryKey": 55,
"text": "Prestar servicios a otros"
}
]
},
{
"name": "kra4",
"kraLabels": [
{
"primaryKey": 56,
"text": "Trabajar con datos"
}
]
},
{
"name": "kra5",
"kraLabels": [
{
"primaryKey": 57,
"text": "Dirigir a otras personas"
}
]
},
{
"name": "kra6",
"kraLabels": [
{
"primaryKey": 58,
"text": "Planificar y organizar actividades"
}
]
},
{
"name": "kra7",
"kraLabels": [
{
"primaryKey": 59,
"text": "Trabajar en Equipo"
}
]
},
{
"name": "kra8",
"kraLabels": [
{
"primaryKey": 60,
"text": "Planificar y organizar actividades"
}
]
},
{
"name": "kra9",
"kraLabels": [
{
"primaryKey": 61,
"text": "Trabajar con cosas - Mantenimiento"
}
]
}
]
},
{
"language": "he",
"kraIndexes": [
{
"name": "kra1דגכדגכ",
"kraLabels": [
{
"primaryKey": 43,
"text": "יוצר הזדמנויות עסקיות חדשות"
}
]
},
{
"name": "kra10דגכדגכ",
"kraLabels": [
{
"primaryKey": 52,
"text": "פותר בעיות סבוכות"
}
]
},
{
"name": "kra2דכדגכדגכ",
"kraLabels": [
{
"primaryKey": 44,
"text": "משביח עסקים קיימים"
}
]
},
{
"name": "kra3",
"kraLabels": [
{
"primaryKey": 45,
"text": "מספק שירות לאחרים"
}
]
},
{
"name": "kra4",
"kraLabels": [
{
"primaryKey": 46,
"text": "עובד עם נתונים"
}
]
},
{
"name": "kra5",
"kraLabels": [
{
"primaryKey": 47,
"text": "מנהל אחרים"
}
]
},
{
"name": "kra6",
"kraLabels": [
{
"primaryKey": 48,
"text": "מנהיגות יזמית"
}
]
},
{
"name": "kra7",
"kraLabels": [
{
"primaryKey": 49,
"text": "עבודה בצוות"
}
]
},
{
"name": "kra8",
"kraLabels": [
{
"primaryKey": 50,
"text": "תכנון ואירגון פעילויות"
}
]
},
{
"name": "kra9",
"kraLabels": [
{
"primaryKey": 51,
"text": "עובד עם חומרים"
}
]
}
]
}
],
"selectedLanguage": "en",
"weightItems": [
],
"selectedKraLabels": [
6,
9,
13
]
},
"stepFour": {
"layoutQuestionSets": [
{
"primaryKey": 43,
"name": "Employment Application",
"stageOrder": -1,
"orderIndex": 0
},
{
"primaryKey": 45,
"name": "Resume Attachment",
"stageOrder": -1,
"orderIndex": 0
},
{
"primaryKey": 5,
"name": "Profiler",
"stageOrder": -1,
"orderIndex": 0
},
{
"primaryKey": 4,
"name": "First Step",
"stageOrder": -1,
"orderIndex": 0
}
],
"activateStaging": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment