...
Universal Controller supports the following RESTful-based web services for Custom Day operations, which are listed alphabetically on this page.
- Custom Day Web Services#Create Create a Custom DayCustom Day Web Services#Delete
- Delete a Custom Day
- Custom Day Web Services#List List Custom Day Qualifying DatesCustom Day Web Services#List
- List Custom Day Qualifying Periods
- List Custom Day Web Services#List Custom DaysCustom
- Day Web Services#Modify Modify a Custom DayCustom Day Web Services#Read
- Read a Custom Day
Formatting specifications for each web service, including details about parameter requirements, are provided.
...
Description | |
---|---|
URI | http://host_name/uc/resources/customday |
HTTP Method | POST |
Description | Creates a new Custom Day. |
Example URI | http://localhost:8080/uc/resources/customday |
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 Web Services#Custom Day Properties, below. |
Example Response |
|
...
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
adjustment | Adjustment | If | Valid values: html-bobswift<ul> <li>
Default is None (0). | N | |||||||||||||||
adjustmentAmount | Adjustment Amount | If | Default is 1. | N | |||||||||||||||
adjustmentType | Adjustment Type | If | Valid values: html-bobswift<ul> <li>
Default is Day (1). | N | |||||||||||||||
category | Category | Category of this Local Custom Day. | Valid values: html-bobswift<ul> <li>
Default is Day (1). | N | |||||||||||||||
comments | Description | Description of this Custom Day. | N | ||||||||||||||||
ctype | Type | Type of this Custom Day. | Valid values: Html bobswift |
Default is Single Date (0). | N | ||||||||||||||
date | Date | Specific date for this Custom Day | Format: yyyy-mm-dd. | Y |
| ||||||||||||||
dateList | Dates | Multiple specific dates for this Custom Day.
Â
| Y |
| |||||||||||||||
day | Day | Day of the month. | Integer; Valid values: 1-31. | Y | |||||||||||||||
dayofweek | Day Of Week | Day of the week. | Valid values: Html bobswift |
Default is Mon (2). | Y | ||||||||||||||
exportReleaseLevel | n/a | Universal Controller release that the record was exported from. | read only | N | |||||||||||||||
exportTable | n/a | Record table information. | read only | N | |||||||||||||||
holiday | (none) | Deprecated.  Indication of whether or not this Custom Day is a holiday. | Boolean; Valid values: true/false; Default is false. | N | |||||||||||||||
month | Month | Month of the year. | Valid values: html-bobswift<ul> <li>
Default is Jan (0). | Y | |||||||||||||||
name | Name | Name of this Custom Day. | Y | ||||||||||||||||
nthAmount | Nth Amount | If | Y | ||||||||||||||||
nthType | Nth Type | If | Valid values: Html bobswift |
Default is Day (1). | N | ||||||||||||||
observedRules | Observed Rules | If
Â
| Valid day of week values:
| N | |||||||||||||||
period | (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 | |||||||||||||||
relfreq | When | Occurrence of this day in the month. | Valid values: <ul>
<li>
Default is 1st (1). | Y | |||||||||||||||
retainSysIds | n/a | Specification for whether or not the Create a Custom Day web service will persist the sysId property. <ul>
<li> If <b>retainSysIds</b>
| Valid values: true/false (default is true). | N | |||||||||||||||
sysId | n/a | System ID in the database for this Custom Day. | Persisted only if retainSysIds is set to true. | Y |
...
Description | |
---|---|
URI | http://host_name/uc/resources/customday/list |
HTTP Method | GET |
Description | Retrieves information on all Custom Days. |
Example URI | http://localhost:8080/uc/resources/customday/list |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See List Custom Days: Example Response, below. |
Custom Day Properties | See Custom Day Web Services#Custom Day Properties. |
Anchor | ||||
---|---|---|---|---|
|
...
Description | |
---|---|
URI | http://host_name/uc/resources/customday |
HTTP Method | PUT |
Description | Modifies the Custom Day specified by the |
Example URI | http://localhost:8080/uc/resources/customday |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Modify a Custom Day: Example Request, below. |
Custom Day Properties | See Custom Day Web Services#Custom Day Properties. |
Example Response |
|
...
Description | |
---|---|
URI | http://host_name/uc/resources/customday |
HTTP Method | GET |
Description | Retrieves information on a specific Custom Day. |
URI Parameters | See Read a Custom Day: URI Parameters, below. |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example URI | |
Example Response |
|
Custom Day Properties | See Custom Day Web Services#Custom Day Properties. |
Anchor | ||||
---|---|---|---|---|
|
...