GET Asset/Get/{id}

Retrieves a specific Asset.

Request Information

URI Parameters

NameTypeAdditional informationDescription
id integer

Required

The id of the Asset.

Body Parameters

None.

Response Information

Resource Description

Asset
NameTypeAdditional informationDescription
ID integer

None.

Description string

Required

String length: inclusive between 0 and 500

Category Asset Category

None.

Location Asset Location

None.

DatePurchased date

None.

SerialNumber string

String length: inclusive between 0 and 100

BoughtFrom string

String length: inclusive between 0 and 100

PurchasePrice nullable decimal

None.

CurrentValue nullable decimal

None.

ReplacementValue nullable decimal

None.

TextField1 string

None.

TextField2 string

None.

TextField3 string

None.

NumericField1 nullable decimal

None.

NumericField2 nullable decimal

None.

NumericField3 nullable decimal

None.

YesNoField1 bool

None.

YesNoField2 bool

None.

YesNoField3 bool

None.

DateField1 nullable date

None.

DateField2 nullable date

None.

DateField3 nullable date

None.

Response Formats

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "Category": {
    "Description": "sample string 1",
    "ID": 2,
    "Modified": "2021-10-16",
    "Created": "2021-10-16"
  },
  "Location": {
    "ID": 1,
    "Description": "sample string 2"
  },
  "DatePurchased": "2021-10-16",
  "SerialNumber": "sample string 3",
  "BoughtFrom": "sample string 4",
  "PurchasePrice": 1.0,
  "CurrentValue": 1.0,
  "ReplacementValue": 1.0,
  "TextField1": "sample string 5",
  "TextField2": "sample string 6",
  "TextField3": "sample string 7",
  "NumericField1": 1.0,
  "NumericField2": 1.0,
  "NumericField3": 1.0,
  "YesNoField1": true,
  "YesNoField2": true,
  "YesNoField3": true,
  "DateField1": "2021-10-16",
  "DateField2": "2021-10-16",
  "DateField3": "2021-10-16",
  "ID": 11
}