CreatePlannedMaintenance
    • PDF

    CreatePlannedMaintenance

    • PDF

    Article summary

    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

    PMCreateUpdateDto

    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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.