Calendar Web Services
Universal Controller supports the following RESTful-based web services for Calendar operations, which are listed alphabetically on this page.
- Add an Existing Custom Day to a Calendar
- Create a Calendar
- Delete a Calendar
- List Calendars
- List Local Custom Day Qualifying Dates
- List Local Custom Day Qualifying Periods
- Modify a Calendar
- Read a Calendar
- Read All Custom Days of a Calendar
- Remove a Custom Day from a Calendar
Formatting specifications for each web service, including details about parameter requirements, are provided.
You can create and modify a Calendar that contains one or more global Custom Days only if the Custom Day Global Permitted Universal Controller system property is set to true.
Add an Existing Custom Day to a Calendar
Description | |
|---|---|
URI | http://host_name/uc/resources/calendar/customdays |
HTTP Method | POST |
Description | Adds the specified Custom Day to the specified Calendar. |
URI Parameters | See Add an Existing Custom Day to a Calendar: URI Parameters, below. |
Example URI | |
Example Response |
|
Add an Existing Custom Day to a Calendar: URI Parameters
Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Unique ID for the Calendar. | Y |
| |
| Name used within the Controller to identify the Calendar. | Maximum 40 alphanumerics. | Y |
|
| Unique ID for the Custom Day. | Y |
| |
| Name used within the Controller to identify the Custom Day. | Maximum 40 alphanumerics. | Y |
|
Create a Calendar
Description | |
|---|---|
URI | http://host_name/uc/resources/calendar |
HTTP Method | POST |
Description | Creates a new Calendar. |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Create a Calendar: Example Request, below. |
Calendar Properties | |
Custom Day Properties | |
Local Custom Day Properties | |
Example Response |
|
Create a Calendar: Example Request
- JSON
- XML
JSON Request
{
"businessDays": {
"value": "Monday,Tuesday,Wednesday,Thursday,Friday"
},
"comments": "American Calendar",
"customDays": [
{
"name": "uc - Christmas",
"sysId": "daf16d70c0a801650040c4d58a3feebd"
},
{
"name": "uc - Flag Day",
"sysId": "daf16d8fc0a801650040c4d54b2432fb"
}
],
"firstDayOfWeek": "Sunday",
"localCustomDays": [
{
"adjustment": "None",
"adjustmentAmount": 1,
"adjustmentType": "Day",
"category": "Holiday",
"comments": null,
"ctype": "Single Date",
"date": "2017-08-23",
"dateList": [],
"day": 1,
"dayofweek": "Sun",
"month": "Jan",
"name": "local custom day",
"observedRules": [],
"relfreq": "1st",
"sysId": "616ec15e7a5e40dbaae421e3688a25e5"
}
],
"name": "uc - American Calendar",
"opswiseGroups": [],
"retainSysIds": true,
"sysId": "da24b953c0a8016501fbcb18464d8328"
}
XML Request
<calendar retainSysIds="true">
<businessDays>Monday,Tuesday,Wednesday,Thursday,Friday</businessDays>
<customDays>
<customDay>
<name>uc - Christmas</name>
<sysId>daf16d70c0a801650040c4d58a3feebd</sysId>
</customDay>
<customDay>
<name>uc - Flag Day</name>
<sysId>daf16d8fc0a801650040c4d54b2432fb</sysId>
</customDay>
</customDays>
<comments>American Calendar</comments>
<firstDayOfWeek>Sunday</firstDayOfWeek>
<localCustomDays>
<localCustomDay>
<adjustment>None</adjustment>
<adjustmentAmount>1</adjustmentAmount>
<adjustmentType>Day</adjustmentType>
<category>Holiday</category>
<comments />
<ctype>Single Date</ctype>
<date>2017-08-23</date>
<dateList />
<day>1</day>
<dayofweek>Sun</dayofweek>
<month>Jan</month>
<name>local custom day</name>
<observedRules />
<relfreq>1st</relfreq>
<sysId>616ec15e7a5e40dbaae421e3688a25e5</sysId>
</localCustomDay>
</localCustomDays>
<name>uc - American Calendar</name>
<opswiseGroups />
<sysId>da24b953c0a8016501fbcb18464d8328</sysId>
</calendar>
Create a Calendar: Calendar Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Business Days | Comma-separated list of days. | Valid values:
Optional: useDefaultIfBlank attribute. Boolean; Valid values: true/false.
The Read a Calendar web service will return useDefaultIfBlank only if | N |
| Description | User-defined; description for the calendar. | N | |
| n/a | Specification for whether or not to exclude related records (Custom Days, Local Custom Days) from an update, even if they are provided in the request. | Valid values: true/false (default is false). | N |
| n/a | Universal Controller release that the record was exported from. | read only | N |
| n/a | Record table information. | read only | N |
| First Day Of Week | Day that is considered the start of the week. | Valid values:
| N |
| Name | Name used within the Controller to identify this calendar. | Maximum 40 alphanumerics. | Y |
| Member of Business Services | List of Business Services: XML JSON | N | |
| n/a | Specification for whether or not the Create a Calendar web service will persist the sysId property.
info In XML web services, | Valid values: true/false (default is true). | N |
| n/a | System ID field in the database for this Calendar record. | Persisted only if retainSysIds is set to true. | N |
firstQuarterStart | 1st Quarter Start | To specify the start of the 1st Quarter, a day and month must be specified as shown below. XML JSON | Valid values:
| If any other Quarter is specified then this property is also required. |
secondQuarterStart | 2nd Quarter Start | To specify the start of the 1st Quarter, a day and month must be specified as shown below. XML JSON | Valid values:
| If any other Quarter is specified then this property is also required. |
thirdQuarterStart | 3rd Quarter Start | To specify the start of the 1st Quarter, a day and month must be specified as shown below. XML JSON | Valid values:
| If any other Quarter is specified then this property is also required. |
fourthQuarterStart | 4th Quarter Start | To specify the start of the 1st Quarter, a day and month must be specified as shown below. XML JSON | Valid values:
| If any other Quarter is specified then this property is also required. |
Create a Calendar: Custom Day Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Name | Name used within the Controller to identify this Custom Day. | Maximum 40 alphanumerics. | Y |
| n/a | sysId of the Calendar-to-Custom Day relationship. | N |
Create a Calendar: Local 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 Local Custom Day. | N | ||
| Type | Type of this Local Custom Day. | Valid values:
Default is Single Date (0). | N | |
| Date | Specific date for this Local Custom Day | Format: yyyy-mm-dd. | Y |
|
| Dates | Multiple specific dates for this Local Custom Day. | XML JSON | 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 | |
| Month | Month of the year. | Valid values:
Default is Jan (0). | Y | |
| Name | Name of this Local Custom Day. | Y | ||
| Observed Rules | If XML JSON | Valid day of week values:
| N | |
| When | Occurrence of this day in the month. | Valid values:
Default is 1st (1). | Y | |
| n/a | System ID in the database for this Local Custom Day. | Persisted only if retainSysIds is set to true. | Y |
Delete a Calendar
Description | |
|---|---|
URI | http://host_name/uc/resources/calendar |
HTTP Method | DELETE |
Description | Deletes the specified Calendar. |
URI Parameters | See Delete a Calendar: URI Parameters, below. |
Example URI | |
Authentication | HTTP Basic |
Example Response |
|
Delete a Calendar: URI Parameters
Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Unique ID for this Calendar. | Y |
| |
| Name used within the Controller to identify this Calendar. | Maximum 40 alphanumerics. | Y |
|
List Calendars
Description | |
|---|---|
URI | http://host_name/uc/resources/calendar/list |
HTTP Method | GET |
Description | Retrieves information on all Calendar. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See List Calendars: Example Response, below. |
Calendar Properties | |
Custom Day Properties | |
Local Custom Day Properties |
List Calendars: Example Response
- JSON
- XML
JSON Response
{
"businessDays": {
"value": "Monday,Tuesday,Wednesday,Thursday,Friday"
},
"comments": null,
"customDays": [],
"firstDayOfWeek": "Monday",
"firstQuarterStart": {
"day": "15",
"month": "Jan"
},
"fourthQuarterStart": {
"day": "15",
"month": "Oct"
},
"localCustomDays": [],
"name": "Q15",
"opswiseGroups": [],
"retainSysIds": true,
"secondQuarterStart": {
"day": "15",
"month": "Apr"
},
"sysId": "8aad692481794d928161539552cb61c1",
"thirdQuarterStart": {
"day": "15",
"month": "Jul"
},
"version": 2
}
XML Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<calendar retainSysIds="true" version="2">
<businessDays>Monday,Tuesday,Wednesday,Thursday,Friday</businessDays>
<customDays/>
<comments />
<firstDayOfWeek>Monday</firstDayOfWeek>
<firstQuarterStart>
<day>15</day>
<month>Jan</month>
</firstQuarterStart>
<fourthQuarterStart>
<day>15</day>
<month>Oct</month>
</fourthQuarterStart>
<localCustomDays/>
<name>Q15</name>
<opswiseGroups/>
<secondQuarterStart>
<day>15</day>
<month>Apr</month>
</secondQuarterStart>
<sysId>8aad692481794d928161539552cb61c1</sysId>
<thirdQuarterStart>
<day>15</day>
<month>Jul</month>
</thirdQuarterStart>
</calendar>
List Local Custom Day Qualifying Dates
Description | |
|---|---|
URI | http://host_name/uc/resources/calendar/localcustomdays/qualifyingdates |
HTTP Method | GET |
Description | Retrieves information on Qualifying Dates for a specific Local Custom Day. |
URI Parameters | See List Local Custom Day Qualifying Dates URI Parameters: URI Parameters, below. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See List Local Custom Day Qualifying Dates: Example Response, below. |
List Local Custom Day Qualifying Dates: URI Parameters
Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Name used within the Controller to identify this Local Custom Day. | Maximum 40 alphanumerics. | Y | |
| Unique ID for this calendar. | Y |
| |
| Name used within the Controller to identify this calendar. | Maximum 40 alphanumerics. | Y |
|
List Local Custom Day Qualifying Dates: Example Response
- JSON
- XML
JSON Response
[
"Mon, Jan 1, 2018",
"Tue, Jan 2, 2019",
"Wed, Jan 1, 2020",
"Fri, Jan 1, 2021"
]
XML Response
<qualifyingDates>
<qualifyingDate>Mon, Jan 1, 2018</qualifyingDate>
<qualifyingDate>Tue, Jan 1, 2019</qualifyingDate>
<qualifyingDate>Wed, Jan 1, 2020</qualifyingDate>
<qualifyingDate>Fri, Jan 1, 2021</qualifyingDate>
<qualifyingDate>Sat, Jan 1, 2022</qualifyingDate>
<qualifyingDate>Sun, Jan 1, 2023</qualifyingDate>
<qualifyingDate>Mon, Jan 1, 2024</qualifyingDate>
<qualifyingDate>Wed, Jan 1, 2025</qualifyingDate>
<qualifyingDate>Thu, Jan 1, 2026</qualifyingDate>
<qualifyingDate>Fri, Jan 1, 2027</qualifyingDate>
<qualifyingDate>Sat, Jan 1, 2028</qualifyingDate>
<qualifyingDate>Mon, Jan 1, 2029</qualifyingDate>
<qualifyingDate>Tue, Jan 1, 2030</qualifyingDate>
<qualifyingDate>Wed, Jan 1, 2031</qualifyingDate>
<qualifyingDate>Thu, Jan 1, 2032</qualifyingDate>
<qualifyingDate>Sat, Jan 1, 2033</qualifyingDate>
<qualifyingDate>Sun, Jan 1, 2034</qualifyingDate>
<qualifyingDate>Mon, Jan 1, 2035</qualifyingDate>
<qualifyingDate>Tue, Jan 1, 2036</qualifyingDate>
<qualifyingDate>Thu, Jan 1, 2037</qualifyingDate>
<qualifyingDate>Fri, Jan 1, 2038</qualifyingDate>
<qualifyingDate>Sat, Jan 1, 2039</qualifyingDate>
<qualifyingDate>Sun, Jan 1, 2040</qualifyingDate>
<qualifyingDate>Tue, Jan 1, 2041</qualifyingDate>
<qualifyingDate>Wed, Jan 1, 2042</qualifyingDate>
<qualifyingDate>Thu, Jan 1, 2043</qualifyingDate>
<qualifyingDate>Fri, Jan 1, 2044</qualifyingDate>
<qualifyingDate>Sun, Jan 1, 2045</qualifyingDate>
<qualifyingDate>Mon, Jan 1, 2046</qualifyingDate>
<qualifyingDate>Tue, Jan 1, 2047</qualifyingDate>
</qualifyingDates>
List Local Custom Day Qualifying Periods
Description | |
|---|---|
URI | http://host_name/uc/resources/calendar/localcustomdays/qualifyingperiods |
HTTP Method | GET |
Description | Retrieves information on Qualifying Periods for a specific Local Custom Day. |
URI Parameters | See List Local Custom Day Qualifying Periods URI Parameters: URI Parameters, below. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See List Local Custom Day Qualifying Periods: Example Response, below. |
List Local Custom Day Qualifying Periods: Example Response
- JSON
- XML
JSON Response
[
{
"startDate": "Sun, Jan 1, 2017",
"endDate": "Sat, Jan 6, 2018"
},
{
"startDate": "Sun, Jan 7, 2018",
"endDate": "Sat, Jan 5, 2019"
}
]
XML Response
<qualifyingPeriods>
<qualifyingPeriod>
<startDate>Sun, Jan 1, 2017</startDate>
<endDate>Sat, Jan 6, 2018</endDate>
</qualifyingPeriod>
<qualifyingPeriod>
<startDate>Sun, Jan 7, 2018</startDate>
<endDate>Sat, Jan 5, 2019</endDate>
</qualifyingPeriod>
<qualifyingPeriod>
<startDate>Sun, Jan 6, 2019</startDate>
<endDate>Sat, Jan 4, 2020</endDate>
</qualifyingPeriod>
<qualifyingPeriod>
<startDate>Sun, Jan 5, 2020</startDate>
<endDate>Sat, Jan 2, 2021</endDate>
</qualifyingPeriod>
<qualifyingPeriod>
<startDate>Sun, Jan 3, 2021</startDate>
<endDate>Sat, Jan 1, 2022</endDate>
</qualifyingPeriod>
<qualifyingPeriod>
<startDate>Sun, Jan 2, 2022</startDate>
<endDate>Sat, Dec 31, 2022</endDate>
</qualifyingPeriod>
</qualifyingPeriods>
List Custom Day Qualifying Periods: URI Parameters
Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Name used within the Controller to identify this Local Custom Day. | Maximum 40 alphanumerics. | Y | |
| Unique ID for this calendar. | Y |
| |
| Name used within the Controller to identify this calendar. | Maximum 40 alphanumerics. | Y |
|
Modify a Calendar
Description | |
|---|---|
URI | http://host_name/uc/resources/calendar |
HTTP Method | PUT |
Description | Modifies the Calendar specified by the To modify Calendar properties without modifying related records, see the excludeRelated property. |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Modify a Calendar: Example Request, below. |
Calendar Properties | |
Custom Day Properties | |
Local Custom Day Properties | |
Example Response |
|
Modify a Calendar: Example Request
The excludeRelated property is included in the XML as an attribute.
- JSON
- XML
JSON Request
{
"businessDays": {
"value": "Monday,Tuesday,Wednesday,Thursday,Friday"
},
"comments": "American Calendar",
"customDays": [
{
"name": "uc - Christmas",
"sysId": "daf16d70c0a801650040c4d58a3feebd"
},
{
"name": "uc - Flag Day",
"sysId": "daf16d8fc0a801650040c4d54b2432fb"
}
],
"firstDayOfWeek": "Sunday",
"localCustomDays": [
{
"adjustment": "None",
"adjustmentAmount": 1,
"adjustmentType": "Day",
"category": "Holiday",
"comments": null,
"ctype": "Single Date",
"date": "2017-08-23",
"dateList": [],
"day": 1,
"dayofweek": "Sun",
"month": "Jan",
"name": "local custom day",
"relfreq": "1st",
"sysId": "616ec15e7a5e40dbaae421e3688a25e5"
}
],
"name": "uc - American Calendar",
"opswiseGroups": [],
"sysId": "da24b953c0a8016501fbcb18464d8328"
}
XML Request
<calendar>
<businessDays>Monday,Tuesday,Wednesday,Thursday,Friday</businessDays>
<customDays>
<customDay>
<name>uc - Christmas</name>
<sysId>daf16d70c0a801650040c4d58a3feebd</sysId>
</customDay>
<customDay>
<name>uc - Flag Day</name>
<sysId>daf16d8fc0a801650040c4d54b2432fb</sysId>
</customDay>
</customDays>
<comments>American Calendar</comments>
<firstDayOfWeek>Sunday</firstDayOfWeek>
<localCustomDays>
<localCustomDay>
<adjustment>None</adjustment>
<adjustmentAmount>1</adjustmentAmount>
<adjustmentType>Day</adjustmentType>
<category>Holiday</category>
<comments/>
<ctype>Single Date</ctype>
<date>2017-08-23</date>
<dateList/>
<day>1</day>
<dayofweek>Sun</dayofweek>
<month>Jan</month>
<name>local custom day</name>
<relfreq>1st</relfreq>
<sysId>616ec15e7a5e40dbaae421e3688a25e5</sysId>
</localCustomDay>
</localCustomDays>
<name>uc - American Calendar</name>
<opswiseGroups />
<sysId>da24b953c0a8016501fbcb18464d8328</sysId>
</calendar>
Read a Calendar
Description | |
|---|---|
URI | http://host_name/uc/resources/calendar |
HTTP Method | GET |
Description | Retrieves information on a specific Calendar. |
URI Parameters | See Read a Calendar: URI Parameters, below. |
Example URI | |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response |
|
Calendar Properties | |
Custom Day Properties | |
Local Custom Day Properties |
Read a Calendar: URI Parameters
Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Unique ID for this Calendar. | Y |
| |
| Name used within the Controller to identify this Calendar. | Maximum 40 alphanumerics. | Y |
|
Read a Calendar: Example Response
The retainSysIdsand versionproperties are specified as attributes in XML.
The exportReleaseLevel and exportTable properties are specified as attributes in XML.
- JSON
- XML
JSON Response
{
"businessDays": {
"value": "Monday,Tuesday,Wednesday,Thursday,Friday"
},
"comments": null,
"customDays": [],
"firstDayOfWeek": "Monday",
"firstQuarterStart": {
"day": "15",
"month": "Jan"
},
"fourthQuarterStart": {
"day": "15",
"month": "Oct"
},
"localCustomDays": [],
"name": "Q15",
"opswiseGroups": [],
"retainSysIds": true,
"secondQuarterStart": {
"day": "15",
"month": "Apr"
},
"sysId": "8aad692481794d928161539552cb61c1",
"thirdQuarterStart": {
"day": "15",
"month": "Jul"
},
"version": 2
}
XML Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<calendar retainSysIds="true" version="2">
<businessDays>Monday,Tuesday,Wednesday,Thursday,Friday</businessDays>
<customDays/>
<comments />
<firstDayOfWeek>Monday</firstDayOfWeek>
<firstQuarterStart>
<day>15</day>
<month>Jan</month>
</firstQuarterStart>
<fourthQuarterStart>
<day>15</day>
<month>Oct</month>
</fourthQuarterStart>
<localCustomDays/>
<name>Q15</name>
<opswiseGroups/>
<secondQuarterStart>
<day>15</day>
<month>Apr</month>
</secondQuarterStart>
<sysId>8aad692481794d928161539552cb61c1</sysId>
<thirdQuarterStart>
<day>15</day>
<month>Jul</month>
</thirdQuarterStart>
</calendar>
Read All Custom Days of a Calendar
Description | |
|---|---|
URI | http://host_name/uc/resources/calendar/customdays |
HTTP Method | GET |
Description | Retrieves information on all Custom Days of a specific Calendar. |
URI Parameters | See Read All Custom Days of a Calendar: URI Parameters, below. |
Example URI | http://localhost:8080/uc/resources/calendar/customdays?calendarname=test |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Response |
|
Response Properties | See Read All Custom Days of a Calendar: Response Properties, below. |
Read All Custom Days of a Calendar: URI Parameters
Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Unique ID for this Calendar. | Y |
| |
| Name used within the Controller to identify this Calendar. | Maximum 40 alphanumerics. | Y |
|
Read All Custom Days of a Calendar: Example Response
The exportReleaseLevel and exportTable properties are specified as attributes in XML.
- JSON
- XML
JSON Response
[
{
"adjustment": "None",
"adjustmentAmount": 1,
"adjustmentType": "Day",
"category": "Holiday",
"comments": "New Year's Day - Jan 1st",
"ctype": "Absolute Repeating Date",
"date: null,
"dateList: [ ],
"day": 1,
"dayofweek": "Sun",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_customdays",
"holiday": true,
"month": "Jan",
"name": "uc - New Year's Day",
"period": false,
"relfreq": "1st",
"sysId": "dae77560c0a80165006d8051753b806c"
},
{
"adjustment": "None",
"adjustmentAmount": 1,
"adjustmentType": "Day",
"category"": Holiday",
"comments": "New Year's Day - Jan 1st",
"ctype": "Absolute Repeating Date",
"date : null,
"dateList : [],
"day": 1,
"dayofweek": "Sun",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_customdays",
"holiday": true,
"month": "Jan",
"name": "uc - New Year's Day",
"period": false",
"relfreq": "1st",
"sysId": "dae77560c0a80165006d8051753b806c"
}
]
XML Response
<customDays>
<customDay> exportReleaseLevel="7.2.0.0" exportTable="ops_customdays"
<adjustment>None</adjustment>
<adjustmentAmount>1</adjustmentAmount>
<adjustmentType>Day</adjustmentType>
<category>Holiday</category>
<comments>New Year's Day - Jan 1st</comments>
<ctype>Absolute Repeating Date</ctype>
<date />
<dateList />
<day>1</day>
<dayofweek>Sun</dayofweek>
<holiday>true</holiday>
<month>Jan</month>
<name>uc - New Year's Day</name>
<period>false</period>
<relfreq>1st</relfreq>
<sysId>dae77560c0a80165006d8051753b806c</sysId>
</customDay>
<customDay> exportReleaseLevel="7.2.0.0" exportTable="ops_customdays"
<adjustment>None</adjustment>
<adjustmentAmount>1</adjustmentAmount>
<adjustmentType>Day</adjustmentType>
<category>Holiday</category>
<comments>New Year's Day - Jan 1st</comments>
<ctype>Absolute Repeating Date</ctype>
<date />
<dateList />
<day>1</day>
<dayofweek>Sun</dayofweek>
<holiday>true</holiday>
<month>Jan</month>
<name>uc - New Year's Day</name>
<period>false</period>
<relfreq>1st</relfreq>
<sysId>dae77560c0a80165006d8051753b806c</sysId>
</customDay>
</customDays>
Read All Custom Days of a Calendar: Properties
Property | UI Field Name | Description |
|---|---|---|
| Adjustment | Adjustment for the repeating date. |
| Adjustment Amount | Amount (number of days) of the adjustment to be made. |
| Adjustment Type | Type of day on which to make the adjustment. |
| Category | Category of this Local Custom Day. |
| Description | Description of this Custom Day. |
| Type | Type of this Custom Day. |
| Date | Specific date for this Custom Day |
| Dates | Multiple specific dates for this Custom Day. |
| Day | Day of the month. |
| Day Of Week | Day of the week. |
| n/a | Universal Controller release that the record was exported from. |
| n/a | Record table information. |
| Holiday | Deprecated. Indication of whether or not this Custom Day is a holiday. |
| Month | Month of the year. |
| Name | Name of this Custom Day. |
| Period | Deprecated. Indication of whether or not this Custom Day defines a custom period of days. |
| When | Occurrence of this day in the month. |
| n/a | System ID in the database for this Custom Day. |
Remove a Custom Day from a Calendar
Description | |
|---|---|
URI | http://host_name/uc/resources/calendar/customdays |
HTTP Method | DELETE |
Description | Removes the specified Custom Day from a specific Calendar. |
URI Parameters | See Remove a Custom Day from a Calendar: URI Parameters, below. |
Example URI | |
Authentication | HTTP Basic |
Example Response |
|
Remove a Custom Day from a Calendar: URI Parameters
Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Unique ID for the Calendar. | Y |
| |
| Name used within the Controller to identify the Calendar. | Maximum 40 alphanumerics. | Y |
|
| Unique ID for the Custom Day. | Y |
| |
| Name used within the Controller to identify the Custom Day. | Maximum 40 alphanumerics. | Y |
|