POST api/WorkRequests/deletematerial
Request Information
URI Parameters
None.
Body Parameters
MobileWorkRequestMaterial| Name | Description | Type | Additional information | 
|---|---|---|---|
| ID | integer | 
                             None.  | 
                |
| ItemID | integer | 
                             None.  | 
                |
| WrID | integer | 
                             None.  | 
                |
| WarehouseID | integer | 
                             None.  | 
                |
| MaterialDate | string | 
                             None.  | 
                |
| Quantity | integer | 
                             None.  | 
                |
| UnitPrice | decimal number | 
                             None.  | 
                |
| Comments | string | 
                             None.  | 
                |
| WarehouseDescription | string | 
                             None.  | 
                |
| StockNo | string | 
                             None.  | 
                |
| StockDescription | string | 
                             None.  | 
                |
| MaterialTypeID | integer | 
                             None.  | 
                |
| AccountID | integer | 
                             None.  | 
                |
| IsActive | boolean | 
                             None.  | 
                |
| UserName | string | 
                             None.  | 
                |
| LastChanged | date | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "ID": 1,
  "ItemID": 1,
  "WrID": 2,
  "WarehouseID": 1,
  "MaterialDate": "sample string 3",
  "Quantity": 4,
  "UnitPrice": 1.0,
  "Comments": "sample string 5",
  "WarehouseDescription": "sample string 6",
  "StockNo": "sample string 7",
  "StockDescription": "sample string 8",
  "MaterialTypeID": 9,
  "AccountID": 10,
  "IsActive": true,
  "UserName": "sample string 12",
  "LastChanged": "2025-11-04T03:47:23.4434032Z"
}
        application/xml, text/xml
            Sample:
        <MobileWorkRequestMaterial xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models"> <AccountID>10</AccountID> <Comments>sample string 5</Comments> <ID>1</ID> <IsActive>true</IsActive> <ItemID>1</ItemID> <LastChanged>2025-11-04T03:47:23.4434032+00:00</LastChanged> <MaterialDate>sample string 3</MaterialDate> <MaterialTypeID>9</MaterialTypeID> <Quantity>4</Quantity> <StockDescription>sample string 8</StockDescription> <StockNo>sample string 7</StockNo> <UnitPrice>1</UnitPrice> <UserName>sample string 12</UserName> <WarehouseDescription>sample string 6</WarehouseDescription> <WarehouseID>1</WarehouseID> <WrID>2</WrID> </MobileWorkRequestMaterial>
application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
            Sample:
        1
application/xml, text/xml
            Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>