Click or drag to resize

ServiceRouterDeleteLaborLevelDetail Method

Deletes a list of labor-list-details by its IDList and returns a list of DeleteResult status structures

Namespace: AppOne.Services.V2
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public DeleteLaborLevelDetailOut DeleteLaborLevelDetail(
	DeleteLaborLevelDetailIn input
)

Parameters

input  DeleteLaborLevelDetailIn
A new DeleteLaborLevelDetailIn object

Return Value

DeleteLaborLevelDetailOut
A list of DeleteResult status structures
Remarks
Deletes a list of labor-list-details by its IDList and returns a list of DeleteResult status structures.
The structures give a status for each of the IDList passed in.

Note  Note
If a GetLaborLevelDetailModel has been assigned anywhere in the system then that GetLaborLevelDetailModel can not be physically removed. The labor level detail item is flagged as deleted in the system. This can be detected by looking for the IsDeleted property.
Example
JSON Request
{
    "AuthToken":${#Project#Project_Token},
    "IDList":[932750, 23949]
}
JSON Response
{
   "Report":    {
      "APIVersion": "2.0",
      "ProcessTime": "0.4483282",
      "RequestTime": "/Date(1501107347609-0700)/",
      "ResponseTime": "/Date(1501107348057-0700)/",
      "Results": 2
   },
   "Results":    [
            {
         "ID": 932750,
         "IsDeleted": false,
         "Message": "Labor Level Detail not found: 932750",
         "Status": 2
      },
            {
         "ID": 23949,
         "IsDeleted": true,
         "Message": "Labor Level Detail successfully deleted",
         "Status": 0
      }
   ]
}
See Also