The integration of online recording is implemented using the MR_Integration web service.
Basic authorization is performed to access the database.
METHODS
CHECKING THE SERVER STATUS
POST request type
XML request body format
URL /ws/MR_Integration
Request body
<x:Envelope
xmlns:x="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ru="ru.umc"
xmlns:cor="http://v8.1c.ru/8.1/data/core">
<x:Header/>
<x:Body>
<ru:HealthCheck></ru:HealthCheck>
</x:Body>
</x:Envelope>
Response format:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:HealthCheckResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><?xml version="1.0"?>
<mr_performance
xmlns="MR_S1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Result>true</The Result>
<Error description_/>;
<Status Code>200</State Code>
<lt;/mr_performance>
</m:return>
</m:HealthCheckResponse>
</soap:Body>
</soap:Envelope>
METADATA
POST request type
XML request body format
URL /ws/MR_Integration
Request body
<x:Envelope
xmlns:x="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ru="ru.umc"
xmlns:cor="http://v8.1c.ru/8.1/data/core">
<x:Header/>
<x:Body>
<ru:GetMetaData></ru:GetMetaData>
</x:Body>
</x:Envelope>
Response format:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:GetMetaDataResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><?xml version="1.0"?>
<MR_MetaLogues
xmlns="MR_S1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Platform versions9.9.9.9</Platform versionsgt;
<Configuration>Name of the configuration</Configuration>;
<Configuration Version>9.9.9.9<;/Configuration versionsgt;
<Compatibility Mode>Version9_9_9</Compatibility Mode>
<Extension of the name>Name of the extension;/
Extentionname>
<ExtensionvErsion>9.9.9.9</ExtensionvErsion>
<Expansion Compatibility Mode>Version9_9_9</
Expansion Compatibility Mode>
<Hash Sum Extension>Hash sum of the Medflex extension</Expansion of the Sum Limit>
<Available Configuration objects>Web service: Webservice.MR_Integration </Availability of Configuration objects;
<Status Code>200</State Code>
<Result>true</The Result>
<Unloading of receptacles>false</Unloading of Receptions>
<lt;/MR_MetaLogues>;
</m:return>
</m:GetMetaDataResponse>
</soap:Body>
</soap:Envelope>
- Platform versionis the version of the 1C platform.
- Configuration — the name of the installed configuration.
- Configuration versionis the version of the installed configuration.
- Compatibility Mode is the compatibility mode of the installed configuration.
- Extentionname is the name of the installed MedFlex extension.
- ExtensionvErsion is the version of the installed MedFlex extension.
- Expansion Compatibility Mode is the compatibility mode of the installed MedFlex extension.
- The hash sum is the hash amount of the installed MedFlex extension.
- Configuration objectsthe list of MedFlex extension objects present in the database.
- Status code is the status code of the request.
- The result is the result of the query execution.
- Receiver Unloading — whether extended receiver unloading is enabled or not.
DOCTORS' DATA
POST request type
XML request body format
URL /ws/MR_Integration
Request body
<x:Envelope
xmlns:x="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ru="ru.umc"
xmlns:cor="http://v8.1c.ru/8.1/data/core">
<x:Header/>
<x:Body>
<ru:GetListEmployees></ru:GetListEmployees>
</x:Body>
</x:Envelope>
Response format:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:GetListEmployeesResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><?xml version="1.0"?>
<MR_WORKERS
xmlns="MR_S1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Employee>
<UID xsi:type="xs:string">eab46ee9-94b1-11e3-87ec-002618dcef2c</UID>
<Name>Ivanov Ivan Ivanovich</Name>
<Last name>Ivanov</Last Name>
<First Name>Ivan</First Name>
<Middle Name>Ivanovich</Middle Name>
<Specialization>Cardiology</Specialization>
<Organization>f679444a-22b7-11df-8618-002618dcef2c</Organization>
<Reception Duration>0001-01-01T00:30:00</Reception Duration>
<Basic Services>
<Basic Service>
<UID>1056e9d6-fc4b-11e3-87f5-002618dcef2c</UID>
<Duration>0001-01-01T00:40:00</Duration>
</Main Service>
</Basic Services>
</Employee of>
</MR_Employees of>
</m:return>
</m:GetListEmployeesResponse>
</soap:Body>
</soap:Envelope>
- Mr_workers can contain any number of nested objects of the Employee type.
- Employee:UID is the employee's UID.
- Employee:Name — Full name of the employee.
- Employee:Last name is the employee's last name.
- Employee:First name is the employee's first name.
- Employee:Patronymic — the patronymic of the employee.
- Employee:Specialization is the specialization of an employee.
- Employee:Organization — the type of organization in which the employee works.
- Employee:Reception duration is the main duration of an employee's appointment YYYY-MM-DDThh:mm:ss.
- Employee:Main Services can have any number of nested objects of the Main Service type.
- Employee:Basic services:Main Service:UID is the UID of the service provided by the employee.
- Employee:Basic services:Main Service:Duration — the unique duration of the appointment of this employee for this service YYYY-MM-DDThh:mm:ss.
PRICE LIST
POST request type
XML request body format
URL /ws/MR_Integration
Request body
<x:Envelope
xmlns:x="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ru="ru.umc"
xmlns:cor="http://v8.1c.ru/8.1/data/core">
<x:Header/>
<x:Body>
<ru:GetPrice>
<ru:FilialID>f679444a-22b7-11df-8618-002618dcef2c</ru:FilialID>
</ru:GetPrice>
</x:Body>
</x:Envelope>
- FilialID is the organization's ID. Obligatory.
Response format:
- The price list was successfully received:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:GetPriceResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><?xml version="1.0"?>
<MR_CATEGORIES
xmlns="MR_S1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Catalog>
<UID xsi:type="xs:string">ca04032c-9f39-11e6-8221-985fd33a0f52</UID>
<Name>Consultation with an otorhinolaryngologist;/Name of the gt;
<Article number/>
<Basic Unit of measurement>
<Price>700</Price>
<Duration>0001-01-01T01:00:00</Duration>
<View>Service</View>
<Parent>Sign Language and Otorhinolaryngology</The parent
<This folder is>false<;/This Folder is
</The gt catalog;
<lt;/mr_categories>;
</m:return>
</m:GetPriceResponse>
</soap:Body>
</soap:Envelope>
- Mr_categories can have any number of nested objects of the Directory type.
- UID is the item's UID.
- Name — the name of the item.
- Article — the article number for the goods.
- The basic Unit of Measurement is the basic unit of measurement for goods.
- Price is the price of the item.
- Duration — the standard duration of the service YYYY-MM-DDThh:mm:ss.
- Type is the type of item.
- The parent is the parent directory.
- This folder indicates whether the item is a catalog or not.
- Couldn't process the UID:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:GetPriceResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">In the MR procedure_Web Integration of the Server call.An error occurred with getPrice(). Error when getting a unique identifier based on FilialID.
</m:return>
</m:GetPriceResponse>
</soap:Body>
</soap:Envelope>
- The branch was not found:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:GetPriceResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ">Error when searching for a branch using a unique identifier.
The branch with the specified ID was not found.
</m:return>
</m:GetPriceResponse>
</soap:Body>
</soap:Envelope>
schedule
Uploads free and busy periods to the schedule changes. If you specify a specific employee in the UID parameters, the schedule will be uploaded only for them.
POST request type
XML request body format
URL /ws/MR_Integration
Request body
<x:Envelope
xmlns:x="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ru="ru.umc"
xmlns:cor="http://v8.1c.ru/8.1/data/core">
<x:Header/>
<x:Body>
<ru:GetSchedule>
<ru:StartDate>2025-08-28T00:00:00</ru:StartDate>
<ru:FinishDate>2025-09-07T00:00:00</ru:FinishDate>
<ru:EmployeeID></ru:EmployeeID>
</ru:GetSchedule>
</x:Body>
</x:Envelope>
- StartDate — the start date of the uploaded period YYYY-MM-DDThh:mm:ss. Obligatory.
- FinishDate — the end date of the uploaded period YYYY-MM-DDThh:mm:ss. Obligatory.
- EmployeeID is the employee's ID for which the schedule is uploaded.
Response format:
- The schedule was received successfully:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:GetScheduleResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><?xml version="1.0"?>
<mr_fiction for the site
xmlns="MR_S1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Graph for the Site>
<Clinical Naming>Central Clinic</Clinical Naming
<Clinicid>f679444a-22b7-11DF-8618-002618dcef2c</The Clinic>
<Employee Name>Ivanov Ivan Ivanovich</Employee Name>
<Collaboratorid>eab46ee9-94b1-11e3-87ec-002618dcef2c</Collaboratorid>
<Specialization>Cardiology</Specialization>
<Periodgraphy>
<Free Time>
<Periodgraphy>
<Clinic>f679444a-22b7-11df-8618-002618dcef2c</Clinic>
<Date>2025-08-29T00:00:00</Date>
<Start Time>2025-08-29T11:30:00<;/Start Time>
<End Time>2025-08-29T20:00:00</End Time>
<Type of Time>624f2a40-5AA8-4F01-83F4-0F38535364BB</Type of Time>
</Periodgraphy>
</Free Time>
<Busy Time>;
<Periodgraphy>
<Clinic>f679444a-22b7-11df-8618-002618dcef2c</Clinic>
<Date>2025-08-29T00:00:00</Date>
<Start Time>2025-08-29T09:00:00<;/Start Time>
<End Time>2025-08-29T11:30:00</End Time>
<Type of Time/>
</Periodgraphy>
<lt;/Busy time>;
</Periodygraphy>
<Reception Duration>0001-01-01T00:30:00</Reception Duration>
<lt;/Graph for the site>;
<lt;/mr_fiction for the site>;
</m:return>
</m:GetScheduleResponse>
</soap:Body>
</soap:Envelope>
- The mr_graph for the site can contain any number of nested graph objects for the site.
- Clinic Name — the name of the clinic where the employee works.
- Clinic ID is the type of clinic where an employee works.
- Staff Name — Full name of the employee.
- The employee's ID is the employee's ID.
- Specialization is the specialization of an employee.
- Reception duration is the duration of one slot, which will be divided into the entire received period YYYY-MM-DDThh:mm:ss.
- The graph must contain exactly one item of each type of free time and busy time.
- Free time and Busy time can contain any number of nested Periodgraphy type objects.
- Periodgraphy:Clinic — The type of clinic for which this period is uploaded.
- Periodgraphy:Date is the date of the chart period YYYY-MM-DDThh:mm:ss.
- Periodgraphy:Start time is the start time of the uploaded period YYYY-MM-DDThh:mm:ss.
- Periodgraphy:End Time is the end time of the uploaded period YYYY-MM-DDThh:mm:ss.
- Periodgraphy:Time type is the type of time of the uploaded period.
- The employee was not found in the database:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:GetScheduleResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Couldn't get work schedules.
Employee ID 99868528-0928-11dc-93d1-0004614ae65 not found
</m:return>
</m:GetScheduleResponse>
</soap:Body>
</soap:Envelope>
ONLINE RECORDING
POST request type
XML request body format
URL /ws/MR_Integration
Request body
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Body>
<ns0:BookAnAppointmentWithParams
xmlns:ns0="ru.umc">
<ns0:EmployeeID>eab46ee9-94b1-11e3-87ec-002618dcef2c</ns0:EmployeeID>
<ns0:PatientSurname>Ivanov</ns0:PatientSurname>
<ns0:PatientName>Ivan</ns0:PatientName>
<ns0:PatientFatherName>Ivanovich</ns0:PatientFatherName>
<ns0:Date>2025-01-01T00:00:00</ns0:Date>
<ns0:TimeBegin>0001-01-01T17:20:00</ns0:TimeBegin>
<ns0:Comment>Comment</ns0:Comment>
<ns0:Phone>79183335555</ns0:Phone>
<ns0:Email>почта@mail.ru </ns0:Email>
<ns0:Address>Address</ns0:Address>
<ns0:Clinic>f679444a-22b7-11df-8618-002618dcef2c</ns0:Clinic>
<ns0:Params>
<ns1:Property
xmlns:ns1="http://v8.1c.ru/8.1/data/core"
name="Birthday">
<ns1:Value>2009-11-12</ns1:Value>
</ns1:Property>
<ns1:Property
xmlns:ns1="http://v8.1c.ru/8.1/data/core"
name="Duration">
<ns1:Value>0001-01-01T00:00:00</ns1:Value>
</ns1:Property>
<ns1:Property
xmlns:ns1="http://v8.1c.ru/8.1/data/core"
name="ServiceID">
<ns1:Value>239329aa-a8c8-11ef-8129-96d03872bb29</ns1:Value>
</ns1:Property>
</ns0:Params>
</ns0:BookAnAppointmentWithParams>
</soap-env:Body>
</soap-env:Envelope>
- EmployeeID is the employee ID to which the record is being made. Obligatory.
- PatientSurname is the patient's last name.
- PatientName is the patient's name.
- PatientFatherName is the patronymic of the patient.
- Date — the start date of admission YYYY-MM-DDThh:mm:ss. Obligatory.
- TimeBegin is the start time for receiving YYYY-MM-DDThh:mm:ss. Obligatory.
- Comment — a comment on the reception.
- Phone — the patient's phone number.
- Email — the patient's email address.
- Address — the actual residential address of the patient.
- Clinic — The name of the branch where the appointment will take place. Obligatory.
- Params:Birthday — date of birth of the patient YYYY-MM-dd.
- Params:Duration — duration of reception YYYY-MM-DDThh:mm:ss.
- Params:serviceId — The service TYPE for which the appointment is being created.
Response format:
The response formats for recording and transferring are repeated. In order to avoid filling the article with a large number of repetitive text in full size, the answer will be given only the first time for demonstration and in specific cases when it differs from the standard one. In all subsequent variations , only the fields «Результат», «Описание ошибки»and will change «Код состояния». In all responses with errors, the ID field is present, but not filled in.
- The recording was completed successfully:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:BookAnAppointmentWithParamsResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><?xml version="1.0"?>
<mr_response_site record
xmlns="MR_S1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Result>true</The result
<Error Description> </Error descriptiong;
<Status Code>204</State Code>
<UID>a2298216-8ca4-11f0-8154-96d03872bb29</WEED>
</MR_The response to the recording of the site>
</m:return>
</m:BookAnAppointmentWithParamsResponse>
</soap:Body>
</soap:Envelope>
- UID — UID of the created record.
- The Duration parameter is set incorrectly.:
<Result>false</The result
Error DescriptionThe error occurred when converting Duration to date. </Error descriptiong;
<State Code>400</State Code>
- The Birthday parameter is set incorrectly.:
<Result>false</The result
Error DescriptionThe error occurred when converting Birthday to date. </Error descriptiong;
<State Code>400</State Code>
- The EmployeeID parameter is set incorrectly.:
<Result>false</The result
Error DescriptionThe error occurred when obtaining a unique identifier based on EmployeeID. </Error descriptiong;
<State Code>400</State Code>
- The serviceId parameter is set incorrectly.:
<Result>false</The result
<Error Description> Error when getting a unique identifier based on serviceId. </Error descriptiong;
<State Code>400</State Code>
- Couldn't get the duration of the appointment:
<Result>false</The result
Error description Error in calculating the end time: the booking frequency is not configured in the database and the employee does not have a set reception duration. </Error descriptiong;
<Status Code>500</State Code>
- Couldn't calculate the end of the appointment:
<Result>false</The result
<Error Description> Error in calculating the end time. </Error descriptiong;
<Status Code>500</State Code>
- The Clinic parameter is set incorrectly.:
<Result>false</The result
<Error Description> Error when getting a unique identifier based on Clinic. </Error descriptiong;
<State Code>400</State Code>
- The slot that is being recorded is already occupied:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>An application cannot be recorded, because there are already applications for the employee Ivanov Ivan Ivanovich for this period:
Application 00000000345 dated 09/08/2025 14:11:58
on 05.09.2025: 14:00-14:30
</faultstring>
<detail/>
</soap:Fault>
</soap:Body>
</soap:Envelope>
- The patient has already made an appointment with another doctor at the specified time.:
<Result>false</The result
<Error descriptionreferences>In the Web Integration procedure.Create an application() an error has occurred.It is impossible to record an application, because there is a new item for the client. There are already applications for this period:
Application 00000000348 dated 09/08/2025 15:19:51
as of 09.09.2025: 16:00-16:30
</Error descriptiong;
<Status Code>204</State Code>
- Couldn't create a new patient:
<Result>false</The result
<Error descriptionreferences>In the Web Integration procedure.Create an application() an error has occurred.Failed to create a New Patient client — Error description;/Error descriptiong;
<State Code>429</State Code>
- Couldn't record the admission document:
<Result>false</The result
<Error descriptionreferences>Error description;/Error descriptiong;
<Status Code>500</State Code>
TRANSFERRING A RECORD
POST request type
XML request body format
URL /ws/MR_Integration
Request body
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Body>
<ns0:BookAnAppointmentWithParams
xmlns:ns0="ru.umc">
<ns0:EmployeeID>eab46ee9-94b1-11e3-87ec-002618dcef2c</ns0:EmployeeID>
<ns0:PatientSurname>Ivanov</ns0:PatientSurname>
<ns0:PatientName>Ivan</ns0:PatientName>
<ns0:PatientFatherName>Ivanovich</ns0:PatientFatherName>
<ns0:Date>2025-01-01T00:00:00</ns0:Date>
<ns0:TimeBegin>0001-01-01T17:20:00</ns0:TimeBegin>
<ns0:Comment>Comment</ns0:Comment>
<ns0:Phone>79183335555</ns0:Phone>
<ns0:Email>почта@mail.ru </ns0:Email>
<ns0:Address>Address</ns0:Address>
<ns0:Clinic>f679444a-22b7-11df-8618-002618dcef2c</ns0:Clinic>
<ns0:Params>
<ns1:Property
xmlns:ns1="http://v8.1c.ru/8.1/data/core"
name="Birthday">
<ns1:Value>2009-11-12</ns1:Value>
</ns1:Property>
<ns1:Property
xmlns:ns1="http://v8.1c.ru/8.1/data/core"
name="Duration">
<ns1:Value>0001-01-01T00:00:00</ns1:Value>
</ns1:Property>
<ns1:Property
xmlns:ns1="http://v8.1c.ru/8.1/data/core"
name="ServiceID">
<ns1:Value>239329aa-a8c8-11ef-8129-96d03872bb29</ns1:Value>
</ns1:Property>
</ns0:Params>
</ns0:BookAnAppointmentWithParams>
</soap-env:Body>
</soap-env:Envelope>
- EmployeeID is the employee ID to which the record is being made. Obligatory.
- PatientSurname is the patient's last name.
- PatientName is the patient's name.
- PatientFatherName is the patronymic of the patient.
- Date — the start date of admission YYYY-MM-DDThh:mm:ss. Obligatory.
- TimeBegin is the start time for receiving YYYY-MM-DDThh:mm:ss. Obligatory.
- Comment — a comment on the reception.
- Phone — the patient's phone number.
- Email — the patient's email address.
- Address — the actual residential address of the patient.
- Clinic — The name of the branch where the appointment will take place. Obligatory.
- GUID is the type of reception that needs to be rescheduled. Obligatory.
- Reason — the reason for transferring the record.
- Params:Birthday — date of birth of the patient YYYY-MM-dd.
- Params:Duration — duration of reception YYYY-MM-DDThh:mm:ss.
- Params:serviceId — The service TYPE for which the appointment is being created.
Response format:
- The recording was successfully transferred:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:TransferAnAppointmentWithParamsResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><?xml version="1.0"?>
<mr_response_site record
xmlns="MR_S1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Result>true</The result
<Error description> <;/Error descriptiongt;
<Status Code>204</State Code>
<UID>3ad03b6b-8cb0-11f0-8154-96d03872bb29</WEED>
</MR_The response to the recording of the site>
</m:return>
</m:TransferAnAppointmentWithParamsResponse>
</soap:Body>
</soap:Envelope>
- UID — UID of the created record.
- The Duration parameter is set incorrectly.:
<Result>false</The result
Error DescriptionThe error occurred when converting Duration to date. </Error descriptiong;
<State Code>400</State Code>
- The Birthday parameter is set incorrectly.:
<Result>false</The Result>
Error DescriptionThe error occurred when converting Birthday to date. </Error descriptiongt;
<State Code>400</State Code>
- The EmployeeID parameter is set incorrectly.:
<Result>false</The result
Error DescriptionThe error occurred when obtaining a unique identifier based on EmployeeID. </Error descriptiong;
<State Code>400</State Code>
- The serviceId parameter is set incorrectly.:
<Result>false</The result
<Error Description> Error when getting a unique identifier based on serviceId. </Error descriptiong;
<State Code>400</State Code>
- Couldn't get the duration of the appointment:
<Result>false</The Result>
Error description Error in calculating the end time: the booking frequency is not configured in the database and the employee does not have a set reception duration. </Error descriptiongt;
<Status Code>500</State Code>
- Couldn't calculate the end of the appointment:
<Result>false</The result
<Error Description> Error in calculating the end time. </Error descriptiong;
<Status Code>500</State Code>
- The Clinic parameter is set incorrectly.:
<Result>false</The result
<Error Description> Error when getting a unique identifier based on Clinic. </Error descriptiong;
<State Code>400</State Code>
- The slot that is being recorded is already occupied:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>An application cannot be recorded, because there are already applications for the employee Ivanov Ivan Ivanovich for this period:
Application 00000000345 dated 09/08/2025 14:11:58
on 05.09.2025: 14:00-14:30
</faultstring>
<detail/>
</soap:Fault>
</soap:Body>
</soap:Envelope>
- The patient has already made an appointment with another doctor at the specified time.:
<Result>false</The result
<Error descriptionreferences>In the Web Integration procedure.Create an application() an error has occurred.It is impossible to record an application, because there is a new item for the client. There are already applications for this period:
Application 00000000348 dated 09/08/2025 15:19:51
as of 09.09.2025: 16:00-16:30
</Error descriptiong;
<Status Code>204</State Code>
- Couldn't create a new patient:
<Result>false</The result
<Error descriptionreferences>In the Web Integration procedure.Create an application() an error has occurred.Failed to create a New Patient client — Error description;/Error descriptiong;
<State Code>429</State Code>
- Couldn't record the admission document:
<Result>false</The result
<Error descriptionreferences>Error description;/Error descriptiong;
<Status Code>500</State Code>
RECORD CONFIRMATION
POST request type
XML request body format
URL /ws/MR_Integration
Request body
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Body>
<ns0:ConfirmBookAppointment
xmlns:ns0="ru.umc">
<ns0:GUID>ba4553c3-0960-11f0-8139-96d03872bb29</ns0:GUID>
<ns0:ConfirmSource>medflex</ns0:ConfirmSource>
</ns0:ConfirmBookAppointment>
</soap-env:Body>
</soap-env:Envelope>
- GUID — The GUID of the verified record.
- ConfirmSource — the source of the confirmation.
Response format:
- Confirmation is successful:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:ConfirmBookAppointmentResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><?xml version="1.0"?>
<mr_performance
xmlns="MR_S1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Result>true</The Result>
<Error description_/>;
<Status Code>204</State Code>
<lt;/mr_performance>;
</m:return>
</m:ConfirmBookAppointmentResponse>
</soap:Body>
</soap:Envelope>
- The GUID parameter is set incorrectly.:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:ConfirmBookAppointmentResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><?xml version="1.0"?>
<mr_performance
xmlns="MR_S1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Result>false</The Result>
Error DescriptionThe error occurred when receiving a unique application identifier based on the GUID.</Error descriptiongt;
<State Code>400</State Code>
<lt;/mr_performance>;
</m:return>
</m:ConfirmBookAppointmentResponse>
</soap:Body>
</soap:Envelope>
- Couldn't get the recording document:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:ConfirmBookAppointmentResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><?xml version="1.0"?>
<mr_performance
xmlns="MR_S1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Result>false</The Result>
Error DescriptionThe error occurred when searching for an application using a unique identifier.
The application with the specified ID was not found.</Error descriptiongt;
<Status Code>404<;/State Code>
<lt;/mr_performance>;
</m:return>
</m:ConfirmBookAppointmentResponse>
</soap:Body>
</soap:Envelope>
CANCEL RECORDING
POST request type
XML request body format
URL /ws/MR_Integration
Request body
<x:Envelope
xmlns:x="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ru="ru.umc"
xmlns:cor="http://v8.1c.ru/8.1/data/core">
<x:Header/>
<x:Body>
<ns0:CancelBookAnAppointment
xmlns:ns0="ru.umc">
<ns0:GUID>76bce417-8cb2-11f0-8154-96d03872bb29</ns0:GUID>
<ns0:Reason>Reason for cancellation</ns0:Reason>
<ns0:Params/>
</ns0:CancelBookAnAppointment>
</x:Body>
</x:Envelope>
- GUID — The GUID of the cancelled record.
- Reason — The reason for cancellation.
Response format:
- The recording was successfully canceled:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:CancelBookAnAppointmentResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><?xml version="1.0"?>
<mr_performance
xmlns="MR_S1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Result>true</The Result>
<Error Description> </Error descriptiongt;
<Status Code>204</State Code>
<lt;/mr_performance>;
</m:return>
</m:CancelBookAnAppointmentResponse>
</soap:Body>
</soap:Envelope>
- The GUID parameter is set incorrectly.:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:CancelBookAnAppointmentResponse
xmlns:m="ru.umc">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><?xml version="1.0"?>
<mr_performance
xmlns="MR_S1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Result>false</The Result>
Error DescriptionThe error occurred when receiving a unique application identifier based on the GUID.
</Error descriptiongt;
<State Code>400</State Code>
<lt;/mr_performance>;
</m:return>
</m:CancelBookAnAppointmentResponse>
</soap:Body>
</soap:Envelope>