Click or drag to resize

ServiceRouterUpdateHolidayList Method

Updates a specified HolidayList and returns a list of UpdateResult status structures

Namespace: AppOne.Services.V2
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public UpdateHolidayListOut UpdateHolidayList(
	UpdateHolidayListIn input
)

Parameters

input  UpdateHolidayListIn
A new UpdateHolidayListIn object

Return Value

UpdateHolidayListOut
The internal ID of the passed in UpdateHolidayListOut
Remarks
Updates a specified HolidayList and returns a list of UpdateResult status structures
The structures give a status for the HolidayList that is passed in.

Example
JSON Request
{
    "AuthToken":"....",
    "Payload":[{
        "Name":"Changed Holiday List",
        "ID":3
    }]
}
JSON Response
{
    "Report": {
        "APIVersion": "2.0",
        "ProcessTime": "0.0080225",
        "RequestTime": "/Date(1559659957312-0700)/",
        "ResponseTime": "/Date(1559659957320-0700)/",
        "Results": 1
    },
    "Results": [
        {
            "ID": 3,
            "Messages": [
                "The name of HolidayListID : '3' has been changed from ' Holiday List' to 'Changed Holiday List'"
            ],
            "Status": 1
        }
    ]
}
See Also