POST api/WorkRequests/deleteworkrequest
Request Information
URI Parameters
None.
Body Parameters
Collection of MobileWorkRequestUpdateName | Description | Type | Additional information |
---|---|---|---|
WrID | integer |
None. |
|
RequestNumber | string |
None. |
|
RequestDate | string |
None. |
|
CostCenterID | integer |
None. |
|
PriorityID | integer |
None. |
|
WrTypeID | integer |
None. |
|
Description | string |
None. |
|
EnDescription | string |
None. |
|
ServiceTypeID | integer |
None. |
|
EmployeeID | integer |
None. |
|
ProblemID | integer |
None. |
|
StatusID | integer |
None. |
|
BuildingID | integer |
None. |
|
Area | string |
None. |
|
Floor | string |
None. |
|
Room | string |
None. |
|
ShopID | integer |
None. |
|
TeamID | integer |
None. |
|
Contact | string |
None. |
|
ContactPhone | string |
None. |
|
ContactEmail | string |
None. |
|
SelfIdentified | boolean |
None. |
|
AccountID | integer |
None. |
|
StatusDate | string |
None. |
|
SubType | string |
None. |
|
UserName | string |
None. |
|
SubTypeID | integer |
None. |
|
MaterialCost | decimal number |
None. |
|
MaterialNotes | string |
None. |
|
SpaceID | integer |
None. |
|
AssetID | integer |
None. |
|
AssetNumber | string |
None. |
|
Statuses | Collection of MobileWorkRequestStatusUpdate |
None. |
|
AssetTexts | Collection of MobileAssetText |
None. |
|
AssetNotes | Collection of AssetNote |
None. |
|
Materials | Collection of MobileWorkRequestMaterial |
None. |
Request Formats
application/json, text/json
Sample:
[ { "WrID": 1, "RequestNumber": "sample string 2", "RequestDate": "sample string 3", "CostCenterID": 1, "PriorityID": 1, "WrTypeID": 4, "Description": "sample string 5", "EnDescription": "samplestring5", "ServiceTypeID": 6, "EmployeeID": 1, "ProblemID": 1, "StatusID": 7, "BuildingID": 8, "Area": "sample string 9", "Floor": "sample string 10", "Room": "sample string 11", "ShopID": 1, "TeamID": 1, "Contact": "sample string 12", "ContactPhone": "sample string 13", "ContactEmail": "sample string 14", "SelfIdentified": true, "AccountID": 16, "StatusDate": "sample string 17", "SubType": "sample string 18", "UserName": "sample string 19", "SubTypeID": 1, "MaterialCost": 1.0, "MaterialNotes": "sample string 20", "SpaceID": 1, "AssetID": 1, "AssetNumber": "sample string 21", "Statuses": [ { "WRStatusID": 1, "WRID": 2, "StatusDate": "sample string 3", "ServiceTypeID": 1, "StatusID": 4, "RepairID": 1, "EmployeeID": 1, "RegularMinutes": 1.0, "OvertimeMinutes": 1.0, "TravelMinutes": 1.0, "Regular1WagePremiumID": 1, "Regular2WagePremiumID": 1, "Overtime1WagePremiumID": 1, "Overtime2WagePremiumID": 1, "Notes": "sample string 5", "UserName": "sample string 6" }, { "WRStatusID": 1, "WRID": 2, "StatusDate": "sample string 3", "ServiceTypeID": 1, "StatusID": 4, "RepairID": 1, "EmployeeID": 1, "RegularMinutes": 1.0, "OvertimeMinutes": 1.0, "TravelMinutes": 1.0, "Regular1WagePremiumID": 1, "Regular2WagePremiumID": 1, "Overtime1WagePremiumID": 1, "Overtime2WagePremiumID": 1, "Notes": "sample string 5", "UserName": "sample string 6" } ], "AssetTexts": [ { "ID": 1, "Text": "sample string 2", "StepOrder": 3, "ManMinutes": 4, "Frequency": "sample string 5", "AccountID": 6, "WRTypeID": 7 }, { "ID": 1, "Text": "sample string 2", "StepOrder": 3, "ManMinutes": 4, "Frequency": "sample string 5", "AccountID": 6, "WRTypeID": 7 } ], "AssetNotes": [ { "ID": 1, "AssetID": 2, "Description": "sample string 3", "EnDescription": "samplestring3", "NoteDate": "2025-04-03T08:33:15.2895378Z", "WrID": 1, "UserName": "sample string 4", "LastChanged": "2025-04-03T08:33:15.2895378Z" }, { "ID": 1, "AssetID": 2, "Description": "sample string 3", "EnDescription": "samplestring3", "NoteDate": "2025-04-03T08:33:15.2895378Z", "WrID": 1, "UserName": "sample string 4", "LastChanged": "2025-04-03T08:33:15.2895378Z" } ], "Materials": [ { "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-04-03T08:33:15.2895378Z" }, { "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-04-03T08:33:15.2895378Z" } ] }, { "WrID": 1, "RequestNumber": "sample string 2", "RequestDate": "sample string 3", "CostCenterID": 1, "PriorityID": 1, "WrTypeID": 4, "Description": "sample string 5", "EnDescription": "samplestring5", "ServiceTypeID": 6, "EmployeeID": 1, "ProblemID": 1, "StatusID": 7, "BuildingID": 8, "Area": "sample string 9", "Floor": "sample string 10", "Room": "sample string 11", "ShopID": 1, "TeamID": 1, "Contact": "sample string 12", "ContactPhone": "sample string 13", "ContactEmail": "sample string 14", "SelfIdentified": true, "AccountID": 16, "StatusDate": "sample string 17", "SubType": "sample string 18", "UserName": "sample string 19", "SubTypeID": 1, "MaterialCost": 1.0, "MaterialNotes": "sample string 20", "SpaceID": 1, "AssetID": 1, "AssetNumber": "sample string 21", "Statuses": [ { "WRStatusID": 1, "WRID": 2, "StatusDate": "sample string 3", "ServiceTypeID": 1, "StatusID": 4, "RepairID": 1, "EmployeeID": 1, "RegularMinutes": 1.0, "OvertimeMinutes": 1.0, "TravelMinutes": 1.0, "Regular1WagePremiumID": 1, "Regular2WagePremiumID": 1, "Overtime1WagePremiumID": 1, "Overtime2WagePremiumID": 1, "Notes": "sample string 5", "UserName": "sample string 6" }, { "WRStatusID": 1, "WRID": 2, "StatusDate": "sample string 3", "ServiceTypeID": 1, "StatusID": 4, "RepairID": 1, "EmployeeID": 1, "RegularMinutes": 1.0, "OvertimeMinutes": 1.0, "TravelMinutes": 1.0, "Regular1WagePremiumID": 1, "Regular2WagePremiumID": 1, "Overtime1WagePremiumID": 1, "Overtime2WagePremiumID": 1, "Notes": "sample string 5", "UserName": "sample string 6" } ], "AssetTexts": [ { "ID": 1, "Text": "sample string 2", "StepOrder": 3, "ManMinutes": 4, "Frequency": "sample string 5", "AccountID": 6, "WRTypeID": 7 }, { "ID": 1, "Text": "sample string 2", "StepOrder": 3, "ManMinutes": 4, "Frequency": "sample string 5", "AccountID": 6, "WRTypeID": 7 } ], "AssetNotes": [ { "ID": 1, "AssetID": 2, "Description": "sample string 3", "EnDescription": "samplestring3", "NoteDate": "2025-04-03T08:33:15.2895378Z", "WrID": 1, "UserName": "sample string 4", "LastChanged": "2025-04-03T08:33:15.2895378Z" }, { "ID": 1, "AssetID": 2, "Description": "sample string 3", "EnDescription": "samplestring3", "NoteDate": "2025-04-03T08:33:15.2895378Z", "WrID": 1, "UserName": "sample string 4", "LastChanged": "2025-04-03T08:33:15.2895378Z" } ], "Materials": [ { "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-04-03T08:33:15.2895378Z" }, { "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-04-03T08:33:15.2895378Z" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfMobileWorkRequestUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models"> <MobileWorkRequestUpdate> <AccountID>16</AccountID> <Area>sample string 9</Area> <AssetID>1</AssetID> <AssetNotes> <AssetNote> <AssetID>2</AssetID> <Description>sample string 3</Description> <ID>1</ID> <LastChanged>2025-04-03T08:33:15.2895378+00:00</LastChanged> <NoteDate>2025-04-03T08:33:15.2895378+00:00</NoteDate> <UserName>sample string 4</UserName> <WrID>1</WrID> </AssetNote> <AssetNote> <AssetID>2</AssetID> <Description>sample string 3</Description> <ID>1</ID> <LastChanged>2025-04-03T08:33:15.2895378+00:00</LastChanged> <NoteDate>2025-04-03T08:33:15.2895378+00:00</NoteDate> <UserName>sample string 4</UserName> <WrID>1</WrID> </AssetNote> </AssetNotes> <AssetNumber>sample string 21</AssetNumber> <AssetTexts> <MobileAssetText> <AccountID>6</AccountID> <Frequency>sample string 5</Frequency> <ID>1</ID> <ManMinutes>4</ManMinutes> <StepOrder>3</StepOrder> <Text>sample string 2</Text> <WRTypeID>7</WRTypeID> </MobileAssetText> <MobileAssetText> <AccountID>6</AccountID> <Frequency>sample string 5</Frequency> <ID>1</ID> <ManMinutes>4</ManMinutes> <StepOrder>3</StepOrder> <Text>sample string 2</Text> <WRTypeID>7</WRTypeID> </MobileAssetText> </AssetTexts> <BuildingID>8</BuildingID> <Contact>sample string 12</Contact> <ContactEmail>sample string 14</ContactEmail> <ContactPhone>sample string 13</ContactPhone> <CostCenterID>1</CostCenterID> <Description>sample string 5</Description> <EmployeeID>1</EmployeeID> <Floor>sample string 10</Floor> <MaterialCost>1</MaterialCost> <MaterialNotes>sample string 20</MaterialNotes> <Materials> <MobileWorkRequestMaterial> <AccountID>10</AccountID> <Comments>sample string 5</Comments> <ID>1</ID> <IsActive>true</IsActive> <ItemID>1</ItemID> <LastChanged>2025-04-03T08:33:15.2895378+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> <MobileWorkRequestMaterial> <AccountID>10</AccountID> <Comments>sample string 5</Comments> <ID>1</ID> <IsActive>true</IsActive> <ItemID>1</ItemID> <LastChanged>2025-04-03T08:33:15.2895378+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> </Materials> <PriorityID>1</PriorityID> <ProblemID>1</ProblemID> <RequestDate>sample string 3</RequestDate> <RequestNumber>sample string 2</RequestNumber> <Room>sample string 11</Room> <SelfIdentified>true</SelfIdentified> <ServiceTypeID>6</ServiceTypeID> <ShopID>1</ShopID> <SpaceID>1</SpaceID> <StatusDate>sample string 17</StatusDate> <StatusID>7</StatusID> <Statuses> <MobileWorkRequestStatusUpdate> <EmployeeID>1</EmployeeID> <Notes>sample string 5</Notes> <Overtime1WagePremiumID>1</Overtime1WagePremiumID> <Overtime2WagePremiumID>1</Overtime2WagePremiumID> <OvertimeMinutes>1</OvertimeMinutes> <Regular1WagePremiumID>1</Regular1WagePremiumID> <Regular2WagePremiumID>1</Regular2WagePremiumID> <RegularMinutes>1</RegularMinutes> <RepairID>1</RepairID> <ServiceTypeID>1</ServiceTypeID> <StatusDate>sample string 3</StatusDate> <StatusID>4</StatusID> <TravelMinutes>1</TravelMinutes> <UserName>sample string 6</UserName> <WRID>2</WRID> <WRStatusID>1</WRStatusID> </MobileWorkRequestStatusUpdate> <MobileWorkRequestStatusUpdate> <EmployeeID>1</EmployeeID> <Notes>sample string 5</Notes> <Overtime1WagePremiumID>1</Overtime1WagePremiumID> <Overtime2WagePremiumID>1</Overtime2WagePremiumID> <OvertimeMinutes>1</OvertimeMinutes> <Regular1WagePremiumID>1</Regular1WagePremiumID> <Regular2WagePremiumID>1</Regular2WagePremiumID> <RegularMinutes>1</RegularMinutes> <RepairID>1</RepairID> <ServiceTypeID>1</ServiceTypeID> <StatusDate>sample string 3</StatusDate> <StatusID>4</StatusID> <TravelMinutes>1</TravelMinutes> <UserName>sample string 6</UserName> <WRID>2</WRID> <WRStatusID>1</WRStatusID> </MobileWorkRequestStatusUpdate> </Statuses> <SubType>sample string 18</SubType> <SubTypeID>1</SubTypeID> <TeamID>1</TeamID> <UserName>sample string 19</UserName> <WrID>1</WrID> <WrTypeID>4</WrTypeID> </MobileWorkRequestUpdate> <MobileWorkRequestUpdate> <AccountID>16</AccountID> <Area>sample string 9</Area> <AssetID>1</AssetID> <AssetNotes> <AssetNote> <AssetID>2</AssetID> <Description>sample string 3</Description> <ID>1</ID> <LastChanged>2025-04-03T08:33:15.2895378+00:00</LastChanged> <NoteDate>2025-04-03T08:33:15.2895378+00:00</NoteDate> <UserName>sample string 4</UserName> <WrID>1</WrID> </AssetNote> <AssetNote> <AssetID>2</AssetID> <Description>sample string 3</Description> <ID>1</ID> <LastChanged>2025-04-03T08:33:15.2895378+00:00</LastChanged> <NoteDate>2025-04-03T08:33:15.2895378+00:00</NoteDate> <UserName>sample string 4</UserName> <WrID>1</WrID> </AssetNote> </AssetNotes> <AssetNumber>sample string 21</AssetNumber> <AssetTexts> <MobileAssetText> <AccountID>6</AccountID> <Frequency>sample string 5</Frequency> <ID>1</ID> <ManMinutes>4</ManMinutes> <StepOrder>3</StepOrder> <Text>sample string 2</Text> <WRTypeID>7</WRTypeID> </MobileAssetText> <MobileAssetText> <AccountID>6</AccountID> <Frequency>sample string 5</Frequency> <ID>1</ID> <ManMinutes>4</ManMinutes> <StepOrder>3</StepOrder> <Text>sample string 2</Text> <WRTypeID>7</WRTypeID> </MobileAssetText> </AssetTexts> <BuildingID>8</BuildingID> <Contact>sample string 12</Contact> <ContactEmail>sample string 14</ContactEmail> <ContactPhone>sample string 13</ContactPhone> <CostCenterID>1</CostCenterID> <Description>sample string 5</Description> <EmployeeID>1</EmployeeID> <Floor>sample string 10</Floor> <MaterialCost>1</MaterialCost> <MaterialNotes>sample string 20</MaterialNotes> <Materials> <MobileWorkRequestMaterial> <AccountID>10</AccountID> <Comments>sample string 5</Comments> <ID>1</ID> <IsActive>true</IsActive> <ItemID>1</ItemID> <LastChanged>2025-04-03T08:33:15.2895378+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> <MobileWorkRequestMaterial> <AccountID>10</AccountID> <Comments>sample string 5</Comments> <ID>1</ID> <IsActive>true</IsActive> <ItemID>1</ItemID> <LastChanged>2025-04-03T08:33:15.2895378+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> </Materials> <PriorityID>1</PriorityID> <ProblemID>1</ProblemID> <RequestDate>sample string 3</RequestDate> <RequestNumber>sample string 2</RequestNumber> <Room>sample string 11</Room> <SelfIdentified>true</SelfIdentified> <ServiceTypeID>6</ServiceTypeID> <ShopID>1</ShopID> <SpaceID>1</SpaceID> <StatusDate>sample string 17</StatusDate> <StatusID>7</StatusID> <Statuses> <MobileWorkRequestStatusUpdate> <EmployeeID>1</EmployeeID> <Notes>sample string 5</Notes> <Overtime1WagePremiumID>1</Overtime1WagePremiumID> <Overtime2WagePremiumID>1</Overtime2WagePremiumID> <OvertimeMinutes>1</OvertimeMinutes> <Regular1WagePremiumID>1</Regular1WagePremiumID> <Regular2WagePremiumID>1</Regular2WagePremiumID> <RegularMinutes>1</RegularMinutes> <RepairID>1</RepairID> <ServiceTypeID>1</ServiceTypeID> <StatusDate>sample string 3</StatusDate> <StatusID>4</StatusID> <TravelMinutes>1</TravelMinutes> <UserName>sample string 6</UserName> <WRID>2</WRID> <WRStatusID>1</WRStatusID> </MobileWorkRequestStatusUpdate> <MobileWorkRequestStatusUpdate> <EmployeeID>1</EmployeeID> <Notes>sample string 5</Notes> <Overtime1WagePremiumID>1</Overtime1WagePremiumID> <Overtime2WagePremiumID>1</Overtime2WagePremiumID> <OvertimeMinutes>1</OvertimeMinutes> <Regular1WagePremiumID>1</Regular1WagePremiumID> <Regular2WagePremiumID>1</Regular2WagePremiumID> <RegularMinutes>1</RegularMinutes> <RepairID>1</RepairID> <ServiceTypeID>1</ServiceTypeID> <StatusDate>sample string 3</StatusDate> <StatusID>4</StatusID> <TravelMinutes>1</TravelMinutes> <UserName>sample string 6</UserName> <WRID>2</WRID> <WRStatusID>1</WRStatusID> </MobileWorkRequestStatusUpdate> </Statuses> <SubType>sample string 18</SubType> <SubTypeID>1</SubTypeID> <TeamID>1</TeamID> <UserName>sample string 19</UserName> <WrID>1</WrID> <WrTypeID>4</WrTypeID> </MobileWorkRequestUpdate> </ArrayOfMobileWorkRequestUpdate>
application/x-www-form-urlencoded
Sample:
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>