seekAnzAdvertiser query looks up a HiringOrganization from a SEEK advertiser ID.
You can select the resulting HiringOrganization’s hirer ID:query ($legacyId: Int!) {
seekAnzAdvertiser(id: $legacyId) {
id {
value
}
}
}hiringOrganizations query will return a paginated list of all the SEEK hirers you have a relationship with.
You can select both the id & seekAnzAdvertiserId fields to produce a mapping between the identifiers:query ($schemeId: String!, $first: Int) {
hiringOrganizations(schemeId: $schemeId, first: $first) {
edges {
node {
id {
value
}
seekAnzAdvertiserId
name
}
}
pageInfo {
hasNextPage
endCursor
}
}
}HiringOrganization objects have a seekAnzAdvertiserId field.For example, you can select the SEEK advertiser ID that posted a given PositionProfile:query ($id: String!) {
positionProfile(id: $id) {
positionOrganizations {
seekAnzAdvertiserId
}
}
}hiringOrganization query.
This can be useful for exploratory testing or debugging:query ($id: String!) {
hiringOrganization(id: $id) {
seekAnzAdvertiserId
name
}
}