BPAPI Methods

Example details for BPAPI method Device/Property

Example details for Device/Property

Syntax variant 1 (preferred REST-format): Device/{id}/Property/{name}/{field}/

Syntax variant 2 (traditional query-string): Device//Property?id={id}&name={name}&field={field}


Examples of data returned

DataComment
data.Data.scalar_result 

Gets only unit (like W or kWh) of property switch_state


GET, syntax 1 (preferred REST-format):
Device/55379/Property/switch_state/unit/


GET, syntax 2 (traditional query-string):
Device//Property?id=55379&name=switch_state&field=unit






Documentation and tests automatically generated from source-code 2025-12-06 05:04