Click or drag to resize

ServiceRouterGetHolidayListDetail Method

Returns a GetHolidayListDetailOut response with a result model List<HolidayListDetailModel>

Namespace: AppOne.Services.V2
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public GetHolidayListDetailOut GetHolidayListDetail(
	GetHolidayListDetailIn input
)

Parameters

input  GetHolidayListDetailIn
A new GetHolidayListDetailInobject

Return Value

GetHolidayListDetailOut
A GetHolidayListDetailOut results structure
Remarks

DataAction Names

NameDescriptionValues Example
SELECT-ALLReturns all HolidayListDetails within the account[ignored]
SELECT-BY-PARENT-IDReturns all HolidayListDetails for a Specified HolidayList ID[ignored]
SELECT-BY-HOLIDAYLIST-NAMEReturns all HolidayListDetails for a Specified HolidayList Name[ignored]
SELECT-BY-IDReturns only the single HolidayListDetail for the ID specified[ignored]
Example
JSON Request
{
    "AuthToken":"....",
    "DataAction":{
        "Name":"SELECT-BY-PARENT-ID",
        "Values":["3"]
    }
}
JSON Response
{
    "Report": {
        "APIVersion": "2.0",
        "ProcessTime": "0.0055929",
        "RequestTime": "/Date(1559657656851-0700)/",
        "ResponseTime": "/Date(1559657656857-0700)/",
        "Results": 1
    },
    "Results": [
        {
            "HolidayDate": "/Date(1556694000000-0700)/",
            "ID": 4,
            "IncludeWeekend": false,
            "IsCompanyWorked": false,
            "Name": "Test",
            "NumberOfDays": 1,
            "ParentID": 3
        }
    ]
}
See Also