POST api/ical/SaveOneDayICalTempEvents

添加某一天

Request Information

URI Parameters

None.

Body Parameters

OneDayICalTempEvents
NameDescriptionTypeAdditional information
Day

date

None.

dblinkname

string

None.

EventConfig

Dictionary of Object [key] and Object [value]

None.

ListICalTempEvents

Collection of ICalTempEvents

None.

Weekname

string

None.

Shortdates

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Day": "2025-04-24T21:02:36.7893281+08:00",
  "dblinkname": "",
  "EventConfig": {
    "System.Object": {}
  },
  "ListICalTempEvents": [
    {
      "config": {
        "System.Object": {}
      },
      "EumFormulaOccasion": 0,
      "alertTimes": "sample string 1",
      "temEventID": 6.1,
      "eventAlias": "sample string 7",
      "allDayEventAlertPropID": 8.1,
      "amount": 9.1,
      "iCalTempEventsId": 10.1,
      "tempCategoryId": "sample string 11",
      "eventType": "sample string 12",
      "eventTypeId": "sample string 13",
      "eventTypeOrder": 14,
      "temEvent": "sample string 15",
      "ListAlertTimes": [
        "sample string 1",
        "sample string 2"
      ],
      "category_id": "sample string 2",
      "searchcode": "sample string 3",
      "dates": "sample string 4",
      "datetime": "2025-04-24T21:02:36.7903048+08:00"
    },
    {
      "config": {
        "System.Object": {}
      },
      "EumFormulaOccasion": 0,
      "alertTimes": "sample string 1",
      "temEventID": 6.1,
      "eventAlias": "sample string 7",
      "allDayEventAlertPropID": 8.1,
      "amount": 9.1,
      "iCalTempEventsId": 10.1,
      "tempCategoryId": "sample string 11",
      "eventType": "sample string 12",
      "eventTypeId": "sample string 13",
      "eventTypeOrder": 14,
      "temEvent": "sample string 15",
      "ListAlertTimes": [
        "sample string 1",
        "sample string 2"
      ],
      "category_id": "sample string 2",
      "searchcode": "sample string 3",
      "dates": "sample string 4",
      "datetime": "2025-04-24T21:02:36.7903048+08:00"
    }
  ],
  "Weekname": "Thursday",
  "Shortdates": "04/24"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OneDayICalTempEvents'.

Response Information

Resource Description

icalResult
NameDescriptionTypeAdditional information
error

错误代码

integer

None.

message

错误信息

string

None.

calendargroup

数据

Object

None.

data

Object

None.

eventAlertProposal

Object

None.

templateEventType

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "error": 1,
  "message": "sample string 2",
  "calendargroup": {},
  "data": {},
  "eventAlertProposal": {},
  "templateEventType": {}
}