ServiceRouterAddHolidayList Method | |
Namespace: AppOne.Services.V2Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax Remarks
Adds a
AddHolidayListModel and returns a list of
AddResult structures.
The structures give a status for the
AddHolidayListModel passed in.
Caution |
---|
All Holidays must have a name. The name must be between 1 and 50 characters |
Caution |
---|
HolidayList names must be unique |
Example {
"AuthToken":"...",
"Payload":[{
"Name":"Test Holiday List"
}]
}
{
"Report": {
"APIVersion": "2.0",
"ProcessTime": "0.0262408",
"RequestTime": "/Date(1559659222525-0700)/",
"ResponseTime": "/Date(1559659222552-0700)/",
"Results": 1
},
"Results": [
{
"ID": 4,
"Messages": [
"Success Add for : 'Test Holiday List'. Added with HolidayListID : 4"
],
"Status": 1
}
]
}
See Also