Manufacturer Finder

ManufacturerFinder

ManufacturerFinder Objects

class ManufacturerFinder()

This class allow make get request to hardware manufacturers resource into Opengate North API.

constructor
function constructor()

Constructor

Arguments:

  • Reference InternalOpenGateAPI - to the API object.

findAll
function findAll() -> 'Promise'

Download a specific manufacturer by its id. This execute a GET http method

Returns:

  • Promise

findById
function findById(identifier: string) -> 'Promise'

Download a specific manufacturer by its id. This execute a GET http method

Arguments:

  • identifier string - manufacturer identifier .

Returns:

  • Promise

findMediaById
function findMediaById(manufacturerId: string,mediaIdentifier: string) -> 'Promise'

Download a specific manufacturer media by its ids. This execute a GET http method

Arguments:

  • manufacturerId string - manufacturer identifier .
  • mediaIdentifier string - media identifier.

Returns:

  • Promise

findMedias
function findMedias(manufacturerId: string) -> 'Promise'

Download manufacturer medias. This execute a GET http method

Arguments:

  • manufacturerId string - manufacturer identifier .

Returns:

  • Promise