Z.Staff (Portico/Z v0.1.0)

Context for staff-related activities

Link to this section Summary

Functions

Retrieve a staff application by id.

Link to this section Functions

Link to this function

get_application(id)

Retrieve a staff application by id.

For now, the data format of the returned application matches our back-end system, Workable. See Library.Workable.get_candidate/1 for details.

Examples

iex> alex_franco_id = "6c6ef6e"
iex> application = Z.Staff.get_application(alex_franco_id)
iex> application["firstname"]
"Alex"
iex> application["lastname"]
"Franco"

iex> Z.Staff.get_application("bad_id")
nil