# 사용자 접속 이력 조회

## 사용자 접속 이력 목록 조회

> \## 기능설명\
> \* 시스템 구분, 사용자ID/명, 조회기간, 로그인사유유무에 맞는 사용자 접속이력 목록을 조회합니다.\
> \---\
> \## 상세설명\
> \* 시스템 구분, 사용자ID/명, 조회기간, 로그인사유유무에 맞는 사용자 접속이력 목록을 조회합니다.\
> \---\
> \## 수정번호\
> \* Release v2.00\_240530: 날짜조회 쿼리 변경<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"LoginLogRequest":{"type":"object","properties":{"userId":{"type":"string"},"sysGbCd":{"type":"string"},"userIdConditionParam":{"type":"string"},"userNmConditionParam":{"type":"string"},"loginDtmStart":{"type":"string","format":"date"},"loginDtmEnd":{"type":"string","format":"date"},"connCausCont":{"type":"string"},"excelHeader":{"type":"string"}}},"ResponseRealGridListResponseLoginLogResponse":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"$ref":"#/components/schemas/RealGridListResponseLoginLogResponse","description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"RealGridListResponseLoginLogResponse":{"type":"object","properties":{"totalCount":{"type":"integer","format":"int32"},"payloads":{"type":"array","items":{"$ref":"#/components/schemas/LoginLogResponse"}}}},"LoginLogResponse":{"type":"object","description":"사용자 접속 이력 응답 DTO","properties":{"sysGbCd":{"type":"string","description":"시스템구분코드"},"sysGbNm":{"type":"string","description":"시스템구분명"},"userId":{"type":"string","description":"사용자ID"},"userNm":{"type":"string","description":"사용자명"},"loginDtm":{"type":"string","format":"date-time","description":"로그인일시"},"loginIpAddr":{"type":"string","description":"로그인IP주소"},"connCausCont":{"type":"string","description":"접속사유"},"loutDtm":{"type":"string","format":"date-time","description":"로그아웃일시"},"pwdLockYn":{"type":"string","description":"잠김여부"},"loginCnt":{"type":"integer","format":"int32","description":"로그인 수"}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}},"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}}}},"paths":{"/v2/system/userAccessHistoryInquiry/getLastLoginInfoList":{"get":{"tags":["사용자 접속 이력 조회"],"summary":"사용자 접속 이력 목록 조회","description":"## 기능설명\n* 시스템 구분, 사용자ID/명, 조회기간, 로그인사유유무에 맞는 사용자 접속이력 목록을 조회합니다.\n---\n## 상세설명\n* 시스템 구분, 사용자ID/명, 조회기간, 로그인사유유무에 맞는 사용자 접속이력 목록을 조회합니다.\n---\n## 수정번호\n* Release v2.00_240530: 날짜조회 쿼리 변경\n","operationId":"getLastLoginInfoList","parameters":[{"name":"stlogLoginLogRequest","in":"query","required":true,"schema":{"$ref":"#/components/schemas/LoginLogRequest"}},{"name":"sysGbCd","in":"query","description":"시스템구분코드","schema":{"type":"string"}},{"name":"userIdConditionParam","in":"query","description":"사용자ID 검색명","schema":{"type":"string"}},{"name":"userNmConditionParam","in":"query","description":"사용자명 검색명","schema":{"type":"string"}},{"name":"loginDtmStart","in":"query","description":"조회시작일자","schema":{"type":"LocalDate"}},{"name":"loginDtmEnd","in":"query","description":"조회종료일자","schema":{"type":"LocalDate"}},{"name":"connCausCont","in":"query","description":"조회사유유무","schema":{"type":"string"}},{"name":"pageIdx","in":"query","description":"현재 페이지","required":true,"schema":{"type":"string"}},{"name":"rowsPerPage","in":"query","description":"페이지 당 row","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseRealGridListResponseLoginLogResponse"}}}},"900":{"description":"업무처리 오류 내용","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## 사용자 접속 이력 상세 목록 조회

> \## 기능설명\
> \* 시스템 구분, 사용자ID, 조회기간, 로그인사유유무에 맞는 사용자 접속 이력 상세 목록을 조회합니다.\
> \---\
> \## 상세설명\
> \* 시스템 구분, 사용자ID, 조회기간, 로그인사유유무에 맞는 사용자 접속 이력 상세 목록을 조회합니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"LoginLogRequest":{"type":"object","properties":{"userId":{"type":"string"},"sysGbCd":{"type":"string"},"userIdConditionParam":{"type":"string"},"userNmConditionParam":{"type":"string"},"loginDtmStart":{"type":"string","format":"date"},"loginDtmEnd":{"type":"string","format":"date"},"connCausCont":{"type":"string"},"excelHeader":{"type":"string"}}},"ResponseRealGridListResponseLoginLogResponse":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"$ref":"#/components/schemas/RealGridListResponseLoginLogResponse","description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"RealGridListResponseLoginLogResponse":{"type":"object","properties":{"totalCount":{"type":"integer","format":"int32"},"payloads":{"type":"array","items":{"$ref":"#/components/schemas/LoginLogResponse"}}}},"LoginLogResponse":{"type":"object","description":"사용자 접속 이력 응답 DTO","properties":{"sysGbCd":{"type":"string","description":"시스템구분코드"},"sysGbNm":{"type":"string","description":"시스템구분명"},"userId":{"type":"string","description":"사용자ID"},"userNm":{"type":"string","description":"사용자명"},"loginDtm":{"type":"string","format":"date-time","description":"로그인일시"},"loginIpAddr":{"type":"string","description":"로그인IP주소"},"connCausCont":{"type":"string","description":"접속사유"},"loutDtm":{"type":"string","format":"date-time","description":"로그아웃일시"},"pwdLockYn":{"type":"string","description":"잠김여부"},"loginCnt":{"type":"integer","format":"int32","description":"로그인 수"}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}},"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}}}},"paths":{"/v2/system/userAccessHistoryInquiry/getDetailLoginHistoryList":{"get":{"tags":["사용자 접속 이력 조회"],"summary":"사용자 접속 이력 상세 목록 조회","description":"## 기능설명\n* 시스템 구분, 사용자ID, 조회기간, 로그인사유유무에 맞는 사용자 접속 이력 상세 목록을 조회합니다.\n---\n## 상세설명\n* 시스템 구분, 사용자ID, 조회기간, 로그인사유유무에 맞는 사용자 접속 이력 상세 목록을 조회합니다.\n","operationId":"getDetailLoginHistoryList","parameters":[{"name":"stlogLoginLogRequest","in":"query","required":true,"schema":{"$ref":"#/components/schemas/LoginLogRequest"}},{"name":"userId","in":"query","description":"사용자ID","schema":{"type":"string"}},{"name":"sysGbCd","in":"query","description":"시스템구분코드","schema":{"type":"string"}},{"name":"loginDtmStart","in":"query","description":"조회시작일자","schema":{"type":"string"}},{"name":"loginDtmEnd","in":"query","description":"조회종료일자","schema":{"type":"string"}},{"name":"connCausCont","in":"query","description":"조회사유유무","schema":{"type":"string"}},{"name":"pageIdx","in":"query","description":"현재 페이지","required":true,"schema":{"type":"string"}},{"name":"rowsPerPage","in":"query","description":"페이지 당 row","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseRealGridListResponseLoginLogResponse"}}}},"900":{"description":"업무처리 오류 내용","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tech.x2bee.com/api/back-office-api/system-bo-api/undefined-27.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
