모든 고객사의 최근 등록된 디바이스 목록 조회
최근 등록된 고객사들의 디바이스 목록을 조회할 수 있습니다.
등록일을 기준으로 내림차순으로 조회됩니다.
Request
GET https://openapi.willog.io/ext/v1/customers/serials/recent
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| page | Number | false | 고객사 코드 |
| limit | Number | false | 한 번에 조회할 데이터 갯수 (최대: 100) |
Request Example
GET /ext/v1/customers/serials/recent
Authorization: Bearer token
Response
Response Body
| Name | Type | Not-null | Description |
|---|---|---|---|
| items | Array | true | 디바이스 목록 |
| customerCode | String | true | 고객사 이름 |
| serial | String | true | 디바이스 시리얼 |
Example Response
HTTP/1.1 200 OK
{
"items": [
{
"customerCode": "customer1",
"serial": "ab123456"
},
{
"customerCode": "customer2",
"serial": "98611235"
},
{
"customerCode": "customer1",
"serial": "ab123789"
}
]
}
Error Responses
- customerCode에 대한 권한 없음
HTTP/1.1 400 Bad Request
{
"code": "A0016"
}