addSeats
Adds seats to a job. Fails if the seatPostingId already exists.
Arguments
input AddSeatsInput! Required
seatAdditions [AddSeatInput!]! Required
Seat additions to process. Accepts one item.
employerJob EmployerJobIdentifierInput! Required
Employer job for the seat.
seatPostingId ID! Required
Agency-provided identifier for the seat. Must be unique across all seats on the job. Use it in later updateSeats and clearSeats requests.
body AddSeatBodyInput! Required
Seat body data.
metadata AddSeatMetadataInput
Seat metadata.
Response
Returns AddSeatsPayload .results [AddSeatResult!]! Non-Null
Results for each seat add.
sourcedPostingId ID! Non-Null
UUID form of the employer job ID.
employerJobId ID! Non-Null
Base64-encoded IRI of the employer job.
seatPostingId ID! Non-Null
Agency-provided seat identifier.
jobKey ID
Encrypted aggJobId for the seat. Pass it to SeatIdentifierInput.jobKey in updateSeats or clearSeats.
null if the seat add failed.
Example
Query
mutation AddSeats($input: AddSeatsInput!) { jobsIngest { addSeats(input: $input) { results { sourcedPostingId employerJobId seatPostingId jobKey } } }}Variables
{"input": AddSeatsInput}Response
{ "data": { "jobsIngest": { "addSeats": {"results": [AddSeatResult]} } }}