GET api/AssetMaster/Get/All

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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"
    }
  },
  {
    "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:
<ArrayOfAssetMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <AssetMaster>
    <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>
  <AssetMaster>
    <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>
</ArrayOfAssetMaster>