clearSeats
Expires agency-created seats or removes updates from ATS-created seats.
For an agency-created seat added with addSeats, clearSeats removes updateSeats changes and expires the seat so it no longer appears in search results.
For an ATS-created seat, clearSeats removes updates only. The seat stays in seatsConnection.
This call does not affect the parent employer job or other seats on the same job.
Arguments
input ClearSeatsInput! Required
Seat-clear input.
seatRemovals [ClearSeatInput!]! Required
Seat removals to process. Accepts one item.
employerJob EmployerJobIdentifierInput! Required
Employer job for the seat.
seatIdentifier SeatIdentifierInput! Required
Seat to remove. Provide one field.
Response
Returns ClearSeatsPayload .results [ClearSeatResult!]! Non-Null
Results for each seat clear.
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 ClearSeats($input: ClearSeatsInput!) { jobsIngest { clearSeats(input: $input) { results { sourcedPostingId employerJobId seatPostingId jobKey } } }}Variables
{"input": ClearSeatsInput}Response
{ "data": { "jobsIngest": { "clearSeats": {"results": [ClearSeatResult]} } }}