GET api/assets/types/{type}

Gets the assets.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

The type.

AssetTypes

Required

Body Parameters

None.

Response Information

Resource Description

List of SimpleAsset

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"}]