Click or drag to resize

GetHolidayListInDataAction Property

A simple query abstraction layer used to provide a mechanism by which methods can make simple query calls to various models.
* Required Property

Namespace: AppOne.Services.V2.Contracts
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public DataAction DataAction { get; set; }

Property Value

DataAction
Remarks
The DataAction property is required to get results from GetHolidayList(GetHolidayListIn) method. Below is a list of the available DataAction name values that can used to return a dynamic results set

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