Skip to main content

Arguments

name : String! required

Text the legal entities' names must contain, ignoring case.

Returns

[LegalEntityType!]

Represents a legal entity.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can query leads

Query Complexity

5

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 LegalEntitiesByName($name: String!) { legalEntitiesByName(name: $name) { associatedEntities { ...LegalEntityAssociatedEntitiesTypeFragment } displayableNumber id industryClassificationCodes legalAddress { ...RichAddressTypeFragment } legalEntityType name primaryRegistrationNumber primaryTaxIdentifierNumber secondaryRegistrationNumber secondaryTaxIdentifierNumber state tradingName } }

Variables

{ "name": "manager-long-different-include-night" }

Response

{ "data": { "legalEntitiesByName": [ { "associatedEntities": LegalEntityAssociatedEntitiesType, "displayableNumber": "trade-truth-every-position-answer", "id": "19603464", "industryClassificationCodes": "shake-population-happy-memory-society", "legalAddress": RichAddressType, "legalEntityType": "SOLE_TRADER", "name": "data-federal-federal-need-close", "primaryRegistrationNumber": "red-let-be-but-paper", "primaryTaxIdentifierNumber": "method-help-choose-interview-walk", "secondaryRegistrationNumber": "rest-site-manager-hour-PM", "secondaryTaxIdentifierNumber": "himself-suddenly-name-yes-model", "state": "DRAFT", "tradingName": "bed-effort-big-say-base" } ] } }