Skip to content

Get



GET /api/v1/notice/date/{notice_date_uuid}/get

Overview

Reads the name and the complete set of dates of a date configuration.

Before You Call and Usage Steps

Call this endpoint after obtaining the uuid from Custom Notification Date List. Read content.dates as the complete target array when modifying; do not use the response field dates directly as a request parameter—the request must use noticeDates. This resource stores only the date set and does not include the start time of a day, duration, or time zone. When using it, reference this resource UUID in the Alert Policy alertOpt.alertTarget[].customDateUUIDs, and set customStartTime/customDuration together with it; for specific rules, see the Alert Policy parameters page. Reading the time zone used for current alert execution has known limitations; verify the actual time zone according to the instructions on the Alert Policy page.

Route Parameters

Parameter Name Type Required Description
notice_date_uuid string Y UUID of the custom notification date configuration in this workspace, starting with ndate_; it is not a date string or an Alert Policy UUID.
Empty string allowed: False
Example: ndate_example
How to obtain or fill in: Obtain from content.data[].uuid in the Custom Notification Date List or from content.uuid in the create response.

Request Headers

Parameter Name Type Required Description
DF-API-KEY string Y OpenAPI authentication credential for the Workspace.
Example: <DF-API-KEY>
How to obtain or fill in: Obtain an OpenAPI Key with the required permission for this operation from API Key management in the target Workspace.

Additional Parameter Notes

This endpoint reads stored dates and does not re-validate historical values against actual calendar validity.

Request Example

curl --get 'https://openapi.guance.com/api/v1/notice/date/ndate_example/get' \
  -H 'DF-API-KEY: <DF-API-KEY>'

Response

HTTP 200, application/json. The example below shows the main fields that can be read directly.

Field Type Description
content.id integer Record number of the saved date configuration; operations use uuid.
content.uuid string UUID of the date configuration, referenced by Alert Policy customDateUUIDs.
content.workspaceUUID string UUID of the Workspace it belongs to.
content.name string Configuration name.
content.dates array<string> Stored date array; the request field name is noticeDates, and the response field name is dates.
content.dates[] string A single date string in YYYY/MM/DD format.
content.status integer Record status: 0 normal, 3 deleted.
content.creator string Creating identity.
content.updator string Identity of the most recent update; empty string if not yet updated.
content.createAt integer Creation time, in Unix seconds.
content.updateAt integer Update time, in Unix seconds; -1 if not yet updated.
content.deleteAt integer Deletion time, in Unix seconds; -1 if not deleted.
content.declaration object or null Workspace common declaration.
{
  "code": 200,
  "content": {
    "id": 42,
    "uuid": "ndate_example",
    "workspaceUUID": "wksp_example",
    "name": "Production Maintenance Days",
    "dates": [
      "2026/11/20",
      "2026/11/27"
    ],
    "status": 0,
    "creator": "wsak_example",
    "updator": "",
    "createAt": 1785430800,
    "updateAt": -1,
    "deleteAt": -1,
    "declaration": {}
  },
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

Error Response

For authentication, rate limiting, and common request errors, see Common Error Definitions.

HTTP Status errorCode Trigger Condition Message or Response Description Handling
404 ft.ObjectNotExists The date configuration does not exist, has been deleted, or does not belong to the current Workspace The specified object does not exist Obtain a valid uuid again from the Custom Notification Date List.
500 ft.InternalServerError Failed to read the date configuration Internal error Retry later; if it persists, provide the traceId.

Feedback

Is this page helpful?