Timeframes/User/Specific Dates

Replace All Date Ranges in Specific Dates Timeframe

Changed on

If a new array of specific date ranges is supplied in the update request for a Specific Dates timeframe, it will replace all existing specific date ranges in the timeframe, meaning that any existing specific date ranges in that timeframe will be removed. To update individual specific date ranges within a Specific Dates timeframe, refer to "Update Date Ranges within Specific Dates Timeframe." It is not necessary to supply a timeframe-id for the new date ranges. These timeframe-ids will be generated automatically.

put/domains/{domain}/users/{user}/timeframes/{id}

Request

  • Base URL
    https://ns-api.com/ns-api/v2
  • URL
    https://ns-api.com/ns-api/v2/domains/{domain}/users/{user}/timeframes/{id}
  • Auth
    HTTP bearer

Path parameters

domainstring required

This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.

Example:example.com
userstring required

This is the main user extension for the user account. ~ can be used to mean "my account" which will extract the user from the token/key used for authentication.

Example:1000
idstring required

timeframe-id of the timeframe to modify

Request body

Response

object required

Changes