timeframe-id for the timeframe or for the date ranges within that timeframe. These timeframe-ids will be generated automatically.Authorization: Bearer ********************{
"timeframe-name": "specificDatesNoRecurrence",
"timeframe-type": "specific-dates",
"timeframe-specific-dates-array": [
{
"timeframe-specific-dates-begin-date": "20290101",
"timeframe-specific-dates-begin-time": "0000",
"timeframe-specific-dates-end-date": "20290102",
"timeframe-specific-dates-end-time": "2359",
"timeframe-recurrence-type": "doesNotRecur",
"timeframe-recurrence-custom-interval": "",
"timeframe-recurrence-custom-interval-count": "",
"timeframe-recurrence-custom-interval-option": "",
"timeframe-recurrence-end-option": "",
"timeframe-recurrence-end-date": ""
}
]
}curl --location --globoff 'https://api.trueipsolutions.com/ns-api/v2/domains/{{domain}}/users/{{user}}/timeframes' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"timeframe-name": "specificDatesNoRecurrence",
"timeframe-type": "specific-dates",
"timeframe-specific-dates-array": [
{
"timeframe-specific-dates-begin-date": "20290101",
"timeframe-specific-dates-begin-time": "0000",
"timeframe-specific-dates-end-date": "20290102",
"timeframe-specific-dates-end-time": "2359",
"timeframe-recurrence-type": "doesNotRecur",
"timeframe-recurrence-custom-interval": "",
"timeframe-recurrence-custom-interval-count": "",
"timeframe-recurrence-custom-interval-option": "",
"timeframe-recurrence-end-option": "",
"timeframe-recurrence-end-date": ""
}
]
}'{
"timeframe-name": "string",
"timeframe-type": "string"
}