updateSourcedJobPostings
Updates a sourced job. The caller must have claimed the job source. Accepts one update per call; multiple updates cause an error.
Arguments
input UpdateSourcedJobPostingsInput! Required
Input field for the jobsIngest.updateSourcedJobPostings mutation. Contains the job posting updates to apply.
updates [UpdateSourcedJobPostingInput!]! Required
Job posting updates.
sourcedPostingId ID! Required
Employer job UUID from createSourcedJobPostings. Accepts UUID or base64-encoded IRI from EmployerJob.
metadata UpdateSourcedJobPostingMetadataInput
Job metadata.
body UpdateSourcedJobPostingBodyInput
Job body.
Response
Returns UpdateSourcedJobPostingsPayload .results [UpdateSourcedJobPostingResult!]! Non-Null
Results for each update. Array values are non-null, but jobPosting is null if the update was not accepted.
jobPosting SourcedJobPostingUpdate
Job posting for the update. null if the update was not accepted.
Example
Query
mutation UpdateSourcedJobPostings($input: UpdateSourcedJobPostingsInput!) { jobsIngest { updateSourcedJobPostings(input: $input) { results { jobPosting { sourcedPostingId employerJobId } } } }}Variables
{"input": UpdateSourcedJobPostingsInput}Response
{ "data": { "jobsIngest": { "updateSourcedJobPostings": { "results": [UpdateSourcedJobPostingResult] } } }}