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