GET /api/lastcountingpublic공공의
최근 출시된 수 알 수 및 난관 데이터와 함께 위치(도시, 주 또는 국가)별로 발표된 최신 개수를 반환합니다.
매개변수 이름 유형 설명 statestring 주 코드. 예: state=RJ. municipalitystring 지방자치단체의 이름입니다. 예: municipality=Ponta Pora countrystring 국가 이름. 예: country=Brasil. 생략하면 "브라질"로 간주됩니다. pageint 페이지 매김 페이지(기본값 1, 최대 100) idint 지정된 ID의 항목만 표시합니다. 예: id=7876. datedate 포함된 날짜부터 발생 횟수를 표시합니다. 예: date=2025-01-01. date_collectdate 수집일 이후의 발생을 표시합니다. 예: date_collect=2024-12-12. date_startdate 개수를 필터링할 시작 날짜입니다. 예: date_start=2025-01-01. date_enddate 집계를 필터링할 종료 날짜입니다. 예: date_end=2025-12-31.
메모: 위치 매개변수가 전송되지 않으면 엔드포인트는 브라질의 최신 개수를 반환합니다.
요청 예시 복사 curl -G -d "municipality=Ponta%20Pora" \ /ko-kr/api/lastcountingpubliccurl -G -d "state=MG" \ /ko-kr/api/lastcountingpublic샘플 답변 복사 [ { "state_name": "Minas Gerais", "state_code": "MG", "municipality": "Ponta Pora", "municipality_code": "5006606", "eggs": 42, "week": 3, "year": 2025, "time": "2025-01-20 14:32:10", "counting_id": 118342, "ovitrap_website_id": 981, "ovitrap_id": "97", "latitude": -7.000000, "longitude": -8.000000, "date": "2025-01-20", "date_collect": "2025-01-27" }]GET /api/getmunicipalityblockspublic공공의
블록의 최신 작업 블록 단위로 수행된 작업(치료 방문)에 대한 데이터를 반환합니다.
매개변수 이름 유형 설명 statestring 주 코드. 예: state=RJ. municipalitystring 지방자치단체의 이름입니다. 예: municipality=Ponta Pora countrystring 국가 이름. 예: country=Brasil. 생략하면 "브라질"로 간주됩니다. pageint 페이지 매김 페이지(기본값 1, 최대 100)
요청 예시 복사 curl -G -d "municipality=Vista%20Alegre" \ /ko-kr/api/getmunicipalityblockspubliccurl -G -d "state=MS" \ /ko-kr/api/getmunicipalityblockspublic샘플 답변 복사 [ { "block_id": 4521, "block_actions_mean": 3.4, "block_coordinates": "[[-7.123, -34.845], [-7.124, -34.846]]", "municipality": "Vista Alegre", "municipality_code": "5007117", "state_name": "Mato Grosso do Sul", "state_code": "MS", "action_land_total_total": 21, "action_land_residence_total": 10, "action_land_commercial_total": 5, "action_land_empty_total": 3, "action_land_strategy_total": 1, "action_land_another_total": 2, "action_address_district": "Centro", "action_address_sector": "Setor 04", "action_deposit_a1_quantity": 4, "action_deposit_a2_quantity": 2, "action_deposit_b_quantity": 5, "action_deposit_c_quantity": 1, "action_deposit_d1_quantity": 0, "action_deposit_d2_quantity": 3, "action_deposit_e_quantity": 0, "action_observation": "Foco encontrado em pneus nos fundos do imovel.", "latitude": -7.123456, "longitude": -34.845678 }]아래의 모든 엔드포인트에는 매개변수가 필요합니다. key API 키로.
GET /api/lastcounting사적인
최근 출시된 수 알 수, 난관 데이터 및 책임 있는 사용자와 함께 키 범위 내에서 해제된 마지막 개수를 반환합니다.
매개변수 이름 유형 설명 keystring 귀하의 API 키. 반환된 개수의 범위를 정의합니다. pageint 페이지 매김 페이지(기본값 1, 최대 100) date_startdate 개수를 필터링할 시작 날짜입니다. 예: date_start=2025-01-01. date_enddate 집계를 필터링할 종료 날짜입니다. 예: date_end=2025-12-31.
요청 예시 복사 curl -G -d "key=KEY&page=1" \ /ko-kr/api/lastcounting샘플 답변 복사 [ { "state_name": "Minas Gerais", "state_code": "MG", "municipality": "Ponta Pora", "municipality_code": "5006606", "eggs": 42, "week": 3, "year": 2025, "time": "2025-01-20 14:32:10", "user": "Joao da Silva", "counting_id": 118342, "ovitrap_website_id": 981, "ovitrap_id": "97", "district": "Centro", "street": "Rua das Flores", "number": "123", "complement": "", "loc_inst": "", "sector": "Setor 04", "latitude": -7.000000, "longitude": -8.000000, "date": "2025-01-20", "date_collect": "2025-01-27" }]POST /api/postcounting사적인
제출물 읽기 난관의 판독값을 보냅니다. 기존의 오비트랩에 데이터를 보내거나, 데이터를 보내고 새로운 오비트랩을 동시에 설치하는 것도 가능합니다.
매개변수 이름 유형 설명 keystring 귀하의 API 키. 제출 범위를 정의합니다.
요청 예시 복사 curl -X POST -d "key=KEY" \ /ko-kr/api/postcounting새로운 난낭 트랩을 설치할 필요가 없는 표준 배송의 경우 다음 필드를 보내십시오. (모두 필수 ) 요청 본문에 (form):
복사 { "ovitrap_group_id": 97, "ovitrap_lat": -7.000000, "ovitrap_lng": -8.000000, "date": "2025-01-20", "counting_observation_id": 1, "counting_observation": "caso o counting_observation_id seja 9", "counting_eggs": 5}각 관찰 유형의 ID가 포함된 표 (counting_observation_id):
ID 의미 1 관찰 없음 2 설치부터 수집까지의 간격이 예상보다 길어짐 3 Ovitrap 또는 누락된 팔레트 4 Ovitrap 또는 깨진 팔레트 5 Ovitrap 또는 팔레트가 제거됨 6 건조 난관 7 닫힌 집 8 물로 채워진 난관 9 물이 거의 없는 난관 10 또 다른 관찰
배송물 옆에 새 수란 트랩을 설치하려면, 필수적인 필드: ovitrap_lat, ovitrap_lng, ovitrap_group_id
복사 { "ovitrap_group_id": 96, "ovitrap_address_district": "Distrito", "ovitrap_address_street": "Rua", "ovitrap_address_number": "Numero", "ovitrap_address_complement": "Complemento", "ovitrap_address_loc_inst": "", "ovitrap_lat": -7.000000, "ovitrap_lng": -8.000000, "ovitrap_address_sector": "Setor", "ovitrap_responsable": "Responsavel", "ovitrap_block_id": "Quarteirao", "date": "2025-01-20", "counting_date_collect": "2025-01-27", "counting_observation_id": 1, "counting_observation": "caso o counting_observation_id seja 9", "counting_eggs": 5}구체적인 답변: 400 — 필수 필드 중 하나라도 전송되지 않은 경우: ovitrap_lat, ovitrap_lng, ovitrap_group_id404 — 이 난관, 연도 및 주에 대한 카운트가 이미 있습니다.POST /api/postdeletecounting사적인
읽은 내용 삭제 난관에서 판독을 제거합니다.
매개변수 이름 유형 설명 keystring 귀하의 API 키. 제거 범위를 정의합니다.
요청 예시 복사 curl -X POST -d "key=KEY" \ /ko-kr/api/postdeletecounting요청 본문에 필요한 데이터 (form):
복사 { "ovitrap_group_id": 97, "date": "2025-01-20"}POST /api/postdeleteovitrap사적인
난관 삭제 난소 트랩을 제거합니다.
매개변수 이름 유형 설명 keystring 귀하의 API 키.
요청 예시 복사 curl -X POST -d "key=KEY" \ /ko-kr/api/postdeleteovitrap요청 본문에 필요한 데이터 (form):
복사 { "ovitrap_group_id": 97}POST /api/postaction사적인
방문 삽입 블록에 방문/행동을 등록합니다. 기존 블록에 방문을 추가하려면 필드를 보내십시오. block_id. 존재하지 않는 경우 사용하십시오. block_group_id — 시스템이 자동으로 블록을 생성합니다. 이 엔드포인트는 신청자의 지방자치단체 내에 있는 블록의 삽입만 허용합니다.
매개변수 이름 유형 설명 keystring 귀하의 API 키.
요청 예시 복사 curl -X POST -d "key=KEY" \ /ko-kr/api/postaction전송된 데이터 form 또는 쿼리 매개변수를 사용하여 block_id:
복사 { "block_id": 97, "date": "2025-01-20", "block_land_residence": 10, "action_land_residence_out": 2, "action_land_residence_breedings": 1, "action_land_residence_treated": 1, "block_land_commercial": 5, "action_land_commercial_out": 0, "action_land_commercial_breedings": 0, "action_land_commercial_treated": 0, "block_land_empty": 3, "action_land_empty_out": 1, "action_land_empty_breedings": 2, "action_land_empty_treated": 1, "block_land_strategy": 1, "action_land_strategy_out": 0, "action_land_strategy_breedings": 0, "action_land_strategy_treated": 0, "block_land_special": 0, "action_land_special_out": 0, "action_land_special_breedings": 0, "action_land_special_treated": 0, "block_land_another": 2, "action_land_another_out": 0, "action_land_another_breedings": 0, "action_land_another_treated": 0, "action_deposit_a1_quantity": 4, "action_deposit_a1_eliminated": 2, "action_deposit_a1_treated": 1, "action_deposit_a1_larvicid": 10, "action_deposit_a2_quantity": 2, "action_deposit_a2_eliminated": 1, "action_deposit_a2_treated": 0, "action_deposit_a2_larvicid": 0, "action_deposit_b_quantity": 5, "action_deposit_b_eliminated": 5, "action_deposit_b_treated": 0, "action_deposit_b_larvicid": 0, "action_deposit_c_quantity": 1, "action_deposit_c_eliminated": 0, "action_deposit_c_treated": 1, "action_deposit_c_larvicid": 5, "action_deposit_d1_quantity": 0, "action_deposit_d1_eliminated": 0, "action_deposit_d1_treated": 0, "action_deposit_d1_larvicid": 0, "action_deposit_d2_quantity": 3, "action_deposit_d2_eliminated": 1, "action_deposit_d2_treated": 2, "action_deposit_d2_larvicid": 15, "action_deposit_e_quantity": 0, "action_deposit_e_eliminated": 0, "action_deposit_e_treated": 0, "action_deposit_e_larvicid": 0, "action_observation": "Visita realizada conforme cronograma. Foco encontrado em pneus nos fundos do imovel."}선택하다 block_group_id (아직 등록되지 않은 블록), 블록 자체의 데이터도 보냅니다.
복사 { "block_group_id": 97, "date": "2025-01-20", "block_address_district": "Centro Historico", "block_address_sector": "Setor 04 - Norte", "block_coordinates": "[[-7.123, -34.845], [-7.124, -34.846]]", "block_lat": -7.123456, "block_lng": -34.845678, "block_responsable": "Joao da Silva", "block_land_residence": 10, "action_land_residence_out": 2, "action_land_residence_breedings": 1, "action_land_residence_treated": 1, "block_land_commercial": 5, "action_land_commercial_out": 0, "action_land_commercial_breedings": 0, "action_land_commercial_treated": 0, "block_land_empty": 3, "action_land_empty_out": 1, "action_land_empty_breedings": 2, "action_land_empty_treated": 1, "block_land_strategy": 1, "action_land_strategy_out": 0, "action_land_strategy_breedings": 0, "action_land_strategy_treated": 0, "block_land_special": 0, "action_land_special_out": 0, "action_land_special_breedings": 0, "action_land_special_treated": 0, "block_land_another": 2, "action_land_another_out": 0, "action_land_another_breedings": 0, "action_land_another_treated": 0, "action_deposit_a1_quantity": 4, "action_deposit_a1_eliminated": 2, "action_deposit_a1_treated": 1, "action_deposit_a1_larvicid": 10, "action_deposit_a2_quantity": 2, "action_deposit_a2_eliminated": 1, "action_deposit_a2_treated": 0, "action_deposit_a2_larvicid": 0, "action_deposit_b_quantity": 5, "action_deposit_b_eliminated": 5, "action_deposit_b_treated": 0, "action_deposit_b_larvicid": 0, "action_deposit_c_quantity": 1, "action_deposit_c_eliminated": 0, "action_deposit_c_treated": 1, "action_deposit_c_larvicid": 5, "action_deposit_d1_quantity": 0, "action_deposit_d1_eliminated": 0, "action_deposit_d1_treated": 0, "action_deposit_d1_larvicid": 0, "action_deposit_d2_quantity": 3, "action_deposit_d2_eliminated": 1, "action_deposit_d2_treated": 2, "action_deposit_d2_larvicid": 15, "action_deposit_e_quantity": 0, "action_deposit_e_eliminated": 0, "action_deposit_e_treated": 0, "action_deposit_e_larvicid": 0, "action_observation": "Area com alta densidade de recipientes descartaveis."}구체적인 답변: 400 — 언제 date 전송되지 않거나 숫자 필드 중 하나가 유효한 숫자가 아닌 경우.400 — 언제 block_group_id 새 블록을 생성할 때 전송되지 않습니다.403 — 언제 block_id 정보는 주요 자치단체에 속하지 않습니다.409 — 해당 블록, 연도, 주에 대한 방문이 이미 있는 경우.POST /api/postdeleteaction사적인
방문 삭제 한 블록에서 방문을 제거합니다.
매개변수 이름 유형 설명 keystring 귀하의 API 키.
요청 예시 복사 curl -X POST -d "key=KEY" \ /ko-kr/api/postdeleteaction요청 본문에 필요한 데이터 (form):
복사 { "block_group_id": 97, "date": "2025-01-20"}POST /api/postdeleteblock사적인
블록 삭제 블록을 제거합니다.
매개변수 이름 유형 설명 keystring 귀하의 API 키.
요청 예시 복사 curl -X POST -d "key=KEY" \ /ko-kr/api/postdeleteblock요청 본문에 필요한 데이터 (form):
복사 { "block_group_id": 97}