Create a Custom Calendar
This operation creates a custom calendar. More Details
- application/json
Request Body
- customCalendarOperationType integer
customCalendar object
Responses
- 200
OK
POST /commserv/customcalendar
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/CustomCalendar' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"customCalendarOperationType": 0,
"customCalendar": {
"beginDate": 0,
"defineCustomMonths": true,
"isDefault": true,
"numberOfYears": 0,
"beginYear": 0,
"beginMonth": 0,
"customCalendarEntity": {
"customCalendarName": "string"
},
"customCalendarMonths": [
{
"month": 0,
"year": 0,
"numberOfDays": 0
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/CustomCalendar' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"customCalendarOperationType": 0,
"customCalendar": {
"beginDate": 0,
"defineCustomMonths": true,
"isDefault": true,
"numberOfYears": 0,
"beginYear": 0,
"beginMonth": 0,
"customCalendarEntity": {
"customCalendarName": "string"
},
"customCalendarMonths": [
{
"month": 0,
"year": 0,
"numberOfDays": 0
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/CustomCalendar' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"customCalendarOperationType": 0,
"customCalendar": {
"beginDate": 0,
"defineCustomMonths": true,
"isDefault": true,
"numberOfYears": 0,
"beginYear": 0,
"beginMonth": 0,
"customCalendarEntity": {
"customCalendarName": "string"
},
"customCalendarMonths": [
{
"month": 0,
"year": 0,
"numberOfDays": 0
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/CustomCalendar' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"customCalendarOperationType": 0,
"customCalendar": {
"beginDate": 0,
"defineCustomMonths": true,
"isDefault": true,
"numberOfYears": 0,
"beginYear": 0,
"beginMonth": 0,
"customCalendarEntity": {
"customCalendarName": "string"
},
"customCalendarMonths": [
{
"month": 0,
"year": 0,
"numberOfDays": 0
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/CustomCalendar' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"customCalendarOperationType": 0,
"customCalendar": {
"beginDate": 0,
"defineCustomMonths": true,
"isDefault": true,
"numberOfYears": 0,
"beginYear": 0,
"beginMonth": 0,
"customCalendarEntity": {
"customCalendarName": "string"
},
"customCalendarMonths": [
{
"month": 0,
"year": 0,
"numberOfDays": 0
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/CustomCalendar' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"customCalendarOperationType": 0,
"customCalendar": {
"beginDate": 0,
"defineCustomMonths": true,
"isDefault": true,
"numberOfYears": 0,
"beginYear": 0,
"beginMonth": 0,
"customCalendarEntity": {
"customCalendarName": "string"
},
"customCalendarMonths": [
{
"month": 0,
"year": 0,
"numberOfDays": 0
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/CustomCalendar' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"customCalendarOperationType": 0,
"customCalendar": {
"beginDate": 0,
"defineCustomMonths": true,
"isDefault": true,
"numberOfYears": 0,
"beginYear": 0,
"beginMonth": 0,
"customCalendarEntity": {
"customCalendarName": "string"
},
"customCalendarMonths": [
{
"month": 0,
"year": 0,
"numberOfDays": 0
}
]
}
}'