Common-Code API
+[Code 전체코드 조회]
+[HTTP REQUEST INFO]
+GET /v1/com/code/all?siteCd=KAC&langDivCd=ko_KR HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Accept: application/json
+Host: localhost:8080
+Parameter | +Description | +
---|---|
|
+사이트코드 |
+
|
+언어코드 |
+
[HTTP RESPONSE INFO]
+HTTP/1.1 200 OK
+Content-Type: application/json;charset=UTF-8
+Content-Length: 1897
+
+[ {
+ "groupCd" : "8984",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+}, {
+ "groupCd" : "NEW_GROUP_1706059161",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+}, {
+ "groupCd" : "NEW_GROUP_1706061920",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+}, {
+ "groupCd" : "NEW_GROUP_1706061927",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+}, {
+ "groupCd" : "NEW_GROUP_1706061935",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+}, {
+ "groupCd" : "NEW_GROUP001",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : [ {
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE001",
+ "cdNm" : null,
+ "upperCd" : null,
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "children" : null
+ }, {
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE002",
+ "cdNm" : null,
+ "upperCd" : null,
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "children" : null
+ }, {
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE170605827510",
+ "cdNm" : null,
+ "upperCd" : null,
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "children" : null
+ }, {
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE170605829584",
+ "cdNm" : null,
+ "upperCd" : null,
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "children" : null
+ }, {
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE170605916148",
+ "cdNm" : null,
+ "upperCd" : null,
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "children" : null
+ } ]
+}, {
+ "groupCd" : "NEW_GROUP002",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+} ]
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹 코드 |
+
|
+
|
+사이트 코드 |
+
|
+
|
+그룹 명 |
+
|
+
|
+비고 |
+
|
+
|
+그룹에 포함된 코드 리스트 |
+
|
+
|
+코드의 그룹 |
+
|
+
|
+코드의 ID |
+
|
+
|
+코드의 이름 |
+
|
+
|
+상위 코드의 이름 |
+
|
+
|
+코드의 정렬순서 |
+
|
+
|
+코드의 추가 밸류 |
+
|
+
|
+코드의 하위요소 |
+
+
[Code 코드목록 조회]
+[HTTP REQUEST INFO]
+GET /v1/com/code/code?groupCd=NEW_GROUP001&langDivCd=ko_KR HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Accept: application/json
+Host: localhost:8080
+Parameter | +Description | +
---|---|
|
+그룹코드 |
+
|
+언어코드 |
+
[HTTP RESPONSE INFO]
+HTTP/1.1 200 OK
+Content-Type: application/json;charset=UTF-8
+Content-Length: 864
+
+[ {
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE001",
+ "cdNm" : null,
+ "upperCd" : null,
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "children" : null
+}, {
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE002",
+ "cdNm" : null,
+ "upperCd" : null,
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "children" : null
+}, {
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE170605827510",
+ "cdNm" : null,
+ "upperCd" : null,
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "children" : null
+}, {
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE170605829584",
+ "cdNm" : null,
+ "upperCd" : null,
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "children" : null
+}, {
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE170605916148",
+ "cdNm" : null,
+ "upperCd" : null,
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "children" : null
+} ]
+Path | +Type | +Description | +
---|---|---|
|
+
|
+코드의 그룹 |
+
|
+
|
+코드의 ID |
+
|
+
|
+코드의 이름 |
+
|
+
|
+상위 코드의 이름 |
+
|
+
|
+코드의 정렬순서 |
+
|
+
|
+코드의 추가 밸류 |
+
|
+
|
+코드의 하위요소 |
+
+
[Code 그룹목록 조회]
+[HTTP REQUEST INFO]
+GET /v1/com/code/group HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Accept: application/json
+Host: localhost:8080
+[HTTP RESPONSE INFO]
+HTTP/1.1 200 OK
+Content-Type: application/json;charset=UTF-8
+Content-Length: 957
+
+[ {
+ "groupCd" : "8984",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+}, {
+ "groupCd" : "NEW_GROUP_1706059161",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+}, {
+ "groupCd" : "NEW_GROUP_1706061920",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+}, {
+ "groupCd" : "NEW_GROUP_1706061927",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+}, {
+ "groupCd" : "NEW_GROUP_1706061935",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+}, {
+ "groupCd" : "NEW_GROUP001",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+}, {
+ "groupCd" : "NEW_GROUP002",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "codeList" : null
+} ]
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹 코드 |
+
|
+
|
+사이트 코드 |
+
|
+
|
+그룹 명 |
+
|
+
|
+비고 |
+
|
+
|
+그룹에 포함된 코드 리스트 |
+
+
[Code 그룹 등록]
+[HTTP REQUEST INFO]
+POST /v1/com/code/group HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Accept: application/json
+Content-Length: 118
+Host: localhost:8080
+
+{
+ "groupCd" : "NEW_GROUP_1706068307",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고...."
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹코드 |
+
|
+
|
+사이트코드 |
+
|
+
|
+그룹이름 |
+
|
+
|
+비고 |
+
[HTTP RESPONSE INFO]
+HTTP/1.1 200 OK
+Content-Type: application/json;charset=UTF-8
+Content-Length: 276
+
+{
+ "groupCd" : "NEW_GROUP_1706068307",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "createUserId" : "CREATE_USER",
+ "createDt" : "2024-01-24T12:51:47.097899",
+ "updateUserId" : "CREATE_USER",
+ "updateDt" : "2024-01-24T12:51:47.097907"
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹코드 |
+
|
+
|
+사이트코드 |
+
|
+
|
+그룹이름 |
+
|
+
|
+비고 |
+
|
+
|
+등록한 유저 아이디 |
+
|
+
|
+등록일시 |
+
|
+
|
+수정한 유저 아이디 |
+
|
+
|
+수정일시 |
+
+
[Code 코드 등록]
+[HTTP REQUEST INFO]
+POST /v1/com/code/code HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Accept: application/json
+Content-Length: 133
+Host: localhost:8080
+
+{
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE170606830704",
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "useYn" : "Y"
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹코드 |
+
|
+
|
+코드 아이디 |
+
|
+
|
+정렬순서 |
+
|
+
|
+추가사항 |
+
|
+
|
+사용여부 |
+
[HTTP RESPONSE INFO]
+HTTP/1.1 200 OK
+Content-Type: application/json;charset=UTF-8
+Content-Length: 311
+
+{
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE170606830704",
+ "upperCd" : null,
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "useYn" : "Y",
+ "createUserId" : "CREATE_USER",
+ "createDt" : "2024-01-24T12:51:47.054488",
+ "updateUserId" : "CREATE_USER",
+ "updateDt" : "2024-01-24T12:51:47.054496"
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹코드 |
+
|
+
|
+코드 아이디 |
+
|
+
|
+상위 아이디 |
+
|
+
|
+정렬순서 |
+
|
+
|
+추가사항 |
+
|
+
|
+사용여부 |
+
|
+
|
+등록한 유저 아이디 |
+
|
+
|
+등록일시 |
+
|
+
|
+수정한 유저 아이디 |
+
|
+
|
+수정일시 |
+
+
[Code 코드언어 등록]
+[HTTP REQUEST INFO]
+POST /v1/com/code/lang HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Accept: application/json
+Content-Length: 136
+Host: localhost:8080
+
+{
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE001",
+ "langDivCd" : "ko_KR",
+ "cdNm" : "신규코드001",
+ "rm" : "비고...."
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹코드 |
+
|
+
|
+코드 아이디 |
+
|
+
|
+언어코드 |
+
|
+
|
+코드이름[언어별] |
+
|
+
|
+비고 |
+
[HTTP RESPONSE INFO]
+HTTP/1.1 200 OK
+Content-Type: application/json;charset=UTF-8
+Content-Length: 294
+
+{
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE001",
+ "langDivCd" : "ko_KR",
+ "cdNm" : "신규코드001",
+ "rm" : "비고....",
+ "createUserId" : "CREATE_USER",
+ "createDt" : "2024-01-24T12:51:46.948454",
+ "updateUserId" : "CREATE_USER",
+ "updateDt" : "2024-01-24T12:51:46.948463"
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹코드 |
+
|
+
|
+코드 아이디 |
+
|
+
|
+언어코드 |
+
|
+
|
+코드이름[언어별] |
+
|
+
|
+비고 |
+
|
+
|
+등록한 유저 아이디 |
+
|
+
|
+등록일시 |
+
|
+
|
+수정한 유저 아이디 |
+
|
+
|
+수정일시 |
+
+
[Code 그룹 수정]
+[HTTP REQUEST INFO]
+PUT /v1/com/code/group HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Accept: application/json
+Content-Length: 110
+Host: localhost:8080
+
+{
+ "groupCd" : "NEW_GROUP001",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고...."
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹코드 |
+
|
+
|
+사이트코드 |
+
|
+
|
+그룹이름 |
+
|
+
|
+비고 |
+
[HTTP RESPONSE INFO]
+HTTP/1.1 200 OK
+Content-Type: application/json;charset=UTF-8
+Content-Length: 261
+
+{
+ "groupCd" : "NEW_GROUP001",
+ "siteCd" : "KAC",
+ "groupCdNm" : "신규그룹001",
+ "rm" : "비고....",
+ "createUserId" : "CREATE_USER",
+ "createDt" : "2024-01-23T14:14:10",
+ "updateUserId" : "UPDATE_USER",
+ "updateDt" : "2024-01-24T12:51:46.997949"
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹코드 |
+
|
+
|
+사이트코드 |
+
|
+
|
+그룹이름 |
+
|
+
|
+비고 |
+
|
+
|
+등록한 유저 아이디 |
+
|
+
|
+등록일시 |
+
|
+
|
+수정한 유저 아이디 |
+
|
+
|
+수정일시 |
+
+
[Code 코드 수정]
+[HTTP REQUEST INFO]
+PUT /v1/com/code/code HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Accept: application/json
+Content-Length: 124
+Host: localhost:8080
+
+{
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE001",
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "useYn" : "Y"
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹코드 |
+
|
+
|
+코드 아이디 |
+
|
+
|
+정렬순서 |
+
|
+
|
+추가사항 |
+
|
+
|
+사용여부 |
+
[HTTP RESPONSE INFO]
+HTTP/1.1 200 OK
+Content-Type: application/json;charset=UTF-8
+Content-Length: 295
+
+{
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE001",
+ "upperCd" : null,
+ "sortOrdr" : 0,
+ "addInfoValue" : "추가!!",
+ "useYn" : "Y",
+ "createUserId" : "CREATE_USER",
+ "createDt" : "2024-01-23T14:14:25",
+ "updateUserId" : "UPDATE_USER",
+ "updateDt" : "2024-01-24T12:51:46.801854"
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹코드 |
+
|
+
|
+코드 아이디 |
+
|
+
|
+상위 아이디 |
+
|
+
|
+정렬순서 |
+
|
+
|
+추가사항 |
+
|
+
|
+사용여부 |
+
|
+
|
+등록한 유저 아이디 |
+
|
+
|
+등록일시 |
+
|
+
|
+수정한 유저 아이디 |
+
|
+
|
+수정일시 |
+
+
[Code 코드언어 수정]
+[HTTP REQUEST INFO]
+PUT /v1/com/code/lang HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Accept: application/json
+Content-Length: 136
+Host: localhost:8080
+
+{
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE001",
+ "langDivCd" : "en_CA",
+ "cdNm" : "신규코드001",
+ "rm" : "비고...."
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹코드 |
+
|
+
|
+코드 아이디 |
+
|
+
|
+언어코드 |
+
|
+
|
+코드이름[언어별] |
+
|
+
|
+비고 |
+
[HTTP RESPONSE INFO]
+HTTP/1.1 200 OK
+Content-Type: application/json;charset=UTF-8
+Content-Length: 286
+
+{
+ "groupCd" : "NEW_GROUP001",
+ "cdId" : "NEW_CODE001",
+ "langDivCd" : "en_CA",
+ "cdNm" : "신규코드001",
+ "rm" : "비고....",
+ "createUserId" : "CREATE_USER",
+ "createDt" : "2024-01-24T10:55:17",
+ "updateUserId" : "UPDATE_USER",
+ "updateDt" : "2024-01-24T12:51:46.91922"
+}
+Path | +Type | +Description | +
---|---|---|
|
+
|
+그룹코드 |
+
|
+
|
+코드 아이디 |
+
|
+
|
+언어코드 |
+
|
+
|
+코드이름[언어별] |
+
|
+
|
+비고 |
+
|
+
|
+등록한 유저 아이디 |
+
|
+
|
+등록일시 |
+
|
+
|
+수정한 유저 아이디 |
+
|
+
|
+수정일시 |
+
+
[Code 그룹 삭제]
+[HTTP REQUEST INFO]
+DELETE /v1/com/code/group?groupCd=NEW_Group_1706003812 HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Accept: application/json
+Host: localhost:8080
+Parameter | +Description | +
---|---|
|
+그룹 아이디 |
+
[Code 코드 삭제]
+[HTTP REQUEST INFO]
+DELETE /v1/com/code/code?groupCd=NEW_GROUP001&cdId=NEW_CODE170605841699 HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Accept: application/json
+Host: localhost:8080
+Parameter | +Description | +
---|---|
|
+그룹 아이디 |
+
|
+코드 아이디 |
+
[Code 언어 삭제]
+[HTTP REQUEST INFO]
+DELETE /v1/com/code/lang?groupCd=NEW_GROUP001&cdId=NEW_CODE170605841699&langDivCd=ko_KR HTTP/1.1
+Content-Type: application/json;charset=UTF-8
+Accept: application/json
+Host: localhost:8080
+Parameter | +Description | +
---|---|
|
+그룹 아이디 |
+
|
+코드 아이디 |
+
|
+삭제할 언어코드 |
+