Manage time periods in Exsited: list, create, retrieve, update, enable, disable and delete them.
Time periods define a length of time, such as one month, in your Exsited settings. You can list, create, retrieve, update and delete them, and enable or disable one through its status. This area has 5 endpoints, each available in all seven SDKs.
Deleting a time period cannot be undone. After a delete, reading the time period returns 404.
Register your API credentials once when your app starts, as shown in
Authentication. Every SDK sample on these pages then gets its client in one line.
With cURL, send the access token in an Authorization header: Authorization: Bearer $ACCESS_TOKEN.
Request bodies go under time_period. Both the create and the update wrap their fields in a time_period object, and every single-record response returns it under time_period.
period goes in upper case and comes back in lower case. Send MONTHLY; the response shows monthly.
Time period ids start with tp_. Pass that id as time_period_id.
status takes active or inactive. Send it in an update to enable or disable a time period.