CreatePlannedMaintenance
- Print
- PDF
CreatePlannedMaintenance
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Create planned maintenance.
Request
API URL
URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/planned-maintenances
Method: POST
Request headers
The request headers specified in common settings are required.
Content-Type: application/json
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Request body
Examples
Request example
The following is an example of creating a planned maintenance with a fs
type dimension of mnt_nm: /
in a product whose cw_key is xxxxxxxxxxxxxxxxxx
.
POST /cw_fea/real/cw/api/planned-maintenances
Host: cw.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Payload:
{
"desc": "",
"dimensions": {
"xxxxxxxxxxxxxxxxxx": [
{
"instanceNo": "{instanceNo}",
"mnt_nm": "/",
"type": "fs"
}
]
},
"endTime": 1721133000000,
"startTime": 1721129400000,
"title": "{title}"
}
Response example
The ID of the created planned maintenance is returned if it was created successfully without errors.
"1234567890123456789"
Was this article helpful?