publishSourcedJobPostings
Publishes a job that is being held for review, making it visible to jobseekers. Use this when a
review found nothing to correct; a successful updateSourcedJobPostings already publishes the
job. Publishing is idempotent — a job that is not being held returns seatsPublished: 0. Only
one publish is allowed per call.
引数
input PublishSourcedJobPostingsInput! 必須
publishes [PublishSourcedJobPostingInput!]! 必須
Jobs to publish. Accepts one item.
employerJob EmployerJobIdentifierInput! 必須
Employer job to publish.
応答
PublishSourcedJobPostingsPayload を返す。results [PublishSourcedJobPostingResult!]! 非null
Results for each publish.
sourcedPostingId ID! 非null
UUID form of the employer job ID.
employerJobId ID! 非null
Base64-encoded IRI of the employer job.
seatsPublished Int
Number of seats this call released.
0 means the job was not being held. That is a success, because publishing is idempotent.
If publish failed, the value is null. See the matching entry in errors.
例
クエリ
mutation PublishSourcedJobPostings($input: PublishSourcedJobPostingsInput!) { jobsIngest { publishSourcedJobPostings(input: $input) { results { sourcedPostingId employerJobId seatsPublished } } }}変数
{"input": PublishSourcedJobPostingsInput}応答
{ "data": { "jobsIngest": { "publishSourcedJobPostings": { "results": [PublishSourcedJobPostingResult] } } }}