getTemplateStructure
    • PDF

    getTemplateStructure

    • PDF

    Article Summary

    テンプレートおよびカテゴリの構造を照会します。

    GET https://{endpoint}/template
    

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    isUseNoBooleanDefault: 全体照会使用中のもののみ照会の有無

    レスポンス

    HTTPステータスコード説明
    200テンプレートおよびカテゴリの構造照会済み
    400認証失敗、不正なリクエスト
    500サーバエラー

    リクエスト例

    GET https://mail.apigw.ntruss.com/api/v1/template?isUse=true
    

    レスポンス例

    {
      "contents": [
        {
          "sid": 261,
          "parentSid": -1,
          "createDate": {
            "utc": 1589355820663,
            "formattedDate": "2020-05-13",
            "formattedDateTime": "2020-05-13 16:43:40 663"
          },
          "name": "AD",
          "isCategory": true,
          "isUse": true,
          "subCategories": null,
          "templates": [
            {
              "sid": 262,
              "parentSid": 261,
              "createDate": {
                "utc": 1589355868201,
                "formattedDate": "2020-05-13",
                "formattedDateTime": "2020-05-13 16:44:28 201"
              },
              "name": "AD_Template",
              "isCategory": false,
              "isUse": true,
              "subCategories": null,
              "templates": null
            }
          ]
        }
      ]
    }
    

    属性

    項目要否タイプ制約事項説明
    contentsNoList<TemplateStructureResponse>テンプレートおよびカテゴリの詳細構造

    エラーコード

    HTTP Status Codeリターンコードレスポンスメッセージ
    40077101ログイン情報エラー
    40077102BAD_REQUEST
    40077103リソースが存在しない
    40377201権限なし
    40377202Email商品の使用申請をしない
    40577001METHOD_NOT_ALLOWED
    41577002UNSUPPORTED_MEDIA_TYPE
    50077301基本プロジェクトが存在しない
    50077302外部システム APIの連携エラー
    50077303その他の INTERNAL_SERVER_ERROR

    この記事は役に立ちましたか?

    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.