Click or drag to resize

ServiceRouterDeleteHolidayListDetail Method

Deletes a list of HolidayListDetails by their ID 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 DeleteHolidayListDetailOut DeleteHolidayListDetail(
	DeleteHolidayListDetailIn input
)

Parameters

input  DeleteHolidayListDetailIn
A new DeleteHolidayListDetailIn object

Return Value

DeleteHolidayListDetailOut
A DeleteHolidayListDetailOut results structure
Remarks
Deletes a list of HolidayListDetails by their ID and returns a list of DeleteResult status structures.
The structures give a status for each of the ID values passed in.

Example
JSON Request
{    
    "AuthToken":"....",
    "DataAction":{
        "Name":"SELECT-BY-ID",
        "Values":[5]
    }
}
JSON Response
{
    "Report": {
        "APIVersion": "2.0",
        "ProcessTime": "0.0527573",
        "RequestTime": "/Date(1559659342190-0700)/",
        "ResponseTime": "/Date(1559659342243-0700)/",
        "Results": 1
    },
    "Results": [
        {
            "ID": 5,
            "IsDeleted": true,
            "Message": "Holiday List Detail ID: '5' - 'Test' has been deleted",
            "Status": 1
        }
    ]
}
See Also