Click or drag to resize

ServiceRouterGetHolidayList Method

Returns a GetHolidayListOut response with a result model List<GetHolidayListModel>

Namespace: AppOne.Services.V2
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public GetHolidayListOut GetHolidayList(
	GetHolidayListIn input
)

Parameters

input  GetHolidayListIn
A new GetHolidayListInobject

Return Value

GetHolidayListOut
A GetHolidayListOut results structure
Remarks

DataAction Names

NameDescriptionValues Example
SELECT-ALLReturns all HolidayLists within the account[ignored]
SELECT-BY-IDReturns all HolidayLists matching a input list of HolidayListIDs[ignored]
SELECT-BY-NAMEReturns all HolidayLists matching a input list of HolidayList Names[ignored]
Example
JSON Request
{
    "AuthToken":"....",
    "DataAction":{
        "Name":"SELECT-BY-NAME",
        "Values":["Holiday List 1"]
    }
}
JSON Response
{
    "Report": {
        "APIVersion": "2.0",
        "ProcessTime": "0.0084154",
        "RequestTime": "/Date(1559659559661-0700)/",
        "ResponseTime": "/Date(1559659559669-0700)/",
        "Results": 1
    },
    "Results": [
        {
            "ID": 1,
            "IsInactive": false,
            "Name": "Holiday List 1"
        }
    ]
}
See Also