updateTemplateLocationOrName
- 印刷する
- PDF
updateTemplateLocationOrName
- 印刷する
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
当該コンテンツは、ローカリゼーションサービスを準備しております。早急にローカライズサービスをご提供できるよう、努めております。
ユーザーが要請したテンプレートの位置と名前を修正します。
PUT https://{endpoint}/template/{templateSid}/name-location
リクエスト
リクエストパラメータ
パラメータ名 | 必須 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
templateSid | Yes | Integer | 템플릿 sid | |
templateName | Yes | String | Max:100 | 수정할 템플릿 이름 |
parentSid | No | Integer | 부모 카테고리의 sid | |
lowerSid | No | Integer | 해당 템플릿의 하위에 위치할 템플릿 or 카테고리 sid (위치 조정용, 존재하지 않으면 무시) |
レスポンス
HTTPステータスコード | 説明 |
---|---|
200 | テンプレート修正済み |
400 | 認証失敗、間違ったリクエスト |
500 | サーバエラー |
例示
リクエスト
PUT https://mail.apigw.ntruss.com/api/v1/template/259/name-location
{
"templateName": "AD Template",
"parentSid": 252,
"lowerSid": 255
}
レスポンス
{
"sid": 259,
"createDate": {
"utc": 1589349277158,
"formattedDate": "2020-05-13",
"formattedDateTime": "2020-05-13 14:54:37 158"
},
"name": "AD Template",
"description": null,
"title": "[EN] Naver Cloud Platform",
"senderAddress": "admin@master.com",
"senderName": "Admin",
"body": "Congratulations on your membership.",
"isUse": true,
"category": {
"sid": 252,
"parentSid": -1,
"name": "testCategory"
}
}
属性
項目 | 必須 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
sid | Yes | Integer | 修正したテンプレートのsid | |
createDate | Yes | NesDateTime | 生成日時 | |
name | Yes | String | 修正したテンプレートの名前 | |
description | No | String | 修正したテンプレートについての説明 | |
title | Yes | String | メールの題目 | |
senderAddress | Yes | String | 送信者メールアドレス | |
senderName | No | String | 発送者名 | |
body | Yes | String | メール本文 | |
isUse | Yes | Boolean | テンプレート使用可否 | |
category | No | Category | 親のカテゴリ情報 |
エラーコード
HTTP Status Code | リターンコード | レスポンスメッセージ |
---|---|---|
400 | 77101 | ログイン情報のエラー |
400 | 77102 | BAD_REQUEST |
400 | 77103 | リソースが存在しない |
403 | 77201 | 権限なし |
403 | 77202 | Email商品の利用申込をしていない |
405 | 77001 | METHOD_NOT_ALLOWED |
415 | 77002 | UNSUPPORTED_MEDIA_TYPE |
500 | 77301 | 基本プロジェクトが存在しない |
500 | 77302 | 外部システムAPIの連動エラー |
500 | 77303 | その他のINTERNAL_SERVER_ERROR |
この記事は役に立ちましたか?