{ "info": { "_postman_id": "2549d04b-0f5f-4bfa-bee3-16036ce0b69d", "name": "ThoughtSpot Public REST 10.1.0.cl Custom Calendars API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T03:15:48.000Z", "updatedAt": "2026-07-28T03:15:48.000Z", "lastUpdatedBy": "35240", "uid": "35240-2549d04b-0f5f-4bfa-bee3-16036ce0b69d" }, "item": [ { "name": "api", "item": [ { "name": "rest", "item": [ { "name": "2.0", "item": [ { "name": "calendars", "item": [ { "name": "create", "item": [ { "name": "create Calendar", "id": "37fc6d3e-d6ce-4fe7-a095-eafbf1a46500", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"creation_method\": \"FROM_EXISTING_TABLE\",\n \"table_reference\": {\n \"connection_identifier\": \"\",\n \"table_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/create", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "create" ] }, "description": "\n Version: 10.12.0.cl or later\n\nCreates a new [custom calendar](https://docs.thoughtspot.com/cloud/latest/connections-cust-cal).\n\nRequires `DATAMANAGEMENT` (**Can manage data**) or `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.\nIf [Role-Based Access Control (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your ThoughtSpot instance, the `CAN_MANAGE_CUSTOM_CALENDAR` (**Can manage custom calendars**) privilege is required.\n\n\n#### Usage guidelines\n\nYou can create a custom calendar from scratch or an existing Table in ThoughtSpot. For both methods of calendar creation, the following parameters are required:\n\n* Name of the custom calendar.\n* Calendar creation method. To create a calendar from an existing table, specify the method:\n\n - `FROM_EXISTING_TABLE` - Creates calendar from the table reference provided in the API request.\n - `FROM_INPUT_PARAMS` - Creates a calendar from the parameters defined in the API request.\n\n* Connection ID and Table name\n* Database and schema name attributes:\n For most Cloud Data Warehouse (CDW) connectors, both `database_name` and `schema_name` attributes are required. \n However, the attribute requirements are conditional and vary based on the connector type and its metadata structure. For example, for connectors such as Teradata, MySQL, SingleSore, Amazon Aurora MySQL, Amazon RDS MySQL, Oracle, and GCP_MYSQL, the `schema_name` is required, whereas the `database_name` attribute is not.\n Similarly, connectors such as ClickHouse require you to specify the `database_name` and the schema specification in such cases is optional.\n\n**NOTE**: If you are creating a calendar from an existing table, ensure that the referenced table matches the required DDL for custom calendars. If the schema does not match, the API returns an error.\n\n##### Calendar type\nThe API allows you to create the following types of calendars:\n\n* `MONTH_OFFSET`. The default calendar type. A `MONTH_OFFSET` calendar is offset by a few months from the standard calendar months (January to December) and the year begins with the month defined in the request. For example, if the `month_offset` value is set as `April`, the calendar year begins in April.\n\n* `4-4-5`. Each quarter in the calendar will include two 4-week months followed by one 5-week month.\n* `4-5-4`. Each quarter in the calendar will include two 4-week months with a 5-week month between.\n* `5-4-4`. Each quarter begins with a 5-week month, followed by two 4-week months.\n\nTo start and end the calendar on a specific date, specify the dates in the `MM/DD/YYYY` format. For `MONTH_OFFSET` calendars, ensure that the `start_date` matches the month specified in the `month_offset` attribute.\n\nYou can also set the starting day of the week and customize the prefixes for year and quarter labels.\n\n#### Examples\n\nTo create a calendar from an existing table:\n\n```\n{\n \"name\": \"MyCustomCalendar1\",\n \"table_reference\": {\n \"connection_identifier\": \"4db8ea22-2ff4-4224-b05a-26674717e468\",\n \"table_name\": \"MyCalendarTable\",\n \"database_name\": \"RETAILAPPAREL\",\n \"schema_name\": \"PUBLIC\"\n },\n \"creation_method\": \"FROM_EXISTING_TABLE\",\n}\n```\n\nTo create a calendar from scratch:\n\n```\n{\n \"name\": \"MyCustomCalendar1\",\n \"table_reference\": {\n \"connection_identifier\": \"4db8ea22-2ff4-4224-b05a-26674717e468\",\n \"table_name\": \"MyCalendarTable\",\n \"database_name\": \"RETAILAPPAREL\",\n \"schema_name\": \"PUBLIC\"\n },\n \"creation_method\": \"FROM_INPUT_PARAMS\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"April\",\n \"start_day_of_week\": \"Monday\",\n \"quarter_name_prefix\": \"Q\",\n \"year_name_prefix\": \"FY\",\n \"start_date\": \"04/01/2025\",\n \"end_date\": \"04/31/2025\"\n}\n```\n\n\n\n\n#### Endpoint URL\n" }, "response": [ { "id": "f4234549-6e2c-45e2-af0b-1dfc3a472447", "name": "Custom calendar created successfully.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"creation_method\": \"FROM_EXISTING_TABLE\",\n \"table_reference\": {\n \"connection_identifier\": \"\",\n \"table_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/create", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "create" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"calendar_name\": \"\",\n \"connection_name\": \"\",\n \"data_warehouse_type\": \"\",\n \"modification_time_in_millis\": \"\",\n \"author_name\": \"\",\n \"connection_id\": \"\",\n \"calendar_id\": \"\"\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-f4234549-6e2c-45e2-af0b-1dfc3a472447" }, { "id": "c5ad8640-8b1c-498c-8301-f24793bd7ee5", "name": "Invalid request.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"creation_method\": \"FROM_EXISTING_TABLE\",\n \"table_reference\": {\n \"connection_identifier\": \"\",\n \"table_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/create", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "create" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-c5ad8640-8b1c-498c-8301-f24793bd7ee5" }, { "id": "4ad7d846-d7b4-4658-b9d0-a93f37106d26", "name": "Unauthorized access.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"creation_method\": \"FROM_EXISTING_TABLE\",\n \"table_reference\": {\n \"connection_identifier\": \"\",\n \"table_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/create", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "create" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-4ad7d846-d7b4-4658-b9d0-a93f37106d26" }, { "id": "91655270-2ea9-4a9e-a75a-8255080d75ce", "name": "Forbidden access.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"creation_method\": \"FROM_EXISTING_TABLE\",\n \"table_reference\": {\n \"connection_identifier\": \"\",\n \"table_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/create", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "create" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-91655270-2ea9-4a9e-a75a-8255080d75ce" }, { "id": "d4712da0-fc10-4af8-81cc-aff19e07f0d5", "name": "Unexpected error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"creation_method\": \"FROM_EXISTING_TABLE\",\n \"table_reference\": {\n \"connection_identifier\": \"\",\n \"table_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/create", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "create" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-d4712da0-fc10-4af8-81cc-aff19e07f0d5" } ], "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-37fc6d3e-d6ce-4fe7-a095-eafbf1a46500" } ], "id": "9555fbd7-a254-4540-aec6-eb1996ea407f", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-9555fbd7-a254-4540-aec6-eb1996ea407f" }, { "name": "{calendar_identifier}", "item": [ { "name": "delete", "item": [ { "name": "delete Calendar", "id": "48d1bbbc-4cd4-4879-842f-8fd674cb0d12", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/:calendar_identifier/delete", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", ":calendar_identifier", "delete" ], "variable": [ { "id": "c55ff418-97ac-4ce8-b4ca-f44a78689676", "key": "calendar_identifier", "value": "", "description": "(Required) Unique ID or name of the Calendar." } ] }, "description": "\n Version: 10.12.0.cl or later\n\nDeletes a [custom calendar](https://docs.thoughtspot.com/cloud/latest/connections-cust-cal).\n\nRequires `DATAMANAGEMENT` (**Can manage data**) or `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.\nIf [Role-Based Access Control (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your ThoughtSpot instance, the `CAN_MANAGE_CUSTOM_CALENDAR` (**Can manage custom calendars**) privilege is required.\n\n#### Usage guidelines\nTo delete a custom calendar, specify the calendar ID as a path parameter in the request URL. \n\n\n\n\n#### Endpoint URL\n" }, "response": [ { "id": "36a6d2fc-ae8d-4734-b539-926a9336dc9b", "name": "Custom calendar successfully deleted.", "originalRequest": { "method": "POST", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/:calendar_identifier/delete", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", ":calendar_identifier", "delete" ], "variable": [ { "key": "calendar_identifier" } ] } }, "status": "No Content", "code": 204, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-36a6d2fc-ae8d-4734-b539-926a9336dc9b" }, { "id": "c04a33ff-a2c6-4334-923a-dcdbe6e9f540", "name": "Invalid request.", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/:calendar_identifier/delete", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", ":calendar_identifier", "delete" ], "variable": [ { "key": "calendar_identifier" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-c04a33ff-a2c6-4334-923a-dcdbe6e9f540" }, { "id": "65009a8c-57df-425a-a3cf-249552a05728", "name": "Unauthorized access.", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/:calendar_identifier/delete", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", ":calendar_identifier", "delete" ], "variable": [ { "key": "calendar_identifier" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-65009a8c-57df-425a-a3cf-249552a05728" }, { "id": "c0fe09cb-0ab1-449a-a454-c7f0e3dc3af1", "name": "Forbidden access.", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/:calendar_identifier/delete", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", ":calendar_identifier", "delete" ], "variable": [ { "key": "calendar_identifier" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-c0fe09cb-0ab1-449a-a454-c7f0e3dc3af1" }, { "id": "a78b9ec8-820e-4ef1-a08c-1834e6c62344", "name": "Unexpected error", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/:calendar_identifier/delete", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", ":calendar_identifier", "delete" ], "variable": [ { "key": "calendar_identifier" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-a78b9ec8-820e-4ef1-a08c-1834e6c62344" } ], "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-48d1bbbc-4cd4-4879-842f-8fd674cb0d12" } ], "id": "85d27bac-4e7b-4e7f-a5e5-3b7eb130c617", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-85d27bac-4e7b-4e7f-a5e5-3b7eb130c617" }, { "name": "update", "item": [ { "name": "update Calendar", "id": "833a0edc-6457-4f71-965c-9cf01fb79537", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"table_reference\": {\n \"connection_identifier\": \"\",\n \"table_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n \"update_method\": \"FROM_INPUT_PARAMS\",\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/:calendar_identifier/update", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", ":calendar_identifier", "update" ], "variable": [ { "id": "08dde859-4cf4-4979-9a26-1d072b33f000", "key": "calendar_identifier", "value": "", "description": "(Required) Unique Id or name of the calendar." } ] }, "description": "\n Version: 10.12.0.cl or later\n\nUpdates the properties of a [custom calendar](https://docs.thoughtspot.com/cloud/latest/connections-cust-cal).\n\nRequires `DATAMANAGEMENT` (**Can manage data**) or `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.\nIf [Role-Based Access Control (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your ThoughtSpot instance, the `CAN_MANAGE_CUSTOM_CALENDAR` (**Can manage custom calendars**) privilege is required.\n\n#### Usage guidelines\n\nYou can update the properties of a calendar using one of the following methods:\n* `FROM_INPUT_PARAMS` to update the calendar properties with the values defined in the API request.\n* `FROM_EXISTING_TABLE` Creates a calendar from the parameters defined in the API request.\n\nTo update a custom calendar, specify the calendar ID as a path parameter in the request URL and the following parameters in the request body: \n\n* Connection ID and Table name\n* Database and schema name attributes:\n For most Cloud Data Warehouse (CDW) connectors, both `database_name` and `schema_name` attributes are required. \n However, the attribute requirements are conditional and vary based on the connector type and its metadata structure. For example, for connectors such as Teradata, MySQL, SingleSore, Amazon Aurora MySQL, Amazon RDS MySQL, Oracle, and GCP_MYSQL, the `schema_name` is required, whereas the `database_name` attribute is not.\n Similarly, connectors such as ClickHouse require you to specify the `database_name` and the schema specification in such cases is optional.\n\nThe API allows you to modify the calendar type, month offset value, start and end date, starting day of the week, and prefixes assigned to the year and quarter labels. \n\n#### Examples\n\nUpdate a custom calendar using an existing Table in ThoughtSpot:\n\n```\n{\n \"update_method\": \"FROM_EXISTING_TABLE\",\n \"table_reference\": {\n \"connection_identifier\": \"Connection1\",\n \"database_name\": \"db1\",\n \"table_name\": \"custom_calendar_2025\",\n \"schame_name\": \"schemaVar\"\n }\n}\n```\n\nUpdate a custom calendar with the attributes defined in the API request:\n\n```\n{\n \"update_method\": \"FROM_INPUT_PARAMS\",\n \"table_reference\": {\n \"connection_identifier\": \"Connection1\",\n \"database_name\": \"db1\",\n \"table_name\": \"custom_calendar_2025\",\n \"schame_name\": \"schemaVar\"\n },\n \"month_offset\": \"August\",\n \"start_day_of_week\": \"Monday\",\n \"start_date\": \"08/01/2025\",\n \"end_date\": \"07/31/2026\"\n}\n```\n\n\n\n\n#### Endpoint URL\n" }, "response": [ { "id": "2f71334d-79ee-4dcc-95ae-28ee97572459", "name": "Custom calendar updated successfully.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"table_reference\": {\n \"connection_identifier\": \"\",\n \"table_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n \"update_method\": \"FROM_INPUT_PARAMS\",\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/:calendar_identifier/update", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", ":calendar_identifier", "update" ], "variable": [ { "key": "calendar_identifier" } ] } }, "status": "No Content", "code": 204, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-2f71334d-79ee-4dcc-95ae-28ee97572459" }, { "id": "95753316-1e9b-4cb7-a5dc-283266a526f9", "name": "Invalid request.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"table_reference\": {\n \"connection_identifier\": \"\",\n \"table_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n \"update_method\": \"FROM_INPUT_PARAMS\",\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/:calendar_identifier/update", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", ":calendar_identifier", "update" ], "variable": [ { "key": "calendar_identifier" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-95753316-1e9b-4cb7-a5dc-283266a526f9" }, { "id": "b460b1cc-c803-41d9-98ae-2a19e76b0c72", "name": "Unauthorized access.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"table_reference\": {\n \"connection_identifier\": \"\",\n \"table_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n \"update_method\": \"FROM_INPUT_PARAMS\",\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/:calendar_identifier/update", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", ":calendar_identifier", "update" ], "variable": [ { "key": "calendar_identifier" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-b460b1cc-c803-41d9-98ae-2a19e76b0c72" }, { "id": "060bb4a9-c09c-4d47-9888-1a2812e68c0b", "name": "Forbidden access.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"table_reference\": {\n \"connection_identifier\": \"\",\n \"table_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n \"update_method\": \"FROM_INPUT_PARAMS\",\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/:calendar_identifier/update", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", ":calendar_identifier", "update" ], "variable": [ { "key": "calendar_identifier" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-060bb4a9-c09c-4d47-9888-1a2812e68c0b" }, { "id": "0f2adb4f-c68e-4030-a005-f703c2054294", "name": "Unexpected error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"table_reference\": {\n \"connection_identifier\": \"\",\n \"table_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n \"update_method\": \"FROM_INPUT_PARAMS\",\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/:calendar_identifier/update", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", ":calendar_identifier", "update" ], "variable": [ { "key": "calendar_identifier" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-0f2adb4f-c68e-4030-a005-f703c2054294" } ], "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-833a0edc-6457-4f71-965c-9cf01fb79537" } ], "id": "dcf81801-ac4a-4e67-9fab-dea977b08553", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-dcf81801-ac4a-4e67-9fab-dea977b08553" } ], "id": "2c046fe9-1ff5-452b-91d4-8788ef673e61", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-2c046fe9-1ff5-452b-91d4-8788ef673e61" }, { "name": "generate-csv", "item": [ { "name": "generate CSV", "id": "6da79970-8693-4bac-ad0d-8f783ef441d5", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/generate-csv", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "generate-csv" ] }, "description": "\n Version: 10.12.0.cl or later\n\nExports a [custom calendar](https://docs.thoughtspot.com/cloud/latest/connections-cust-cal) in the CSV format.\n\nRequires `DATAMANAGEMENT` (**Can manage data**) or `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.\nIf [Role-Based Access Control (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your ThoughtSpot instance, the `CAN_MANAGE_CUSTOM_CALENDAR` (**Can manage custom calendars**) privilege is required.\n\n#### Usage guidelines\n\nUse this API to download a custom calendar in the CSV file format. In your API request, specify the following parameters.\n\n* Start and end date of the calendar. For \"month offset\" calendars, the start date must match the month defined in the `month_offset` attribute.\n\nYou can also specify optional parameters such as the starting day of the week and prefixes for the quarter and year labels.\n\n\n\n\n#### Endpoint URL\n" }, "response": [ { "id": "efe9218a-a9d0-4a9c-846f-b2732e85c371", "name": "Generate custom calendar data based on specifications, as a CSV file.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/generate-csv", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "generate-csv" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-efe9218a-a9d0-4a9c-846f-b2732e85c371" }, { "id": "8d137413-3287-4fef-a0b0-8e11ab09331b", "name": "Invalid request.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/generate-csv", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "generate-csv" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-8d137413-3287-4fef-a0b0-8e11ab09331b" }, { "id": "c31f4a97-55a9-4220-b08f-90ee07f151cb", "name": "Unauthorized access.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/generate-csv", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "generate-csv" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-c31f4a97-55a9-4220-b08f-90ee07f151cb" }, { "id": "875d9ffe-7bb2-4eec-8f8d-b86308658ca8", "name": "Forbidden access.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/generate-csv", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "generate-csv" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-875d9ffe-7bb2-4eec-8f8d-b86308658ca8" }, { "id": "dc73ac41-a2af-43ff-bce5-4bd8271cb7b1", "name": "Unexpected error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"start_date\": \"\",\n \"end_date\": \"\",\n \"calendar_type\": \"MONTH_OFFSET\",\n \"month_offset\": \"January\",\n \"start_day_of_week\": \"Sunday\",\n \"quarter_name_prefix\": \"\",\n \"year_name_prefix\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/generate-csv", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "generate-csv" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-dc73ac41-a2af-43ff-bce5-4bd8271cb7b1" } ], "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-6da79970-8693-4bac-ad0d-8f783ef441d5" } ], "id": "1787641d-5910-47bd-83de-dd357a3f682b", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-1787641d-5910-47bd-83de-dd357a3f682b" }, { "name": "search", "item": [ { "name": "search Calendars", "id": "a86aed64-64ef-4a7b-b4ec-76ed8ca7807c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"connection_identifier\": \"\",\n \"name_pattern\": \"\",\n \"record_offset\": 0,\n \"record_size\": 10,\n \"sort_options\": {\n \"field_name\": \"DEFAULT\",\n \"order\": \"ASC\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/search", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "search" ] }, "description": "\n Version: 10.12.0.cl or later\n\nGets a list of [custom calendars](https://docs.thoughtspot.com/cloud/latest/connections-cust-cal).\n\nRequires `DATAMANAGEMENT` (**Can manage data**) or `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.\nIf [Role-Based Access Control (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your ThoughtSpot instance, the `CAN_MANAGE_CUSTOM_CALENDAR` (**Can manage custom calendars**) privilege is required.\n\n#### Usage guidelines\n\nBy default, the API returns a list of custom calendars for all connection objects. To retrieve custom calendar details for a particular connection, specify the connection ID. You can also use other search parameters such as `name_pattern` and `sort_options` as search filters.\n\nThe `name_pattern` parameter filters and returns only those objects that match the specified pattern. Use `%` as a wildcard for pattern matching.\n\n\n\n\n#### Endpoint URL\n" }, "response": [ { "id": "8d3a8ae7-22ee-4686-8426-141caf2e36ab", "name": "Custom calendar fetched successfully.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"connection_identifier\": \"\",\n \"name_pattern\": \"\",\n \"record_offset\": 0,\n \"record_size\": 10,\n \"sort_options\": {\n \"field_name\": \"DEFAULT\",\n \"order\": \"ASC\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/search", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "search" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "[\n {\n \"calendar_name\": \"\",\n \"connection_name\": \"\",\n \"data_warehouse_type\": \"\",\n \"modification_time_in_millis\": \"\",\n \"author_name\": \"\",\n \"connection_id\": \"\",\n \"calendar_id\": \"\"\n },\n {\n \"calendar_name\": \"\",\n \"connection_name\": \"\",\n \"data_warehouse_type\": \"\",\n \"modification_time_in_millis\": \"\",\n \"author_name\": \"\",\n \"connection_id\": \"\",\n \"calendar_id\": \"\"\n }\n]", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-8d3a8ae7-22ee-4686-8426-141caf2e36ab" }, { "id": "ef6fac99-c585-4dfc-8836-b6f613caa7fc", "name": "Invalid request.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"connection_identifier\": \"\",\n \"name_pattern\": \"\",\n \"record_offset\": 0,\n \"record_size\": 10,\n \"sort_options\": {\n \"field_name\": \"DEFAULT\",\n \"order\": \"ASC\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/search", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "search" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-ef6fac99-c585-4dfc-8836-b6f613caa7fc" }, { "id": "09eaea3a-3f51-4541-bb1e-426fbe510834", "name": "Unauthorized access.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"connection_identifier\": \"\",\n \"name_pattern\": \"\",\n \"record_offset\": 0,\n \"record_size\": 10,\n \"sort_options\": {\n \"field_name\": \"DEFAULT\",\n \"order\": \"ASC\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/search", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "search" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-09eaea3a-3f51-4541-bb1e-426fbe510834" }, { "id": "df71b292-f8ff-4fc2-bba9-37a08df71e8e", "name": "Forbidden access.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"connection_identifier\": \"\",\n \"name_pattern\": \"\",\n \"record_offset\": 0,\n \"record_size\": 10,\n \"sort_options\": {\n \"field_name\": \"DEFAULT\",\n \"order\": \"ASC\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/search", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "search" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-df71b292-f8ff-4fc2-bba9-37a08df71e8e" }, { "id": "cddda44e-662f-4ba9-a154-797875d32cf1", "name": "Unexpected error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"connection_identifier\": \"\",\n \"name_pattern\": \"\",\n \"record_offset\": 0,\n \"record_size\": 10,\n \"sort_options\": {\n \"field_name\": \"DEFAULT\",\n \"order\": \"ASC\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/rest/2.0/calendars/search", "host": [ "{{baseUrl}}" ], "path": [ "api", "rest", "2.0", "calendars", "search" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"error\": {}\n}", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-cddda44e-662f-4ba9-a154-797875d32cf1" } ], "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-a86aed64-64ef-4a7b-b4ec-76ed8ca7807c" } ], "id": "1d67e423-9fac-4ffa-b5c9-fb418890a8a7", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-1d67e423-9fac-4ffa-b5c9-fb418890a8a7" } ], "id": "563e4ae2-ef5a-4f1b-946c-9ecb06d7255e", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-563e4ae2-ef5a-4f1b-946c-9ecb06d7255e" } ], "id": "e9633b3b-9860-41f8-ad50-3a6307749611", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-e9633b3b-9860-41f8-ad50-3a6307749611" } ], "id": "a13ba543-692f-4494-93c3-38f14dc72b57", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-a13ba543-692f-4494-93c3-38f14dc72b57" } ], "id": "5ce1886f-b500-4352-b5f4-8f2090ee4a1f", "createdAt": "2026-07-28T03:15:49.000Z", "updatedAt": "2026-07-28T03:15:49.000Z", "uid": "35240-5ce1886f-b500-4352-b5f4-8f2090ee4a1f" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "variable": [ { "key": "base-url", "value": "https://localhost:443" }, { "key": "baseUrl", "value": "{{base-url}}" } ] }