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": "2024-03-29",
    "Created": "2024-03-29"
  },
  "Location": {
    "ID": 1,
    "Description": "sample string 2"
  },
  "DatePurchased": "2024-03-29",
  "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": "2024-03-29",
  "DateField2": "2024-03-29",
  "DateField3": "2024-03-29",
  "ID": 11
}