Skip to main content

Arguments

supplyPointIdentifierToMarketNameMapping : SupplyPointIdentifierToMarketNameMappingInput! required

The supply point external identifier and market name to search by.

Returns

OnSiteJobsAccountType

An account and the GBR-specific information about it needed to administer On-Site Jobs requests and appointments.

Allowed Viewers

Customer Partner User Third party

Query Complexity

1

Examples

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

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 } } }