수정¶
POST /api/v1/notice/date/{notice_date_uuid}/modify
개요¶
알림 정책-사용자 정의 알림 날짜 수정
경로 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| notice_date_uuid | string | Y | 알림 정책-사용자 정의 알림 날짜 구성의 고유 UUID 빈 문자열 허용: False |
요청 본문 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| name | string | Y | 이름 비어 있을 수 없음: False 최대 길이: 256 |
| noticeDates | array | 날짜 목록 예시: ['2024/01/02', '2024/02/03'] 비어 있을 수 없음: False |
매개변수 추가 설명¶
데이터 설명.*
- 요청 본문 매개변수 설명
| 매개변수명 | type | 설명 |
|---|---|---|
| name | str | 알림 정책-사용자 정의 알림 날짜 구성 이름 |
| noticeDates | list | 날짜 목록, 예시: ["2024/01/01","2024/05/01", "2024/10/01"] |
요청 예시¶
curl 'https://openapi.guance.com/api/v1/notice/date/ndate_xxxx32/modify' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"name": "test002", "noticeDates": ["2025/01/01","2025/10/01"]}' \
--compressed
응답¶
{
"code": 200,
"content": {
"createAt": 1705566710,
"creator": "xxxx",
"dates": [
"2025/01/01",
"2025/10/01"
],
"declaration": {
"asd": [
"afaw"
],
"asdasd": [
"dawdawd"
],
"business": "aaa",
"fawf": [
"afawf"
],
"organization": "6540c09e4243b300077a9675"
},
"deleteAt": -1,
"id": 4,
"name": "test002",
"status": 0,
"updateAt": 1705567170.109928,
"updator": "xxxx",
"uuid": "ndate_xxxx32",
"workspaceUUID": "wksp_xxxx32"
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-53EB1233-2398-4ABD-8CA0-BF14D8C3AA4D"
}