080 수신거부번호 목록 등록 #
080 수신거부 번호 목록을 등록 합니다.
Request
URL
POST /client/v1/080/ars080Reject HTTP/1.1
Authorization: Bearer {token}
Content-Type: application/json
Host: api.msghub.uplus.co.kr
Header
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | String | true | 사용자 인증 토큰 |
| apiKey | String | true | apiKey |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
| Ars080RejectReq.phone | String | true | 수신번호 |
| Ars080RejectReq.callback | String | true | 발신번호 |
Response
| Name | Type | Description |
|---|---|---|
| code | String | 등록 요청 결과 코드 |
| message | String | 등록 요청 결과 코드 설명 |
Sample
Curl
curl -X POST "https://api.msghub.uplus.co.kr/client/v1/080/ars080Reject"
-H "accept: */*"
-H "apiKey: 발급된apiKey"
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiYWNjZXNzVXJsIjoiYXV0aCIsImlzcyI6ImNtLmxndXBsd..."
-H "Content-Type: application/json"
-d "[
{\"phone\":\"01012341234\",
\"callback\":\"15441234\"}
]"
Response
{
"code": "10000",
"message": "성공"
}
참고
결과 코드 참고
080 수신거부번호 목록 조회 #
080 수신거부 번호 목록을 조회합니다.
Request
URL
POST /client/v1/080/ars080RejectList HTTP/1.1
Authorization: Bearer {token}
Content-Type: application/json
Host: api.msghub.uplus.co.kr
Header
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | String | true | 사용자 인증 토큰 |
| apiKey | String | true | apiKey |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
| phone | String | false | 조회할 전화번호 |
| listCnt | integer | true | 조회할 수신거부 번호 수 |
| pageIdx | integer | true | 페이지 번호 |
Response
| Name | Type | Description |
|---|---|---|
| code | String | 등록 요청 결과 코드 |
| message | String | 등록 요청 결과 코드 설명 |
| data.listCnt | integer | 조회할 수신거부 번호 목록수 |
| data.pageIdx | integer | 페이지 번호 |
| data.rejectList.phone | String | 수신거부 목록의 수신자번호 |
| data.rejectList.callback | String | 수신거부 목록의 발신번호 |
| data.rejectList.delYn | String | 수신거부 목록의 삭제여부 |
| data.rejectList.updDt | String | 수신거부 목록의 수정일시 |
| data.rejectList.delDt | String | 수신거부 목록의 삭제일시 |
| data.tatalCnt | integer | 총 건수 |
Sample
Curl
curl -X POST "https://api.msghub.uplus.co.kr/client/v1/080/ars080RejectList?phone=010123124123&listCnt=10&pageIdx=1 -H "accept: */*" -H "apikey: GW_TEST_1" -d ""
Response
{
"code": "10000",
"message": "성공",
"data": {
"listCnt": 10,
"pageIdx": 1,
"rejectList": [
{
"phone": "01012341234",
"callback": "15441234",
"delYn": "N",
"updDt": "2023-11-09 11:24:46",
"delDt": null
},
{
"phone": "01012341234",
"callback": "01031234569",
"delYn": "N",
"updDt": "2023-10-24 13:29:18",
"delDt": null
}
],
"totalCnt": 2
}
}
참고
결과 코드 참고
080 수신거부번호 목록 기간 조회 #
080 수신거부 번호 목록을 조회합니다.
Request
URL
GET /client/v1/080/ars080BlockNumberList HTTP/1.1
Authorization: Bearer {token}
Content-Type: application/json
Host: mnt-api.msghub.uplus.co.kr
Header
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | String | true | 사용자 인증 토큰 |
| apiKey | String | true | apiKey |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
| 080ArsNumber | String | true | 080 ARS 차단 번호 |
| fromTime | String | true | 검색 시작 시간 |
| toTime | String | true | 검색 종료 시간 |
| page | integer | false | 페이지 번호 (기본값 : 1 페이지) |
| pageSize | integer | false | 080 수신거부 차단번호 노출 개수(기본값 : 10개) |
Response
| Name | Type | Description |
|---|---|---|
| code | String | 등록 요청 결과 코드 |
| message | String | 등록 요청 결과 코드 설명 |
| data[].blockNumber | String | 080 수신 거부 번호 |
| data[].updateTime | String | 업데이트 시간 |
| data[].status | String | 차단해제상태(발송O) : active 차단상태(발송X) : inactive |
| meta.page | integer | 페이지 번호 |
| meta.pageSize | integer | 080 수신거부 차단번호 노출 개수 |
| meta.totalPages | integer | 총 페이지 번호 |
| meta.totalItems | integer | 총 080 수신거부 차단번호 노출 개수 |
| meta.fromTime | String | 검색 시작 시간 |
| meta.toTime | String | 검색 종료 시간 |
| meta.ars080Number | String | 080 ARS 차단 번호 |
Sample
Curl
curl -X GET "https://mnt-api.msghub.uplus.co.kr/client/v1/080/ars080BlockNumberList?080ArsNumber=08011112222&fromTime=20230101000000&toTime=20240101000000" -H "accept: */*" -H "apiKey: APIKEY"
Response
{
"code": "10000",
"message": "성공",
"data": [
{
"blockNumber": "08011112222",
"updateTime": "20240618120000",
"status": "active"
}
],
"meta": {
"page": 1,
"pageSize": 10,
"totalPages": 5,
"totalItems": 50,
"fromTime": "20230921000000",
"toTime": "20241010000000",
"ars080Number": "08011112222"
}
}
참고
결과 코드 참고
080 수신거부번호 삭제 #
080 수신거부 번호를 삭제합니다.
Request
URL
DELETE /client/v1/080/ars080RejectDelete HTTP/1.1
Authorization: Bearer {token}
Content-Type: application/json
Host: api.msghub.uplus.co.kr
Header
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | String | true | 사용자 인증 토큰 |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
| phone | String | true | 수신번호 (ex. 01012341234) |
| callback | String | true | 발신번호 (ex. 15441234) |
Response
| Name | Type | Description |
|---|---|---|
| code | String | 등록 요청 결과 코드 |
| message | String | 등록 요청 결과 코드 설명 |
Sample
Curl
curl -X DELETE "https://api.msghub.uplus.co.kr/client/v1/080/ars080RejectDelete
-H "accept: */*"
-H "apiKey: APIKEY"
-H "Content-Type: application/json"
-d "[{\"phone\":\"01012341234\",\"callback\":\"*\"}]"
Response
{
"code": "10000",
"message": "성공"
}
참고
결과 코드 참고