등록된 디바이스 시리얼 조회
회사의 등록된 디바이스 시리얼을 조회하거나, 하위 고객사들에 등록된 디바이스 시리얼을 조회할 수 있습니다.
Request Parameter에 customerCode를 입력 시 해당 고객사에 등록된 디바이스 시리얼을 조회할 수 있습니다.
Request
GET https://openapi.willog.io/ext/v1/serials
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| customerCode | String | false | 고객사 코드 |
Example Request
GET /ext/v1/serials?customerCode=willog
Authorization: Bearer token
Response
Response Body
| Name | Type | Not-null | Description |
|---|---|---|---|
| name | String | true | 요청한 회사 이름 또는 고객사 이름 |
| serials | Array | true | 등록된 디바이스 시리얼 |
Example Response
HTTP/1.1 200 OK
{
"name": "company name",
"serials": ["ab12345"]
}
Error Responses
- 유효하지 않은 토큰 및 인증키
HTTP/1.1 400 Bad Request
{
"code": "A0010"
}