NHIS_건강보험 자격득실확인서 진위여부

국민건강보험공단 자격득실확인서 진위여부조회 업무

METHOD

POST

URI

/scrap/common/nhis/QualificationDocAuthenticity

Content Type

application/json

Charset

UTF-8

Last Updated

2022-05-12

Request Fields

필드명(영문) 필드명(한글) 필수여부 암호화여부 타입 양식 최대길이 샘플데이터 설명

PRINTNUM

발급번호

STRING

Response Fields

필드명(영문) 필드명(한글) 필수여부 암호화여부 타입 양식 최대길이 샘플데이터 설명

errCode

errCode

STRING

정상일 때는 '0000', 오류일 경우 오류코드 반환

errMsg

errMsg

STRING

오류발생 시 오류메시지

result

result

STRING

SUCCESS/FAIL

data.INQNORMALPE

조회정상여부

STRING

정상 P, 에러 E

1

data.MODULE

업무코드

STRING

data.ERRMSG

에러메세지

STRING

100

RESULT값이 FAIL일 경우 스크래핑 서비스 오류 메세지 출력

data.DOCTYPE

문서종류

STRING

(건강보험)
1:납부확인서,
2:자격득실확인서

data.PRINTNUM

발급번호

STRING

data.PRINTDATE

발급일자

STRING

HTTP Request

POST /scrap/common/nhis/QualificationDocAuthenticity
Host: https://datahub-dev.scraping.co.kr
Authorization: Token ******************************
Content-Length: 37
Content-Type: application/json;charset=UTF-8

{
  "PRINTNUM" : "G202104300131234"
}

HTTP Response

HTTP/1.1 200 OK
Date:Thu, 12 May 2022 06:50:19 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Content-Length: 241

{
  "errCode" : "0000",
  "errMsg" : "success",
  "result" : "SUCCESS",
  "data" : {
    "MODULE" : "9",
    "ERRMSG" : "",
    "INQNORMALPE" : "P",
    "PRINTNUM" : "G202104300131234",
    "PRINTDATE" : "20220512",
    "DOCTYPE" : "2"
  }
}

Curl Request

$ curl 'https://datahub-dev.scraping.co.kr/scrap/common/nhis/QualificationDocAuthenticity' -i -X POST \
     -H 'Authorization: Token ******************************' \
     -H 'Content-Type: application/json;charset=UTF-8' \
     -d '{
  "PRINTNUM" : "G202104300131234"
}'