Get supported attributes

Get supported attributes for specified device types.

Request Format

METHOD {URI-scheme}://{apigw-address}/solar-api/{version}/mdmService/getSupportedAttributes

Request Parameter

Name Location Required Datatype Description
type Query true String device type, see device list on Solar API overview for details
token Query false String token, required when user account calls Solar API
orgId Query false String orgnization Id, required when service account calls Solar API
language Query false String language, Chinese: zh-CN, English: en-US, default as en-US

Response Parameters

Name Datatype Description
description String description
attribute String attribute name
units String units
type String data type

Error Codes

See Common response code.

Example

Request Example

GET
https://{apigw-address}/solar-api/v1.0/mdmService/getSupportedAttributes?type=102&token=APP_PORTAL_S_P3HKyz7Qpk7FUwSxxxxxxxv3M86n4ZZ

Response Example

{
    "data": [
        {
            "description": "Commissioning Date",
            "attribute": "operativeDate",
            "units": "--",
            "type": "date"
        },
        {
            "description": "Onboarding Date",
            "attribute": "etlDate",
            "units": "--",
            "type": "date"
        },
        {
            "description": "objectTypeID",
            "attribute": "objectTypeID",
            "units": "--",
            "type": "string"
        },
        {
            "description": "Unit Price",
            "attribute": "correctedPrice",
            "units": "--",
            "type": "Double"
        },
        {
            "description": "Latitude",
            "attribute": "latitude",
            "units": "--",
            "type": "Double"
        },
        {
            "description": "Name",
            "attribute": "name",
            "units": "--",
            "type": "String"
        },
        {
            "description": "Currency",
            "attribute": "currency",
            "units": "--",
            "type": "String"
        },
        {
            "description": "Capacity",
            "attribute": "capacity",
            "units": "MWp",
            "type": "Double"
        },
        {
            "description": "Longitude",
            "attribute": "longitude",
            "units": "--",
            "type": "Double"
        }
    ],
    "status": 0,
    "msg": "success"
}