Skip to main content
PATCH
Change a job this partner created

Authorizations

Authorization
string
header
required

OAuth 2.0 client credentials. Request a token from the token endpoint of the identity provider's domain (https://{cognito-domain}/oauth2/token, with HTTP Basic client authentication) and send it as a Bearer token. Production uses auth.mypilotindex.com. The sandbox uses the dev environment's Cognito domain, which is given to the partner with its sandbox credential. A token carries only the scopes the partner was approved for.

Path Parameters

job_id
string<uuid>
required

Body

application/json

Maximum 65536 bytes. At least one member. Unknown or repeated members are rejected, and client_ref is a create's.

The members a partner may set. Each is optional here; a create requires its own.

title
string

Surrounding whitespace is trimmed.

Minimum string length: 1
description
string | null
position_type
enum<string>
Available options:
captain,
first_officer,
check_airman,
instructor,
management,
other,
program
employment_type
enum<string>
Available options:
full_time,
part_time,
contract,
temporary,
seasonal
operation_type
enum<string>
Available options:
part_121,
part_135,
part_91,
part_91k,
military,
government,
other
base_location
string | null
base_airport_code
string | null
work_mode
enum<string> | null
Available options:
onsite,
hybrid,
remote,
null
min_total_hours
integer | null
Required range: x >= 0
min_pic_hours
integer | null
Required range: x >= 0
min_multi_engine_hours
integer | null
Required range: x >= 0
min_turbine_hours
integer | null
Required range: x >= 0
min_jet_hours
integer | null
Required range: x >= 0
required_licenses
string[]

License codes, such as ATP or CPL.

Minimum string length: 1
required_type_ratings
string[]

FAA type rating designators, such as CE-680.

Minimum string length: 1
salary_min
number | null
salary_max
number | null

At least salary_min.

salary_type
enum<string> | null
Available options:
annual,
hourly,
per_diem,
daily_rate,
monthly,
fixed,
null
salary_currency
string
Pattern: ^[A-Z]{3}$
application_url
string | null

An absolute http or https URL.

application_email
string | null
application_instructions
string | null
expires_at
string<date-time>

RFC 3339. 30 days from the create unless it says otherwise.

status
enum<string>
default:active
Available options:
draft,
active

Response

The job as it now stands.

A job. Nothing of who posted it, how it was reviewed or who applied travels with it.

id
string<uuid>
required
title
string
required
company
object
required

Who the job is for. A job a member shared may name no company of the catalog; id and logo_url are then null.

position_type
enum<string>
required
Available options:
captain,
first_officer,
check_airman,
instructor,
management,
other,
program
employment_type
enum<string>
required
Available options:
full_time,
part_time,
contract,
temporary,
seasonal
operation_type
enum<string>
required
Available options:
part_121,
part_135,
part_91,
part_91k,
military,
government,
other
base_location
string | null
required
base_airport_code
string | null
required
min_total_hours
integer | null
required
min_pic_hours
integer | null
required
min_multi_engine_hours
integer | null
required
min_turbine_hours
integer | null
required
min_jet_hours
integer | null
required
required_licenses
string[]
required
required_type_ratings
string[]
required
salary_min
number | null
required
salary_max
number | null
required
salary_type
enum<string> | null
required
Available options:
annual,
hourly,
per_diem,
daily_rate,
monthly,
fixed,
null
salary_currency
string
required
Pattern: ^[A-Z]{3}$
posted_at
string<date-time> | null
required
expires_at
string<date-time> | null
required
url
string
required

The job's public page on MyPilotIndex.