에콰도르 — 투표 장소
에콰도르 투표 장소 조회는 CNE 명부를 읽습니다. documentType은 CCEC이고 documentNumber는 주 코드가 01–24 또는 30이며 검증 숫자가 맞는 10자리 시민증이어야 합니다. 응답에는 이름과 주, 칸톤, 교구, 준타(pollingTable)가 있습니다.
응답에 포함되는 값
province,canton,parishpollingTable— 준타fullName
사용 사례
- 유권자에게 투표소를 보여 줍니다.
- 검증 숫자가 틀린 시민증을 거부합니다.
- 신원 파일과 함께 준타를 보관합니다.
API 레퍼런스
Endpoint
GET https://api.verifik.co/v2/ec/votacion
필드에는 fullName, province, canton, parish, pollingTable이 있습니다. 알 수 없는 시민증은 404 NotFound입니다. 검증 숫자가 틀리면 409 InvalidDocumentNumber입니다.
Headers
| 이름 | 값 | 설명 |
|---|---|---|
| Content-Type | application/json | 요청 형식 |
| Accept | application/json | 응답 형식 |
| Authorization | Bearer <token> | 클라이언트 JWT |
Parameters
| 이름 | 유형 | 필수 | 예시 | 설명 |
|---|---|---|---|---|
documentType | string | 예 | CCEC | CCEC여야 합니다. |
documentNumber | string | 예 | 1700000019 | 검증 숫자를 포함한 10자리 에콰도르 시민증. 주 코드는 01–24 또는 30. 잘못된 번호는 409 InvalidDocumentNumber입니다. |
Request
- Node.js / JavaScript
- Python
- cURL
import axios from "axios";
const options = {
method: "GET",
url: "https://api.verifik.co/v2/ec/votacion",
params: {
documentType: "CCEC",
documentNumber: "1700000019",
},
headers: {
Accept: "application/json",
Authorization: "Bearer <your_token>",
},
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error.response ? error.response.data : error.message);
}
import requests
url = "https://api.verifik.co/v2/ec/votacion"
headers = {
"Accept": "application/json",
"Authorization": "Bearer <your_token>",
}
params = {
"documentType": "CCEC",
"documentNumber": "1700000019",
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
curl -X GET "https://api.verifik.co/v2/ec/votacion?documentType=CCEC&documentNumber=1700000019" \
-H "Accept: application/json" \
-H "Authorization: Bearer <your_token>"
Response
- 200 (레코드 있음)
- 409 (파라미터 누락)
- 404 (없음)
- 401 (인증 실패)
- 500 (원천 사용 불가)
{
"data": {
"documentType": "CCEC",
"documentNumber": "1700000019",
"fullName": "MARIA ELENA LOPEZ",
"province": "PICHINCHA",
"canton": "QUITO",
"parish": "INAQUITO",
"pollingTable": "1"
},
"signature": {
"dateTime": "November 27, 2026 12:00 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "MissingParameter",
"message": "\"documentType\" is required"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
{
"code": "InternalServerError",
"message": "The official source is temporarily unavailable. Please retry shortly."
}
참고
documentType은CCEC입니다.- 시민증은 유효한 주와 검증 숫자가 있는 10자리입니다.
- 알 수 없는 번호는 404
NotFound입니다. Authorization헤더에 Bearer JWT를 보냅니다.- JSON 예시는 필드 모양입니다. 실제 호출은 보낸 값의 레코드를 반환합니다.
- 캐시 우회 플래그는 보내지 않습니다. 이 페이지는 클라이언트 파라미터만 설명합니다.
샌드박스
| 시나리오 | 파라미터 | 결과 |
|---|---|---|
| 원천에 기록 있음 | documentType: "CCEC", documentNumber: "1700000019" | 주, 칸톤, 교구, 준타가 있는 200. |
| 필수 값 누락 | Omit documentType | 409 MissingParameter. |
| 알 수 없는 값 | documentNumber: "1700000092" | 명부에 행이 없으면 404 NotFound. |
401 when the bearer token is missing or rejected.