mirror of https://github.com/zulip/zulip.git
185 lines
3.7 KiB
JSON
185 lines
3.7 KiB
JSON
{
|
|
"action": "hire_candidate",
|
|
"payload": {
|
|
"application": {
|
|
"id": 20,
|
|
"opening": {
|
|
"opening_id": "1234-56"
|
|
},
|
|
"credited_to": {
|
|
"id": 57,
|
|
"email": "bob_johnson1@localhost.com",
|
|
"name": "Robert Johnson"
|
|
},
|
|
"source": {
|
|
"id": 25,
|
|
"public_name": "Monster"
|
|
},
|
|
"candidate": {
|
|
"id": 19,
|
|
"first_name": "Johnny",
|
|
"last_name": "Smith",
|
|
"title": "Previous Title",
|
|
"external_id": "00000",
|
|
"phone_numbers": [{
|
|
"value": "518-555-1212",
|
|
"type": "work"
|
|
}, {
|
|
"value": "212-555-1212",
|
|
"type": "home"
|
|
}],
|
|
"email_addresses": [{
|
|
"value": "personal@example.com",
|
|
"type": "personal"
|
|
}, {
|
|
"value": "work@example.com",
|
|
"type": "work"
|
|
}],
|
|
"addresses": [{
|
|
"value": "455 Broadway New York, NY 10280",
|
|
"type": "home"
|
|
}],
|
|
"recruiter": {
|
|
"id": 55,
|
|
"email": "bob_johnson@localhost.com",
|
|
"name": "Bob Johnson"
|
|
},
|
|
"coordinator": {
|
|
"id": 56,
|
|
"email": "bob_johnson_approver1@localhost.com",
|
|
"name": "Robert J Approver"
|
|
},
|
|
"attachments": [{
|
|
"filename": "resume.pdf",
|
|
"url": "https://prod-heroku.s3.amazonaws.com/...",
|
|
"type": "resume"
|
|
}],
|
|
"custom_fields": {
|
|
"desired_level": {
|
|
"name": "Desired Level",
|
|
"type": "short_text",
|
|
"value": "Senior"
|
|
},
|
|
"favorite_programming_language": {
|
|
"name": "Favorite Programming Language",
|
|
"type": "short_text",
|
|
"value": "Rails"
|
|
}
|
|
}
|
|
},
|
|
"job": {
|
|
"id": 20,
|
|
"name": "Developer",
|
|
"open_date": "2014-11-20T22:49:14Z",
|
|
"close_date": "2014-11-25T22:49:14Z",
|
|
"requisition_id": null,
|
|
"departments": [{
|
|
"id": 7,
|
|
"name": "Technology"
|
|
}],
|
|
"offices": [{
|
|
"id": 13,
|
|
"name": "New York City",
|
|
"location": {
|
|
"name": "New York, NY"
|
|
}
|
|
}, {
|
|
"id": 14,
|
|
"name": "St. Louis",
|
|
"location": null
|
|
}],
|
|
"custom_fields": {
|
|
"approved": {
|
|
"name": "Approved",
|
|
"type": "boolean",
|
|
"value": true
|
|
},
|
|
"employment_type": {
|
|
"name": "Employment Type",
|
|
"type": "single_select",
|
|
"value": "Full-time"
|
|
},
|
|
"salary_range": {
|
|
"name": "SalaryRange",
|
|
"type": "currency_range",
|
|
"value": {
|
|
"unit": "USD",
|
|
"min_value": "10000.0",
|
|
"max_value": "20000.0"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"jobs": [{
|
|
"id": 20,
|
|
"name": "Developer",
|
|
"opened_at": "2014-11-20T22:49:14Z",
|
|
"closed_at": "2014-11-25T22:49:14Z",
|
|
"requisition_id": null,
|
|
"departments": [{
|
|
"id": 7,
|
|
"name": "Technology"
|
|
}],
|
|
"offices": [{
|
|
"id": 13,
|
|
"name": "New York City",
|
|
"location": {
|
|
"name": "New York, NY"
|
|
}
|
|
}, {
|
|
"id": 14,
|
|
"name": "St. Louis",
|
|
"location": null
|
|
}],
|
|
"custom_fields": {
|
|
"approved": {
|
|
"name": "Approved",
|
|
"type": "boolean",
|
|
"value": true
|
|
},
|
|
"employment_type": {
|
|
"name": "Employment Type",
|
|
"type": "single_select",
|
|
"value": "Full-time"
|
|
},
|
|
"salary_range": {
|
|
"name": "SalaryRange",
|
|
"type": "currency_range",
|
|
"value": {
|
|
"unit": "USD",
|
|
"min_value": "10000.0",
|
|
"max_value": "20000.0"
|
|
}
|
|
}
|
|
}
|
|
}],
|
|
"offer": {
|
|
"id": 13,
|
|
"version": 2,
|
|
"created_at": "2014-11-20T22:49:14Z",
|
|
"sent_at": "2014-11-10",
|
|
"resolved_at": "2014-11-20T22:49:14Z",
|
|
"starts_at": "2015-01-23",
|
|
"custom_fields": {
|
|
"salary": {
|
|
"name": "Salary",
|
|
"type": "currency",
|
|
"value": {
|
|
"amount": 80000,
|
|
"unit": "USD"
|
|
}
|
|
},
|
|
"seasons": {
|
|
"name": "Seasons",
|
|
"type": "multi_select",
|
|
"value": [
|
|
"Season 1",
|
|
"Season 2"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|