Custom Day Web Services
Overview
Universal Controller supports the following RESTful-based web services for Custom Day operations, which are listed alphabetically on this page.
Formatting specifications for each web service, including details about parameter requirements, are provided.
For Local Custom Day operations, see Calendar Web Services.
Note
You can create and modify a Custom Day only if the Custom Day Global Permitted Universal Controller system property is set to true.
Create a Custom Day
Description | |
|---|---|
URI | |
HTTP Method | POST |
Description | Creates a new Custom Day. |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Create a Custom Day: Example Request, below. |
Custom Day Properties | See Custom Day Properties, below. |
Example Response |
|
Create a Custom Day: Example Request
XML Request | JSON Request |
|---|---|
|
|
Custom Day: Properties
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| Adjustment | If | Valid values:
Default is None (0). | N | |
| Adjustment Amount | If | Default is 1. | N | |
| Adjustment Type | If | Valid values:
Default is Day (1). | N | |
| Category | Category of this Local Custom Day. | Valid values:
Default is Day (1). | N | |
| Description | Description of this Custom Day. | N | ||
| Type | Type of this Custom Day. | Valid values:
Default is Single Date (0). | N | |
| Date | Specific date for this Custom Day | Format: yyyy-mm-dd. | Y |
|
| Dates | Multiple specific dates for this Custom Day.
| Y |
| |
| Day | Day of the month. | Integer; Valid values: 1-31. | Y | |
| Day Of Week | Day of the week. | Valid values:
Default is Mon (2). | Y | |
| n/a | Universal Controller release that the record was exported from. | read only | N | |
| n/a | Record table information. | read only | N | |
| (none) | Deprecated. Indication of whether or not this Custom Day is a holiday. | Boolean; Valid values: true/false; Default is false. | N | |
| Month | Month of the year. | Valid values:
Default is Jan (0). | Y | |
| Name | Name of this Custom Day. | Y | ||
| Nth Amount | If | Y | ||
| Nth Type | If | Valid values:
Default is Day (1). | N | |
| Observed Rules | If
| Valid day of week values:
| N | |
| (none) | Deprecated. Indication of whether or not this Custom Day defines a custom period of days. | Boolean; Valid values: true/false; Default is false. | N | |
| When | Occurrence of this day in the month. | Valid values:
Default is 1st (1). | Y | |
| n/a | Specification for whether or not the Create a Custom Day web service will persist the sysId property.
|