ЕСОЗ - публічна документація
RC_DRACS Trembita methods_ph2 (DRACS 2.0)
- 1 Purpose
- 1.1 DRACS envelope headers
- 1.2 GetDeathArByRegDatePeriod
- 1.2.1 Input params
- 1.2.2 Response
- 1.3 GetDeathArByFullNameAndBirthDate
- 1.3.1 Input params
- 1.3.2 Response
- 1.4 DeathArResultData
Purpose
This page contains documentation on Trembita methods that are provided by Ministry of Justice of Ukraine that are used to get Death certificate of ukrainian citizens with detailed information.
DRACS envelope headers
Headers of SOAP envelope for DRACS methods must be filled with following config parameters:
client (
objectType="SUBSYSTEM"
):xRoadInstance =
TREMBITA_SEVDEIR_INSTANCE
memberClass =
TREMBITA_DRACS_CLIENT_MEMBER_CLASS
memberCode -
TREMBITA_DRACS_CLIENT_MEMBER_CODE
subsystemCode -
TREMBITA_DRACS_CLIENT_SUBSYSTEM_CODE
service (
objectType="SERVICE"
):xRoadInstance =
TREMBITA_SEVDEIR_INSTANCE
memberClass =
TREMBITA_DRACS_SERVICE_MEMBER_CLASS
memberCode -
TREMBITA_DRACS_SERVICE_MEMBER_CODE
subsystemCode -
TREMBITA_DRACS_SERVICE_SUBSYSTEM_CODE
serviceCode - code of service that is being provided
serviceVersion - absent from request
userId
-TREMBITA_SEVDEIR_USERID
id
- autogenerate request uuidprotocolVersion
-TREMBITA_SEVDEIR_PROTOCOL_VERSION
More on config parameters: https://e-health-ua.atlassian.net/wiki/spaces/DRACS/pages/17249075330
GetDeathArByRegDatePeriod
Name | Application software interface (service) for downloading data of death act records by registration date period |
---|---|
Service name | GetDeathArByRegDatePeriod |
Purpose | Get death act records data by registation date period |
Subsystem identifier | 3_MJU_DRACS_prod |
Operating mode | Around the clock (24/7) |
WSDL |
|
Input params
Nesting level | Code | Description | Data type (according to XML specification) | Required |
---|---|---|---|---|
1 | DateFrom | Start date of the period for which the death act records data is provided | xs:date | yes |
1 | DateTo | End date of the period for which the death act records data is provided | xs:date | yes |
Request example:
Response
Nesting level | Code | Description | Data type (according to XML specification) | Required |
---|---|---|---|---|
1 | ResultCode | Result code of request Values:
| xs:string | yes |
1 | ResultData | XML data with death act records details based on inpuit params, encoded in Base64 (returned if ResultCode = 0) XML file format is described in https://e-health-ua.atlassian.net/wiki/spaces/DRACS/pages/17249173625/DRACS+Trembita+methods_ph2_EN#DeathArResultData | xs:string | no |
1 | ErrorInfo | Error information (returned if ResultCode <> 0) | xs:string | no |
Response example (success):
Response example (error):
GetDeathArByFullNameAndBirthDate
Name | Application software interface (service) for downloading data of death act records by name and date of birth of deceased person |
---|---|
Service name | GetDeathArByFullNameAndBirthDate |
Purpose | Get death act records data by name and date of birth of deceased person |
Subsystem identifier | 3_MJU_DRACS_prod |
Operating mode | Around the clock (24/7) |
WSDL |
|
Input params
Nesting level | Code | Description | Data type (according to XML specification) | Required |
---|---|---|---|---|
1 | Name | Persons name (first name) | xs:string | yes |
1 | OnDate | Persons birth date | xs:data | yes |
1 | Patronymic | Persons patronymic (second name) | xs:string | yes |
1 | Surname | Persons surname (last name) | xs:string | yes |
Request example:
Response
Nesting level | Code | Description | Data type (according to XML specification) | Required |
---|---|---|---|---|
1 | ResultCode | Result code of request Values:
| xs:string | yes |
1 | ResultData | XML data with death act records details based on inpuit params, encoded in Base64 (returned if ResultCode = 0) XML file format is described in https://e-health-ua.atlassian.net/wiki/spaces/DRACS/pages/17249173625/DRACS+Trembita+methods_ph2_EN#DeathArResultData | xs:string | no |
1 | ErrorInfo | Error information (returned if ResultCode <> 0) | xs:string | no |
Response example (success):
Response example (error):
DeathArResultData
XML file contains AR_LIST array with ACT_RECORD objects, each object contains following fields:
AR_LIST (list of death certificates) example:
ЕСОЗ - публічна документація