Accessories

Returns the accessories to a given part. An accessory is another part node that is connected together with a part node by a particular Edge Type.

APIDescription
GET api/Accessories/{id}

Gets all of the accessory nodes for a given node

Retrieves the breadcrumb for the given node. This looks up a given node ID and returns a single list of parents between that node and the root node. Note that in some cases, a part node may exist within multiple headings. This method returns only a single route. To retrieve all of the routes for a part, see the NodeParentsTree method

APIDescription
GET api/Breadcrumb/{id}

Gets the list of parent nodes for the given node between this and root node, in order of ancestry.

Retrieves the breadcrumb for the given node, but ignores specific headings that have been flagged as 'separator' headings. This functions identically to the Breadcrumb method, but will skip out certain headings in between the given node and the root node. This is intended for use in showing a limited display, and will not reflect the full entry structure.

APIDescription
GET api/BreadcrumbWithoutSeparators/{id}

Gets the list of parent nodes for the given node between this and root node, in order of ancestry, omitting specific headings marked as 'separators'.

GET api/BreadcrumbWithoutSeparators/{id}?manufacturerNodeId={manufacturerNodeId}

Gets the list of parent nodes for the given node between this and root node, in order of ancestry, omitting specific headings marked as 'separators'. This also filters the route to only include parent nodes for a specific manufacturer. This is useful in cases where parts exist in multiple manufacturers within the same brand.

Components

Returns the components for a given part. A component is another part node that is connected together with a part node by a particular Edge Type.

APIDescription
GET api/Components/{id}

Gets all of the component nodes for a given node

Datasheets

A part may have any number of attributes, but only certain attributes are intended to appear on a publically visible datasheet. The datasheet attributes are also intended to be seen within certain groups and in a certain order. This method retrieves those groups and the attributes within them, for a given part.

APIDescription
GET api/Datasheets/{id}

Gets the Node Attribute Groups associated with the Datasheets and the values of attributes within those groups associated for a specific part

GET api/Datasheets?brandNodeId={brandNodeId}&partNumber={partNumber}

Gets the Node Attribute Groups associated with the Datasheets and the values of attributes within those groups associated for a specific part

DatasheetsPdf

Generates a PDF datasheet for a particular part

APIDescription
GET api/DatasheetsPdf/{id}?languageCode={languageCode}

Generates a PDF datasheet for a particular part, uploads to storage and returns the URL for the datasheet.

GET api/DatasheetsPdf?brandNodeId={brandNodeId}&partNumber={partNumber}&languageCode={languageCode}

Generates a PDF datasheet for a particular part, uploads to storage and returns the URL for the datasheet.

GET api/DatasheetsPdf?brandNodeId={brandNodeId}&partNumber={partNumber}&returnPdf={returnPdf}&languageCode={languageCode}

Generates a PDF datasheet for a particular part, uploads to storage and returns the datasheet.

DistinctValues

Retrieves distinct node attribute values

APIDescription
GET api/DistinctValues?attributeTitle={attributeTitle}

Get all the distinct values of an attribute title

GET api/DistinctValues/{id}

Gets all the distinct values of an attribute title

FileDownloads

Retrieves the list of file downloads associated with a particular part. This is structurally similar to the Datasheets method, as file downloads may be grouped together in various groups.

APIDescription
GET api/FileDownloads/{id}

Gets the file downloads associated with a given part

Fixings

Returns the fixings for a given part. A fixing is another part node that is connected together with a part node by a particular Edge Type.

APIDescription
GET api/Fixings/{id}

Gets all of the fixing nodes for a given node

Node

Retrieves a specific node

APIDescription
GET api/Node/{id}

Gets the Node with the specific ID

NodeAttributeGroups

Certain attributes may be grouped into attribute groups. This returns those attribute groups.

APIDescription
GET api/NodeAttributeGroups?groupTitle={groupTitle}

Returns a list of node attribute groups, for a specific group title. Leave the argument blank to return all node attribute groups.

GET api/NodeAttributeGroups

Returns all the attribute groups

NodeAttributeGroupsInMasterGroup

Attribute Groups can be grouped together in Master Groups. This returns the groups within a particular master group.

APIDescription
GET api/NodeAttributeGroupsInMasterGroup?masterGroupId={masterGroupId}

Gets the attribute groups within a specific master group

NodeAttributeMasterGroups

Attribute Groups can be themselves be grouped together to form Master Groups

APIDescription
GET api/NodeAttributeMasterGroups?masterGroupTitle={masterGroupTitle}

Gets the master groups with a specific master group title

GET api/NodeAttributeMasterGroups

Gets all the master groups

GET api/NodeAttributeMasterGroups?nodeId={nodeId}&masterGroupId={masterGroupId}

Gets all of the attribute values for a node, filtering those attributes by the groups within the given master group

NodeAttributes

A node may have any number of attributes associated with it. These attributes include things like the product description, trade price, product image, or technical data about the node.

APIDescription
GET api/NodeAttributes/{id}

Gets the list of node attributes associated with that node

POST api/NodeAttributes

Gets the list of node attributes associated with the provided list of node ids

NodeAttributeTitlesInGroup

Node Attribute Titles may be grouped together in attribute groups.

APIDescription
GET api/NodeAttributeTitlesInGroup?groupId={groupId}

Retrieves the attribute titles within a particular group

NodeAttributeTitlesInMasterGroup

Node Attribute Titles may be grouped together in attribute groups.

APIDescription
GET api/NodeAttributeTitlesInMasterGroup?masterGroupId={masterGroupId}

Retrieves the attribute titles within a particular master group

NodeChildren

Retrieves the children of a particular node.

APIDescription
GET api/NodeChildren/{id}?allNodes={allNodes}

Gets the list of immediate children of the specified node

NodeParents

Retrieves the immediate parents of a node

APIDescription
GET api/NodeParents/{id}

Gets the list of immediate parents of the specified node

NodeParentsList

Retrieves all the parents of a node in a list of all possible parent nodes. A node may have multiple parents, and this gives the list of all possible paths between the given node and the root node. The list of parents is in order of ancestry.

APIDescription
GET api/NodeParentsList/{id}

Gets all the parents for this node

NodeParentsTree

Retrieves an entire tree of parents connected to a particular node

APIDescription
GET api/NodeParentsTree/{id}

Gets the node with its full tree of parents

NodeType

Retrieves all nodes of a particular Node Type

APIDescription
GET api/NodeType/{nodeType}

Retrieves all nodes matching specific Node Type.

NodeTypes

API for retrieving the NodeType keys and values. This may be useful in conjunction with other methods, such as the SearchNodes method that can filter based on Node Type.

APIDescription
GET api/NodeTypes

Retrieves all of the allowed NodeType parameters, with the key and the value.

PartNodes

Retrieves part nodes, nodes with a specific NodeType

APIDescription
GET api/PartNodes?brandNodeId={brandNodeId}&skip={skip}&take={take}

Retrieves all part nodes within a particular brand

GET api/PartNodes?brandNodeId={brandNodeId}&attributeTitleId={attributeTitleId}&skip={skip}&take={take}

Retrieves all part nodes within a particular brand that have a particular attribute title

GET api/PartNodes?brandNodeId={brandNodeId}&attributeTitleId={attributeTitleId}

Retrieves all part nodes within a particular brand that have a particular attribute title

GET api/PartNodes?brandNodeId={brandNodeId}&attributeTitleId={attributeTitleId}&count={count}

Counts the number of part nodes within a particular brand with a particular attribute title

PartNodesWithinIndex

The typical indexing structure for an entry is of the form 'Heading Node A -> Heading Node B -> Heading Node C -> Part Nodes'. This method will return the parts that are connected to 'Heading A' irrespective of B and C.

APIDescription
GET api/PartNodesWithinIndex/{id}?includeVariations={includeVariations}

Returns all part nodes that are connected to the node with a specific ID

GET api/PartNodesWithinIndex/{id}

Returns all part nodes that are connected to the node with a specific ID

GET api/PartNodesWithinIndex/{id}?page={page}&pageLimit={pageLimit}

Returns all part nodes that are connected to the node with a specific ID with pagination options

GET api/PartNodesWithinIndex/{id}?attributeTitleId={attributeTitleId}

Returns all part nodes that are connected to the node with a specific ID filtered by those that have a specific attribute title

PartNodesWithinIndexCount

The typical indexing structure for an entry is of the form 'Heading Node A -> Heading Node B -> Heading Node C -> Part Nodes'. This method will count the number of parts that are connected to 'Heading A' irrespective of B and C.

APIDescription
GET api/PartNodesWithinIndexCount/{id}

Gets the total number of part nodes that are connected to an arbitrary index

PartsModified

Finds all parts modified since a particular date

APIDescription
GET api/PartsModified?brandNodeId={brandNodeId}&fromDate={fromDate}

Gets all parts modified since a particular date. This checks the DateModified property on the parts themselves and also the DateModified of any attributes.

This API method is responsible for searching the Electrika data. Certain pre-defined fields are indexed (usually the 'Description' and 'Text1' fields), and the search will return the parts matching those fields. The part number itself, and also the manufacturer name are indexed also - so searching for 'Legrand' will return all Legrand parts.

APIDescription
GET api/Search?searchTerm={searchTerm}&hitLimit={hitLimit}&page={page}

Search all parts across all brand nodes.

GET api/Search?searchTerm={searchTerm}&brandNodeId={brandNodeId}&hitLimit={hitLimit}&page={page}

Search parts within a specific brand

GET api/Search?searchTerm={searchTerm}&brandNodeId={brandNodeId}

Search parts within a specific brand. Returns top 50 most relevant results.

GET api/Search?searchTerm={searchTerm}

Search parts across all brands. Returns top 50 most relevant results.

POST api/Search

Retrieves a list of list of nodes with below the given heading node that fufil the parameter attributes given

SearchByFacet

APIDescription
GET api/SearchByFacet?searchTerm={searchTerm}

No documentation available.

SearchHits

APIDescription
GET api/SearchHits?searchTerm={searchTerm}&brandNodeId={brandNodeId}

No documentation available.

GET api/SearchHits?searchTerm={searchTerm}

No documentation available.

SearchNodes

API methods for searching the list of nodes, to return parts or headings that match the specified search criteria

APIDescription
GET api/SearchNodes?name={name}&nodeType={nodeType}&brandNode={brandNode}&exactMatch={exactMatch}

Retrieves a list of list of nodes with a name that matches the search string within the given brand node.

UniqueHeadings

Nodes can have various different NodeTypes. This looks specifically for nodes with NodeType 'Heading' and finds all the unique node names for those nodes.

APIDescription
GET api/UniqueHeadings?brandNodeId={brandNodeId}

Gets all the unique heading names within a particular brand

GET api/UniqueHeadings?brandNodeId={brandNodeId}&headingName={headingName}

Gets all of the heading nodes within a particular brand that have a particular heading name

UniqueNodeAttributeTitles

APIDescription
GET api/unique/nodeattributetitles

Gets a list of all the possible unique Node Attribute Titles across all Node Attributes