GET /api/models
Alle Hardwaremodelle auflisten

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

search
optional

Ergebnisse filtern

Validations:

  • Must be a String

order
optional

Feld und Reihenfolge sortieren, z.B. 'id DESC'

Validations:

  • Must be a String

page
optional

Seitennummer, beginnend bei 1

Validations:

  • Must be a number.

per_page
optional

Anzahl der angezeigten Ergebnisse pro Seite

Validations:

  • Must be a number.

Suchfelder

Feld Name Typ Mögliche Werte
hardware_model
info
name
vendor_class

GET /api/models/:id
Hardwaremodell anzeigen

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
verpflichtend

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/models
Hardwaremodell erstellen

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

model
verpflichtend

Validations:

  • Must be a Hash

model[name]
verpflichtend

Validations:

  • Must be a String

model[info]
optional , nil erlaubt

Validations:

  • Must be a String

model[vendor_class]
optional , nil erlaubt

Validations:

  • Must be a String

model[hardware_model]
optional , nil erlaubt

Validations:

  • Must be a String


PUT /api/models/:id
Hardwaremodell aktualisieren

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
verpflichtend

Validations:

  • Must be a String

model
verpflichtend

Validations:

  • Must be a Hash

model[name]
optional

Validations:

  • Must be a String

model[info]
optional , nil erlaubt

Validations:

  • Must be a String

model[vendor_class]
optional , nil erlaubt

Validations:

  • Must be a String

model[hardware_model]
optional , nil erlaubt

Validations:

  • Must be a String


DELETE /api/models/:id
Hardwaremodell löschen

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
verpflichtend

Validations:

  • Must be a String