Retrieves a rule. Use to fetch detailed information for a rule referenced in the rules property of a Location object.
Authenticate with bearer you obtained from authentication endpoint.
Flatpeak tariff_id.
Example response
Unique rule ID.
"rle_69a59db12eb2b9a16312541d"
Flatpeak object type. I.e. rule.
"rule"
Flatpeak Location ID this tariff is associated with.
"loc_641b90b758fb8e6293716e40"
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
This indicates that the tariff is linked to an external data source and is automatically updated from this source. Such as when it's linked to your customer's provider account or to a tariff in the Flatpeak tariffs library. This value is set automatically by Flatpeak and cannot be changed.
Represents tariff connection type. Set automatically by Flatpeak depending on how the tariff was created. Supported options are MANUAL, LIBRARY and DIRECT.
"MANUAL"
Status of the rule. Possible values are CONNECTED or ERROR.
"CONNECTED"
Indicates time when this tariff object was created.
"2023-05-05T05:37:27Z"
Flatpeak account ID.
"acc_661677911f2197045e6cf1b1"
Flatpeak ID of the provider this tariff belongs to.
"prv_63a6087272921ef075a8fd3e"
Rule object for CAPACITY_CHARGE