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

{"building_id":1,"created_at":"2013-07-25T20:05:52Z","id":1,"lamp_type_id":1,"lamp_wattage":60,"mounting_type_id":1,"name","Fixture 1","number_of_lamps":20,"updated_at":"2013-07-25T20:05:52Z"}
<fixture>
<building-id type="integer">11</building-id>
<created-at type="datetime">2013-06-28T22:00:38Z</created-at>
<id type="integer">20</id>
<lamp-type-id type="integer">1</lamp-type-id>
<lamp-wattage type="integer">60</lamp-wattage>
<mounting-type-id type="integer">1</mounting-type-id>
<name type="string">fixture1</name>
<number-of-lamps type="integer">1</number-of-lamps>
<updated-at type="datetime">2013-06-28T22:00:38Z</updated-at>
</fixture>