getOnSiteJobsAccountBySupplyPointExternalIdentifier
Get an On-Site Jobs account given a supply point external identifier.
Arguments
The supply point external identifier and market name to search by.
Returns
OnSiteJobsAccountTypeAn account and the GBR-specific information about it needed to administer On-Site Jobs requests and appointments.
Possible Errors
Allowed Viewers
Query Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query GetOnSiteJobsAccountBySupplyPointExternalIdentifier($supplyPointIdentifierToMarketNameMapping: SupplyPointIdentifierToMarketNameMappingInput!) {
getOnSiteJobsAccountBySupplyPointExternalIdentifier(supplyPointIdentifierToMarketNameMapping: $supplyPointIdentifierToMarketNameMapping) {
activeCampaigns {
...OnSiteJobsCampaignConnectionTypeConnectionFragment
}
number
onSiteJobsRequests {
...OnSiteJobsRequestConnectionTypeConnectionFragment
}
properties {
...OnSiteJobsPropertyConnectionTypeConnectionFragment
}
smets2Interest
users {
...OnSiteJobsAccountUserConnectionTypeConnectionFragment
}
}
}
Variables
{
"supplyPointIdentifierToMarketNameMapping": SupplyPointIdentifierToMarketNameMappingInput
}
Response
{
"data": {
"getOnSiteJobsAccountBySupplyPointExternalIdentifier": {
"activeCampaigns": OnSiteJobsCampaignConnectionTypeConnection,
"number": "whether-page-sister-style-develop",
"onSiteJobsRequests": OnSiteJobsRequestConnectionTypeConnection,
"properties": OnSiteJobsPropertyConnectionTypeConnection,
"smets2Interest": "PRIORITY",
"users": OnSiteJobsAccountUserConnectionTypeConnection
}
}
}