ЕСОЗ - публічна документація
RC_Trembita methods description_ph2 (DRACS 2.0)
Purpose
This page contains documentation on methods that are used through Trembita system - Ukrainian governments exchange gateway.
Trembita envelope
Trembita system is using SOAP for data transfer.
Each transfer between services (request or response) is using SOAP Envelope, that consists of Header and Body.
Body of Trembita SOAP Envelope is formed depending on method that is used.
Header of Trembita SOAP Envelope consists of the same set of fields:
client
- client details (entity that is performing the request, attributeobjectType="SUBSYSTEM"
), mandatory:xRoadInstance
- Trembita endpoint instance, mandatorySEVDEIR - prod
SEVDEIR-TEST - test
memberClass
- type of entity that is performing the request, mandatoryGOV - by default
memberCode
- edrpou of entity that is performing the request, mandatorysubsystemCode
- subsystem of client that is performing the request, optional
service
- service details (entity that is providing access to data, attributeobjectType="SERVICE"
), mandatory:xRoadInstance
- Trembita endpoint instance, mandatorySEVDEIR - prod
SEVDEIR-TEST - test
memberClass
- type of entity that is providing the service, mandatoryGOV - by default
memberCode
- edrpou of entity that is providing the service, mandatorysubsystemCode
- subsystem of client that is providing the service, optionalserviceCode
- code of service that is being provided, mandatoryserviceVersion
- version of service that is being provided, optional
userId
- identifier of person who is performing the request (for example, tax_id), mandatoryid
- identifier of the request (used to compare response to request), mandatoryprotocolVersion
- version of protocol, that is being used to exchange data in Trembita system, mandatory4.0 - by default
Each request to Trembita exchange way must contain following headers:
Content-Type: text/xml; charset=utf-8
SOAPAction
: with uri of action from wsdl schema of corresponding method
Request envelope example:
ЕСОЗ - публічна документація