updateSeats
Updates seats on a job.
Arguments
input UpdateSeatsInput! Required
Seat-update input.
seatUpdates [UpdateSeatInput!]! Required
Seat updates to process. Accepts one item.
employerJob EmployerJobIdentifierInput! Required
Employer job for the seat.
seatIdentifier SeatIdentifierInput! Required
Seat to update. Provide one field.
body UpdateSeatBodyInput
Seat body. To leave the value unchanged, omit this field or set it to null.
metadata UpdateSeatMetadataInput
Seat metadata. To leave the value unchanged, omit this field or set it to null.
Response
Returns UpdateSeatsPayload .results [UpdateSeatResult!]! Non-Null
Results for each seat update.
sourcedPostingId ID! Non-Null
Employer job ID as a UUID.
employerJobId ID! Non-Null
Employer job ID as a base64-encoded IRI.
seatPostingId ID
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 UpdateSeats($input: UpdateSeatsInput!) { jobsIngest { updateSeats(input: $input) { results { sourcedPostingId employerJobId seatPostingId jobKey } } }}Variables
{"input": UpdateSeatsInput}Response
{ "data": { "jobsIngest": { "updateSeats": {"results": [UpdateSeatResult]} } }}