GET api/AssetMaster/Get/Columns

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

DataTablesViewModelOfAssetMasterViewModel
NameDescriptionTypeAdditional information
columns

Collection of Column

None.

data

Collection of AssetMasterViewModel

None.

iTotalRecords

integer

None.

iTotalDisplayRecords

integer

None.

sEcho

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "columns": null,
  "data": [
    {
      "Asset_Id": 1,
      "Asset_Name": "sample string 2",
      "Asset_Type": "sample string 3",
      "Asset_Specification": "sample string 4",
      "Serial_No": "sample string 5",
      "Model_No": "sample string 6",
      "Date_Of_Purchase": "sample string 7",
      "Purchase_Invoice_No": "sample string 8",
      "Purchase_Cost": "sample string 9",
      "Current_Location": "sample string 10",
      "Accessories": "sample string 11",
      "Current_Status": "sample string 12",
      "Assigned_Employee": "sample string 13",
      "Approved_By": "sample string 14",
      "Remarks": "sample string 15"
    },
    {
      "Asset_Id": 1,
      "Asset_Name": "sample string 2",
      "Asset_Type": "sample string 3",
      "Asset_Specification": "sample string 4",
      "Serial_No": "sample string 5",
      "Model_No": "sample string 6",
      "Date_Of_Purchase": "sample string 7",
      "Purchase_Invoice_No": "sample string 8",
      "Purchase_Cost": "sample string 9",
      "Current_Location": "sample string 10",
      "Accessories": "sample string 11",
      "Current_Status": "sample string 12",
      "Assigned_Employee": "sample string 13",
      "Approved_By": "sample string 14",
      "Remarks": "sample string 15"
    }
  ],
  "iTotalRecords": 1,
  "iTotalDisplayRecords": 2,
  "sEcho": 3
}

application/xml, text/xml

Sample:
<DataTablesViewModelOfAssetMasterViewModel3_PRQ4ymg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.ViewModel.Grid">
  <columns xmlns:d2p1="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.ViewModel.Grid.DataTables" i:nil="true" />
  <data>
    <AssetMasterViewModel>
      <Accessories>sample string 11</Accessories>
      <Approved_By>sample string 14</Approved_By>
      <Asset_Id>1</Asset_Id>
      <Asset_Name>sample string 2</Asset_Name>
      <Asset_Specification>sample string 4</Asset_Specification>
      <Asset_Type>sample string 3</Asset_Type>
      <Assigned_Employee>sample string 13</Assigned_Employee>
      <Current_Location>sample string 10</Current_Location>
      <Current_Status>sample string 12</Current_Status>
      <Date_Of_Purchase>sample string 7</Date_Of_Purchase>
      <Model_No>sample string 6</Model_No>
      <Purchase_Cost>sample string 9</Purchase_Cost>
      <Purchase_Invoice_No>sample string 8</Purchase_Invoice_No>
      <Remarks>sample string 15</Remarks>
      <Serial_No>sample string 5</Serial_No>
    </AssetMasterViewModel>
    <AssetMasterViewModel>
      <Accessories>sample string 11</Accessories>
      <Approved_By>sample string 14</Approved_By>
      <Asset_Id>1</Asset_Id>
      <Asset_Name>sample string 2</Asset_Name>
      <Asset_Specification>sample string 4</Asset_Specification>
      <Asset_Type>sample string 3</Asset_Type>
      <Assigned_Employee>sample string 13</Assigned_Employee>
      <Current_Location>sample string 10</Current_Location>
      <Current_Status>sample string 12</Current_Status>
      <Date_Of_Purchase>sample string 7</Date_Of_Purchase>
      <Model_No>sample string 6</Model_No>
      <Purchase_Cost>sample string 9</Purchase_Cost>
      <Purchase_Invoice_No>sample string 8</Purchase_Invoice_No>
      <Remarks>sample string 15</Remarks>
      <Serial_No>sample string 5</Serial_No>
    </AssetMasterViewModel>
  </data>
  <iTotalDisplayRecords>2</iTotalDisplayRecords>
  <iTotalRecords>1</iTotalRecords>
  <sEcho>3</sEcho>
</DataTablesViewModelOfAssetMasterViewModel3_PRQ4ymg>