getSendBlockList
- 印刷する
- PDF
getSendBlockList
- 印刷する
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
送信拒否履歴照会
GET https://{endpoint}/send-block
リクエスト
リクエストパラメータ
パラメータ名 | 必須 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
size | No | Integer | Default:10 | 1ページ当たりのレコード数 |
page | No | Integer | Default:0 | 結果を表示したいページのindex (0..N) |
sort | No | String | Default: createUtc, createUtc: 作成日時 | 並び順のフィールド(形式: property(,asc|desc)):デフォルトの並び順は昇順(asc)で、複数のフィールドを並び順に利用することができる。 |
targetAddress | Yes | String | email 주소 형식 | 발송 차단 내역을 확인할 메일 주소 |
レスポンス
HTTPステータスコード | 説明 |
---|---|
200 | 遮断履歴照会済み |
400 | 認証失敗、間違ったリクエスト |
500 | サーバエラー |
例示
リクエスト
GET https://mail.apigw.ntruss.com/api/v1/send-block?targetAddress=test01%40ncp-mail.com
レスポン
{
"content": [
{
"targetAddress": "test01@ncp-mail.com",
"actionType": {
"label": "Delete",
"code": "D"
},
"actionRequesterType": {
"label": "System",
"code": "SYSTEM"
},
"requestDate": {
"utc": 1588649460935,
"formattedDate": "2020-05-05",
"formattedDateTime": "2020-05-05 12:31:00 935"
}
},
{
"targetAddress": "test01@ncp-mail.com",
"actionType": {
"label": "Create",
"code": "C"
},
"actionRequesterType": {
"label": "Other customer",
"code": "OTHER_CUSTOMER"
},
"requestDate": {
"utc": 1588044631372,
"formattedDate": "2020-04-28",
"formattedDateTime": "2020-04-28 12:30:31 372"
}
}
],
"registerStatus": "Not blocked",
"expectedDeleteDate": null,
"totalElements": 2,
"totalPages": 1,
"last": true,
"numberOfElements": 2,
"first": true,
"sort": [
{
"direction": "DESC",
"property": "createUtc",
"ignoreCase": false,
"nullHandling": "NATIVE",
"descending": true,
"ascending": false
}
],
"size": 10,
"number": 0
}
属性
項目 | 必須 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
totalElements | Yes | Integer | レコード総数 | |
totalPages | Yes | Integer | ページ総数 | |
numberOfElements | Yes | Integer | 現在ページのレコード数 | |
first | Yes | Boolean | 最初ページの可否 | |
last | Yes | Boolean | 最終ページの可否 | |
number | Yes | Integer | 現在ページのindex (0からスタート) | |
size | Yes | Integer | 1ページ当たりのレコード数 | |
sort | Yes | List<Sort> | 並び | |
registerStatus | Yes | String | ステータス:ブロックされない、ブロック中 | 現在このメールが送信をブロック中かどうか |
expectedDeleteDate | No | NesDateTime | 遮断解除予定日時 | |
content | No | List<SendBlockHistoryResponse> | 詳細内容 |
エラーコード
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 |
この記事は役に立ちましたか?