API Endpoint - Dịch vụ lấy danh sách hồ sơ đã đăng ký – dsHoSoDangKy
POST
https://data.moj.gov.vn/api/v1/publising/lgsp/redirect/danh-sach-ho-so-dang-ky
Kiểu trả về:
application/json
Mô tả:
Hàm chức năng cho phép trả về danh sách hồ sơ đã đăng ký (lấy theo ngày cập nhật hồ sơ – là ngày hồ sơ được tạo mới trên Hệ thống thông tin đăng ký và quản lý hộ tịch
Cơ quan quản lý:
Chưa cập nhật
Điều kiện khai thác:
Chưa cập nhật
Mẫu headers
{
"User-Key": "WhaJnyDvMYZxNr*****************", // user-key cá nhân
"Content-Type": "application/x-www-form-urlencoded"
}
Mẫu đầu vào (JSON)
{
"maDonVi": "31117",
"module": "***",
"maHoSoLT": "***",
"maHoSoMCDT": "***",
"ngayTiepNhan": "***",
"data": "***",
"fileDinhKem": [
{
"id": "***",
"loaiGiayTo": "***",
"tenGiayTo": "***",
"tenTepDinhKem": "***",
"duLieuTepDinhKem": []
}
]
}
Dữ liệu trả về (JSON)
{
"statusCode": 200,
"success": false,
"message": "Thanh Cong",
"data": ""
}
Ví dụ với AJAX
jQuery AJAX:
var settings = {
"url": "https://data.moj.gov.vn/api/v1/publising/lgsp/redirect/danh-sach-ho-so-dang-ky",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/x-www-form-urlencoded",
"User-Key": "WhaJnyDvMYZxNr*****************"
},
"data": JSON.stringify({
"maDonVi": "31117",
"module": "***",
"maHoSoLT": "***",
"maHoSoMCDT": "***",
"ngayTiepNhan": "***",
"data": "***",
"fileDinhKem": [
{
"id": "***",
"loaiGiayTo": "***",
"tenGiayTo": "***",
"tenTepDinhKem": "***",
"duLieuTepDinhKem": []
}
]
}),
};
$.ajax(settings).done(function (response) {
console.log(response);
});
Tệp đính kèm
Địa chỉ: 60 Trần Phú - Ba Đình - Hà Nội
Điện thoại: 024.62739718 Fax: 024.62739730
Email: it@moj.gov.vn