GET api/AssetMaster/Get/Asset?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

AssetMaster
NameDescriptionTypeAdditional information
AssetId

integer

None.

Name

string

None.

Type

string

None.

Specification

string

None.

SerialNo

string

None.

ModelNo

string

None.

DateOfPurchase

string

None.

PurchaseInvoiceNo

string

None.

PurchaseCost

string

None.

LocationId

integer

None.

Accessories

string

None.

CurrentStatusId

integer

None.

AssignedEmployee

string

None.

ApprovedBy

string

None.

Remarks

string

None.

Location

LocationMaster

None.

CurrentStatus

CurrentStatusMaster

None.

Response Formats

application/json, text/json

Sample:
{
  "AssetId": 1,
  "Name": "sample string 2",
  "Type": "sample string 3",
  "Specification": "sample string 4",
  "SerialNo": "sample string 5",
  "ModelNo": "sample string 6",
  "DateOfPurchase": "sample string 7",
  "PurchaseInvoiceNo": "sample string 8",
  "PurchaseCost": "sample string 9",
  "LocationId": 10,
  "Accessories": "sample string 11",
  "CurrentStatusId": 12,
  "AssignedEmployee": "sample string 13",
  "ApprovedBy": "sample string 14",
  "Remarks": "sample string 15",
  "Location": {
    "LocationId": 1,
    "Name": "sample string 2",
    "OfficeName": "sample string 3",
    "Floor": "sample string 4",
    "Room": "sample string 5"
  },
  "CurrentStatus": {
    "CurrentStatusId": 1,
    "Value": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<AssetMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <Accessories>sample string 11</Accessories>
  <ApprovedBy>sample string 14</ApprovedBy>
  <AssetId>1</AssetId>
  <AssignedEmployee>sample string 13</AssignedEmployee>
  <CurrentStatus>
    <CurrentStatusId>1</CurrentStatusId>
    <Value>sample string 2</Value>
  </CurrentStatus>
  <CurrentStatusId>12</CurrentStatusId>
  <DateOfPurchase>sample string 7</DateOfPurchase>
  <Location>
    <Floor>sample string 4</Floor>
    <LocationId>1</LocationId>
    <Name>sample string 2</Name>
    <OfficeName>sample string 3</OfficeName>
    <Room>sample string 5</Room>
  </Location>
  <LocationId>10</LocationId>
  <ModelNo>sample string 6</ModelNo>
  <Name>sample string 2</Name>
  <PurchaseCost>sample string 9</PurchaseCost>
  <PurchaseInvoiceNo>sample string 8</PurchaseInvoiceNo>
  <Remarks>sample string 15</Remarks>
  <SerialNo>sample string 5</SerialNo>
  <Specification>sample string 4</Specification>
  <Type>sample string 3</Type>
</AssetMaster>