- TODO LIST
- Version
- Authentication
- Access Token (Oauth - Username/Password)
- API Key (Machine 2 Machine)
- JWT (JSON Web Token)
- Event Subscriptions
- Resellers
- Domains
- Phone Numbers
- Users
- Devices
- Phones/Macs
- Sites
- Call Center
- Answer Rules
- Call Blocking
- Auto Attendant
- Media
- Voicemail
- Greetings
- Read Greetings for User
- Read Specific Greeting for User
- Delete Specific Greeting for User
- Create a new Greeting from TTS
- Update Greeting with TTS script
- Create a new Greeting from Upload (JSON + Base64 File)
- Update Greeting from Upload (JSON + Base64 File)
- Create a new Greeting from Upload (Multipart/Mixed Post)
- Update Greeting from Upload (Multipart/Mixed Post)
- Music on Hold
- Domain
- Read MOH for Domain
- Create a new MOH for Domain from TTS
- Update MOH for Domain from TTS
- Create a new MOH for Domain from Upload (JSON + Base64 File)
- Update MOH for Domain from Upload (JSON + Base64 File)
- Create a new MOH for Domain from Upload (Multipart/Mixed Post)
- Update MOH for Domain from Upload (Multipart/Mixed Post)
- Delete MOH for Domain
- User
- Read MOH for User
- Create a new MOH for Domain from TTS
- Create a new MOH for User from Upload (JSON + Base64 File)
- Update MOH for User from Upload (JSON + Base64 File)
- Update MOH for Domain from TTS
- Create a new MOH for User from Upload (Multipart/Mixed Post)
- Update a MOH for User from Upload (Multipart/Mixed Post)
- Delete MOH for User
- Domain
- Hold Messages
- Text to Speech
- CDR (Call History)
- Transcriptions & Sentiment
- Call Traces & Cradle to Grave
- Calls (live/active calls)
- Contacts
- Addresses
- Get Addresses for Domain
- Validate Address
- Create Address for Domain
- Update Address for Domain
- Update Address for User
- Update Address Endpoint
- Create Address for User
- Delete Address For User
- Delete Address Endpoint
- Delete Address For Domain
- Create Address Endpoint
- Get Address Endpoints for a Domain
- Get Addresses Count for Domain
- Get Addresses for User
- Get Address Using Address ID
- Voicemail Reminders
- Dialrule
- Messages
- Get Messagesessions for Domain
- Start a new Message Session
- Get Messagesessions for User
- Get Messages for Messagesession
- Send a message (Chat)
- Send a message (Group Chat)
- Send a message (Media Chat)
- Send a message (SMS)
- Send a message (Group SMS)
- Send a message (MMS)
- Update Messagesession (Participants)
- Update Messagesession (Session Name)
- Update Messagesession (Leave)
- Delete Messagesession
- SMS Numbers
- Recordings
- Email
- Connections
- Routes
- Meetings
- Event Logs
- Iotum
- Read Iotum Video Domain Resellers
- Read Iotum Video Host
- Read All Iotum Video Hosts in a Domain
- Read Iotum Video Host Conferences
- Read Iotum Video Host Contacts
- Read Iotum Video Company
- Read Iotum Video Company Products
- Read Iotum Video Available Products
- Create a Host
- Create Host Contacts
- Create Iotum Video Subscription
- Update Domain's Iotum Company
- Update Domain's Iotum Subscriptions
- Update User's Iotum Host
- Delete Iotum Video Subscription
- Delete a Host
- Create Iotum Video Company
- Create a Ad-hoc Conference
- Delete a Video Company
- Create a Meeting with Id
- Create a Meeting
- Read Meeting
- Count Domains Meetings
- Count Meeting
- Register Meeting
- Update a Meeting
- Delete a Meeting
- Request a Meeting ID
- Read Meetings for User
- Backup & Restore
- Configs
- Images
- Templates
- Timeframes
- Domain (Shared)
- User
- Always
- Specific Dates
- Days of Week
- Holiday
- Custom
- Read All Timeframes for UserGET
- Read Specific Timeframe for UserGET
- Delete Specific Timeframe for UserDELETE
- Convert Timeframe to Another TypePUT
- Holiday Information
- Firebase
- SSL Certificates
Update Date Ranges within Specific Dates Timeframe
PUT
/domains/{domain}/users/{user}/timeframes/{id}HASHHACK1
Last modified:2025-03-27 00:15:56
update_only
and provide within the array timeframe-specific-dates-array
the new values for the date ranges you intend to update, including in each date range the associated timeframe-id
for that range. If any date ranges are missing the timeframe-id
parameter, it may result in undesired behavior.update-only
must be set to yes
for this operation to succeed as desired. If any other value is supplied or the parameter update-only
is omitted, it will result in the behavior described in "Replace All Date Ranges in Specific Dates Timeframe" - see examples for more information.Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
domain
string
required
Example:
{{domain}}
user
string
required
Example:
{{user}}
id
string
required
timeframe-id
of the timeframe to modifyBody Params application/json
update_only
string
required
update-only
must be set to yes
for this operation to succeed as desired. If any other value is supplied or the parameter update-only
is omitted, undesired behavior will occur.timeframe-specific-dates-array
array[object (TimeframeSpecificDate) {11}]
optional
timeframe-id
string
optional
timeframe-specific-dates-begin-date
string
required
timeframe-specific-dates-begin-time
string
required
timeframe-specific-dates-end-date
string
required
timeframe-specific-dates-end-time
string
required
timeframe-recurrence-type
string
required
doesNotRecur
: no recurrencemonthly-on-last-day
: every month on the last day of the monthmonthly-on-first-last
: monthly on the first or last ordinal weekday, e.g.: the first Friday, the last Thursday - note: this will produce potentially unexpected behavior if used with a date that is not the first or last occurrence of that particular weekdaymonthly-on-ordinal-weekday
: can be used for any ordinal weekday that is NOT the first or last occurrence of that weekday in the given month e.g. the third Friday, the second Mondaymonthly-date
: every month on the same day, e.g.: the 14th day, the 29th day - note: if there are months in which the “day” does not occur, the date will not be active during that month, e.g.: the 31st day of Februaryyearly-on-selected-dates
: every year on the exact month and day, e.g.: April 30th, September 4thannual-month-day
: functionally identical to yearly-on-selected-dates
yearly-first
: every year on the first ordinal weekday of the exact month, e.g.: the first Monday of every June, the first Friday of every August - note: this will produce potentially unexpected behavior if used with a date that is not the first occurrence of that particular weekdayyearly-last
: every year on the last ordinal weekday of the exact month, e.g.: the last Friday of every July, the last Tuesday of every November - note: this will produce potentially unexpected behavior if used with a date that is not the last occurrence of that particular weekdaycustom
: if this option is selected the fields timeframe-recurrence-custom-interval
, timeframe-recurrence-custom-interval-option
, and timeframe-recurrence-custom-interval-count
must be set correctly to produce any behaviortimeframe-recurrence-custom-interval
string
required
timeframe-recurrence-custom-interval-count
days
: recur every timeframe-recurrence-custom-interval-count
daysweeks
: recur every timeframe-recurrence-custom-interval-count
weeksmonths
: recur every timeframe-recurrence-custom-interval-count
monthsyears
: recur every timeframe-recurrence-custom-interval-count
yearstimeframe-recurrence-custom-interval-count
string
required
timeframe-recurrence-custom-interval-count
e.g. 'every 6 days' or 'every 3 months'timeframe-recurrence-custom-interval-count
is set to months
this field determines the count in combination with the option set in timeframe-recurrence-custom-interval-option
, if timeframe-recurrence-custom-interval
is set to years
the count is fixed to a value of 1 and will recur every year according to the option set in timeframe-recurrence-custom-interval-option
timeframe-recurrence-custom-interval-option
string
required
timeframe-recurrence-custom-interval
is set to days
or weeks
this field is not used. This field is for months
and years
only.timeframe-recurrence-custom-interval
of months
:monthly-same-day
: recur on the same day of the month, e.g.: the 14th day, the 29th day - note: if there are months in which the “day” does not occur, the date will not be active during that month, e.g.: the 31st day of Februarymonthly-ordinal-weekday
: recur on the same ordinal weekday e.g. the third Friday, the second Mondaymonthly-first-last-weekday
: recur on the first or last instance of the selected weekday in the month, e.g.: the first Wednesday, the last Tuesday - note: this will produce potentially unexpected behavior if used with a date that is not the first or last occurrence of that particular weekdaymonthly-on-last-day
: recur on the last day of the month - note: this will produce potentially unexpected behavior if used with a date that is not the last day of the monthtimeframe-recurrence-custom-interval
of years
:yearly-same-day
: recur on the same day of the same month, e.g.: the 10th of May, the 20th of Octoberyearly-ordinal-weekday
: recur on the same ordinal weekday of the same month, e.g.: the second Tuesday of April, the third Thursday of Novemberyearly-first-last-weekday
: recur on the first or last weekday of the same month, e.g.: the third Wednesday of August, the first Tuesday of December - note: this will produce potentially unexpected behavior if used with a date that is not the first or last occurrence of that particular weekdaytimeframe-recurrence-end-option
string
required
never
: recurrence will continue indefinitelyonADate
: recurrence will end on a date, specified in timeframe-recurrence-end-date
timeframe-recurrence-end-date
string
required
Example
{
"update_only": "string",
"timeframe-specific-dates-array": [
{
"timeframe-id": "string",
"timeframe-specific-dates-begin-date": "string",
"timeframe-specific-dates-begin-time": "string",
"timeframe-specific-dates-end-date": "string",
"timeframe-specific-dates-end-time": "string",
"timeframe-recurrence-type": "string",
"timeframe-recurrence-custom-interval": "string",
"timeframe-recurrence-custom-interval-count": "string",
"timeframe-recurrence-custom-interval-option": "string",
"timeframe-recurrence-end-option": "string",
"timeframe-recurrence-end-date": "string"
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'https://awqacore01.crexendocloud.com/ns-api/v2/domains/{{domain}}/users/{{user}}/timeframes/HASHHACK1' \
--header 'Content-Type: application/json' \
--data-raw '{
"update_only": "string",
"timeframe-specific-dates-array": [
{
"timeframe-id": "string",
"timeframe-specific-dates-begin-date": "string",
"timeframe-specific-dates-begin-time": "string",
"timeframe-specific-dates-end-date": "string",
"timeframe-specific-dates-end-time": "string",
"timeframe-recurrence-type": "string",
"timeframe-recurrence-custom-interval": "string",
"timeframe-recurrence-custom-interval-count": "string",
"timeframe-recurrence-custom-interval-option": "string",
"timeframe-recurrence-end-option": "string",
"timeframe-recurrence-end-date": "string"
}
]
}'
Responses
🟢200OK
application/json
Body
object {0}
Example
{}
🟠404Record not found
🟠400Bad Request
🟠401Authentication Required
Modified at 2025-03-27 00:15:56