ΠΡΠΏΠΎΠ»Π½ΠΈΡΡ Π΄Π΅ΠΉΡΡΠ²ΠΈΠ΅ Π½Π°Π΄ Π·Π°ΠΊΠ°Π·ΠΎΠΌ
ΠΠ΅ΡΠ΅Π΄ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ ΠΌΠ΅ΡΠΎΠ΄Π° Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎ ΠΏΡΠΎΠΉΡΠΈ Π°ΡΡΠ΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΈΡ ΠΈ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π²Π°Π»ΠΈΠ΄Π½ΡΠΉ ΡΠΎΠΊΠ΅Π½. ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ ΠΎΠ± ΡΡΠΎΠΌ ΠΠ²ΡΠΎΡΠΈΠ·Π°ΡΠΈΡ (ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΠ΅ ΡΠΎΠΊΠ΅Π½Π°)
WSDL Π΄Π»Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ ΠΌΠ΅ΡΠΎΠ΄Π°:Β https://yourdomain.ru/XmlGate/EndCustomer/EndCustomerAPI.asmx?WSDL
ΠΠ΅ΡΠΎΠ΄:Β ManageReservation
ΠΠ°ΡΠ°ΠΌΠ΅ΡΡΡ:
id_ReserveΒ β int β Π½ΠΎΠΌΠ΅Ρ Π·Π°ΠΊΠ°Π·Π° Π² ΡΠΈΡΡΠ΅ΠΌΠ΅ ΠΠΎΡΡΠ΅ΠΎΡ,Β Π½Π΅ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΏΡΡΡΡΠΌ;
ActionΒ β string βΒ Π΄Π΅ΠΉΡΡΠ²ΠΈΠ΅ Π½Π°Π΄ Π·Π°ΠΊΠ°Π·ΠΎΠΌ: issue - ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅, cancel - ΠΎΡΠΌΠ΅Π½Π°, transfer - ΠΏΠ΅ΡΠ΅Π΄Π°ΡΠ° Π² Π°Π³Π΅Π½ΡΡΡΠ²ΠΎ
OtherDataΒ β string β ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΉ Π΄Π»Ρ Π°Π³Π΅Π½ΡΠ°
ΠΡΠΈΠΌΠ΅Ρ ΠΏΠ΅ΡΠ΅Π΄Π°ΡΠΈ Π·Π°ΠΊΠ°Π·Π° Π² Π°Π³Π΅Π½ΡΡΡΠ²ΠΎ(transfer)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cor="http://www.corteos.ru/">
<soapenv:Header>
<cor:AuthHeader>
<!--Optional:-->
<cor:Token>e9e494d0-****-****-aec8-779b341a6141</cor:Token>
</cor:AuthHeader>
</soapenv:Header>
<soapenv:Body>
<cor:ManageReservation>
<cor:id_Reserve>1767712</cor:id_Reserve>
<!--Optional:-->
<cor:Action>transfer</cor:Action>
<!--Optional:-->
<cor:OtherData></cor:OtherData>
</cor:ManageReservation>
</soapenv:Body>
</soapenv:Envelope>
ΠΡΠΈΠΌΠ΅Ρ ΠΎΡΠ²Π΅ΡΠ°:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ManageReservationResponse xmlns="http://www.corteos.ru/">
<ManageReservationResult>
<Result>true</Result>
</ManageReservationResult>
</ManageReservationResponse>
</soap:Body>
</soap:Envelope>
Β
Β