POST api/AssetDisposal/Delete

Request Information

URI Parameters

None.

Body Parameters

AssetDisposal
NameDescriptionTypeAdditional information
AssetDisposalId

integer

None.

AssetId

integer

None.

ApprovalNo

string

None.

ApprovalDate

string

None.

ValueRetrived

string

None.

ApprovedBy

string

None.

Remarks

string

None.

Asset

AssetMaster

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetDisposalId": 1,
  "AssetId": 2,
  "ApprovalNo": "sample string 3",
  "ApprovalDate": "sample string 4",
  "ValueRetrived": "sample string 5",
  "ApprovedBy": "sample string 6",
  "Remarks": "sample string 7",
  "Asset": {
    "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:
<AssetDisposal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <ApprovalDate>sample string 4</ApprovalDate>
  <ApprovalNo>sample string 3</ApprovalNo>
  <ApprovedBy>sample string 6</ApprovedBy>
  <Asset>
    <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>
  </Asset>
  <AssetDisposalId>1</AssetDisposalId>
  <AssetId>2</AssetId>
  <Remarks>sample string 7</Remarks>
  <ValueRetrived>sample string 5</ValueRetrived>
</AssetDisposal>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AssetDisposal'.

Response Information

Resource Description

None.