| ServiceRouterDeleteUserPayAdjust Method |  | 
                Deletes a list of user pay adjustments by its 
IDList and returns a list of 
DeleteResult status structures 
            
 AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
 Syntax
Syntax Remarks
Remarks
                Deletes a list of user pay adjustments by its 
IDList and returns a list of 
DeleteResult status structures. 
                The structures give a status for each of the 
IDList passed in.
                
|  Note | 
|---|
| The inbound IDList will also correspond directly with the GetUserPayAdjustModel.ID property.  
                    Use GetUserPayAdjustModel.ID value to fill in the IDList. | 
 Example
Example{
    "AuthToken":"...",
    "IDList":[103,104]
}{
   "Report":    {
      "APIVersion": "2.0",
      "ProcessTime": "0.0346737",
      "RequestTime": "/Date(1474401878928-0700)/",
      "ResponseTime": "/Date(1474401878963-0700)/",
      "Results": 2
   },
   "Results":    [
            {
         "ID": 103,
         "IsDeleted": true,
         "Message": "Pay adjustment successfully deleted",
         "Status": 1
      },
            {
         "ID": 104,
         "IsDeleted": true,
         "Message": "Pay adjustment successfully deleted",
         "Status": 1
      }
   ]
}private void DeletePayAdjustments(List<int> ids)
{
    try
    {
        var actionTestLogic = new Action<SoapServiceV2.ServiceRouterClient>((client) =>
        {
            
            
            bool pass = true;
            SoapServiceV2.DeleteUserPayAdjustRequest request1 = new SoapServiceV2.DeleteUserPayAdjustRequest();
            request1.input = new SoapServiceV2.DeleteUserPayAdjustIn
            {
                AuthToken = AuthToken,
                IDList = ids
            };
            SoapServiceV2.DeleteUserPayAdjustResponse response1 = client.DeleteUserPayAdjust(request1);
            pass = (response1.DeleteUserPayAdjustResult.Results != null && response1.DeleteUserPayAdjustResult.Results.Count > 0) ? true : false;
            Assert.IsTrue(pass);
        });
        RunServiceClient(actionTestLogic);
    }
    catch (FaultException<SoapServiceV2.ServiceException> fe)
    {
        Assert.Fail(fe.Detail.Message);
    }
} See Also
See Also