Get battery storages
Path: /dictionaries/battery_storages.json
Example: https://www.greendeal.com.au/rapi/v1/dictionaries/battery_storages.json
HTTP Method: GET
Request Parameter
Parameter | Type | Is Required? | Description | Example |
brand_id | Int | No | When brand_id not provided, default returns records for all brand | 253 |
series | String | No | SMILE |
Response
Parameter | Type | Description |
brand_id | Int | |
text | String | battery manufacturer(e.g:Alpha ESS Co Ltd) |
id | String | model number of battery(eg:SMILE-BAT-8.2 PH VI) |
name | String | battery series(eg:SMILE) |
Request One Example
{
"client_id": "23565656e63f33016ad7f4f338a6f70be78c136addbbb9c803d09756c6ee93f1",
"signature": "2dc1b977b376a2fd26bf05c1f15da59b",
"timestamp": "2019-08-02T10:31:50+11:00",
"brand_id": 3433
}
Response One Example
{
"message": "success",
"code": 200,
"response": {
"body": {
"id":"SMILE-BAT-8.2 PH VI",
"text":"Alpha ESS Co Ltd",
"name":"SMILE",
"brand_id":3433
}
}
}
Request All Example
{
"client_id": "23565656e63f33016ad7f4f338a6f70be78c136addbbb9c803d09756c6ee93f1",
"signature": "2dc1b977b376a2fd26bf05c1f15da59b",
"timestamp": "2019-08-02T10:31:50+11:00"
}
Response All Example
{
"message": "success",
"code": 200,
"response": {
"body": [
...
{
"id":"SMILE-BAT-8.2 PH VI",
"text":"Alpha ESS Co Ltd",
"name":"SMILE",
"brand_id":3433
},
...
]
}
}