GET api/assets/{participantId}/devices/{type}

Gets the participant devices.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
participantId

The participant identifier.

integer

Required

type

The type.

SmartHomeDeviceType

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SimpleAsset
NameDescriptionTypeAdditional information
Id

integer

None.

AssetGuid

string

None.

Name

string

None.

Description

string

None.

Note

string

None.

Location

Location

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "AssetGuid": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Note": "sample string 5",
    "Location": {
      "$id": "2",
      "Latitude": 1.1,
      "Longitude": 1.1
    }
  },
  {
    "$ref": "1"
  }
]

text/html

Sample:
[{"$id":"1","Id":1,"AssetGuid":"sample string 2","Name":"sample string 3","Description":"sample string 4","Note":"sample string 5","Location":{"$id":"2","Latitude":1.1,"Longitude":1.1}},{"$ref":"1"}]