적용모델정보조회
조사정보조회
동식물정보조회
동식물명정보조회
| 항목명 | 설명 | 샘플데이터 |
|---|---|---|
| mgtNo | 검색하려는 사업코드 ※ 사업코드는 첨부된 사업코드표 문서 참고 |
ND2009A007 |
| type | 응답타입 | json |
| 항목명 | 설명 | 샘플데이터 |
|---|---|---|
| mgtno | 사업코드 | PS2009A007 |
| seawaterFlowModel | 해수유동 적용모델 | EFDC모델 |
| bfeSusDffAr | 부유사확산 면적(1㎎/ℓ) 저감대책 전 | 1.84 |
| aftSusDffAr | 부유사확산 면적(1㎎/ℓ) 저감대책 후 | 1.32 |
| bfeSusDffLt | 부유사확산 거리(1㎎/ℓ) 저감대책 전 | 2.82 |
| aftSusDffLt | 부유사확산 거리(1㎎/ℓ) 저감대책 후 | 0.64 |
| rm | 비고 |
/* 속성 Javascript 샘플 코드 */
var xhr = new XMLHttpRequest();
var url = 'http://apis.data.go.kr/B090026/MaritimeService/getModel'; /*URL*/
var queryParams = '?' + encodeURIComponent('ServiceKey') + '='+'서비스키'; /*Service Key*/
queryParams += '&' + encodeURIComponent('mgtNo') + '=' + encodeURIComponent('사업코드'); /*사업코드표 문서 참고 (필수)*/
queryParams += '&' + encodeURIComponent('type') + '=' + encodeURIComponent('응답타입'); /*json,xml 선택 (선택)*/
xhr.open('GET', url + queryParams);
xhr.onreadystatechange = function () {
if (this.readyState == 4) {
alert('Status: '+this.status+' Headers: '+JSON.stringify(this.getAllResponseHeaders())+' Body: '+this.responseText);
}
};
xhr.send('');