Custom Day Web Services

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://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 Properties, below.

Example Response

  • Status 200 /OK
    Successfully created the custom day with sysId <sysId>.

Create a Custom Day: Example Request

XML Request

JSON Request

<customDay retainSysIds="true"> <adjustment>None</adjustment> <adjustmentAmount>1</adjustmentAmount> <adjustmentType>Day</adjustmentType> <category>Day</category> <comments /> <ctype>Relative Repeating Date</ctype> <date /> <dateList /> <day>1</day> <dayofweek>Sun</dayofweek> <holiday>false</holiday> <month>Sep</month> <name>special day</name> <nthAmount>8</nthAmount> <nthType>Business Day</nthType> <observedRules /> <period>false</period> <relfreq>Nth</relfreq> <sysId>dae77560c0a80165006d8051753b806c</sysId> </customDay>
{ "adjustment": "None", "adjustmentAmount": 1, "adjustmentType": "Day", "category": "Day", "comments": null, "ctype": "Relative Repeating Date", "date": null, "dateList": [], "day": 1, "dayofweek": "Sun", "holiday": false, "month": "Sep", "name": "special day", "nthAmount": 8, "nthType": "Business Day", "observedRules": [], "period": false, "relfreq": "Nth", "retainSysIds": true, "sysId": "dae77560c0a80165006d8051753b806c" }

Custom Day: Properties

Property

UI Field Name

Description

Specifications

Required

Mutually Exclusive With