GET AssetsAPI/GetAssets

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Assets
NameDescriptionTypeAdditional information
AssetID

integer

None.

AssetDescription

string

None.

AssetTitle

string

None.

Barcode

string

None.

AssetTypeID

integer

None.

DateAdded

date

None.

DateAddedStr

string

None.

InStock

integer

None.

LoanFee

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AssetID": 1,
    "AssetDescription": "sample string 2",
    "AssetTitle": "sample string 3",
    "Barcode": "sample string 4",
    "AssetTypeID": 5,
    "DateAdded": "2021-01-23T06:47:08.6885995+00:00",
    "DateAddedStr": "sample string 7",
    "InStock": 8,
    "LoanFee": 9.0
  },
  {
    "AssetID": 1,
    "AssetDescription": "sample string 2",
    "AssetTitle": "sample string 3",
    "Barcode": "sample string 4",
    "AssetTypeID": 5,
    "DateAdded": "2021-01-23T06:47:08.6885995+00:00",
    "DateAddedStr": "sample string 7",
    "InStock": 8,
    "LoanFee": 9.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfAssets xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <Assets>
    <AssetDescription>sample string 2</AssetDescription>
    <AssetID>1</AssetID>
    <AssetTitle>sample string 3</AssetTitle>
    <AssetTypeID>5</AssetTypeID>
    <Barcode>sample string 4</Barcode>
    <DateAdded>2021-01-23T06:47:08.6885995+00:00</DateAdded>
    <DateAddedStr>sample string 7</DateAddedStr>
    <InStock>8</InStock>
    <LoanFee>9</LoanFee>
  </Assets>
  <Assets>
    <AssetDescription>sample string 2</AssetDescription>
    <AssetID>1</AssetID>
    <AssetTitle>sample string 3</AssetTitle>
    <AssetTypeID>5</AssetTypeID>
    <Barcode>sample string 4</Barcode>
    <DateAdded>2021-01-23T06:47:08.6885995+00:00</DateAdded>
    <DateAddedStr>sample string 7</DateAddedStr>
    <InStock>8</InStock>
    <LoanFee>9</LoanFee>
  </Assets>
</ArrayOfAssets>