GET api/Boiler/Models?manufacture={manufacture}&q={q}

Gets a list of boiler models for the specified manufacturer, optionally filtered by the specified search query.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
manufacture

The manufacturer to get the models for.

string

Required

q

The search string (query).

string

None.

Body Parameters

None.

Response Information

Resource Description

The list of models for the specified brand.

Collection of ModelModel
NameDescriptionTypeAdditional information
Count

integer

None.

Model

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Count": 1,
    "Model": "sample string 2"
  },
  {
    "Count": 1,
    "Model": "sample string 2"
  }
]

text/xml

Sample:
<ArrayOfModelModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FGO.Services.Models.Boiler">
  <ModelModel>
    <Count>1</Count>
    <Model>sample string 2</Model>
  </ModelModel>
  <ModelModel>
    <Count>1</Count>
    <Model>sample string 2</Model>
  </ModelModel>
</ArrayOfModelModel>