Get plant detail
post
Here provide exactly query criteria of either stationId or stationName to obtain station detail information.
Required scopes
This endpoint requires the following scopes:
- : all privileges
- : all privileges
Authorizations
OAuth2clientCredentialsRequired
Token URL:
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Body
stationIdstringRequiredExample:
Station id
ST22****77FVstationNamestringOptionalExample:
Station name
HenryResponses
200
Operation was successful
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
404
Device Does Not Exist
application/json
default
Internal error
application/json
post
/v1/station/detailPOST /portal/v1/station/detail HTTP/1.1
Host: idaas-sandbox.hanchuess.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"stationId": "ST22****77FV",
"stationName": "Henry"
}{
"errno": 200,
"msg": "The operation has been successful",
"data": {
"stationId": "ST221****677FV",
"stationName": "Henry ***",
"timezone": "Europe/London",
"country": "Åland",
"city": "Greater London",
"address": "City of Westminster",
"zipcode": "W1G ***",
"capacity": 30.72,
"createAt": 16708966660031,
"installer": {
"name": "jocher",
"email": "jocher@***",
"phone": 88888888
},
"user": {
"name": "machiel ***",
"email": "machiel@***",
"phone": 88888888
}
}
}Last updated