Supported Formats

json, xml

Errors

Code Description
401 Unauthorized - ensure token is being passed with each service call.
404 Unsupported operation
500 Unspecified error on server.

Examples

{"name":"Fixture 1","mounting_type_id":1,"lamp_type_id":1,"number_of_lamps":10,"lamp_wattage":60}
<fixture>
  <name type="string">Fixture 4</name>
  <mounting-type-id type="integer">1</mounting-type-id>
  <lamp-type-id type="integer">1</lamp-type-id>
  <number-of-lamps type="integer">10</number-of-lamps>
  <lamp-wattage type="integer">60</lamp-wattage>
</fixture>

Params

Param name Description
mounting_type_id
required

Mounting Type ID. Must be greater than or equal to 0

Validations:

  • Must be a Integer

lamp_type_id
required

Lamp Type ID. Specifies type of Lamp to create. Must be greater than or equal to 0

Validations:

  • Must be a Integer

lamp_wattage
required

Lamp Wattage. Must be less than 1500

Validations:

  • Must be a Integer

number_of_lamps
required

Number of Lamps in Fixture. Must be between 1-12

Validations:

  • Must be a Integer