Default Method
The default method allows you to access your account default settings.
Base Url
GET http://www.reefware.com/api/request/v1/default
Response
{
id: [default_id],
time: [default_time_zone],
electricity: [electricity_rate],
water: [water_rate],
updated: [last_date_updated]
}
Data Options
id
optional
- 'id' will return the default settings id.
- The default settings id is unique and specific to your account.
- This option will result in a returned number.
time
optional
- 'time' will return the default timezone for your account.
- The number returned will correlate with the GMT timezone.
- This option will result in a returned number.
electricity
optional
- 'electricity' will return the rate you have stored as your default electricity rate.
- This option will result in a returned number.
water
optional
- 'water' will return the rate you have stored as your default water rate.
- This option will result in a returned number.
updated
optional
- 'updated' will return the date the default settings were last updated.
- This option will return as a date timestamp.
- When an option is changed this option will automatically be updated to the current date and time.
Example Request
GEThttp://www.reefware.com/api/request/v1/default/data/time.electricity.water
Response
- [
- [
- {
- "time": -5,
- "electricity": 0.06138200,
- "water": 0.05940300
- }
- ]
- ]