Skip to content

Instantly share code, notes, and snippets.

@divniy
Created October 12, 2017 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save divniy/61dd1a28a9c8989c504e8e93e82b6ebb to your computer and use it in GitHub Desktop.
Save divniy/61dd1a28a9c8989c504e8e93e82b6ebb to your computer and use it in GitHub Desktop.
Started GET "/settings/insurances/new" for 185.65.135.91 at 2017-10-12 15:12:04 +0300
Processing by Pub::Settings::InsurancesController#new as HTML
User Load (1.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 41723], ["LIMIT", 1]]
Rendering pub/settings/insurances/new.html.haml
Rendered pub/auth/shared/_modal_header.html.haml (1.7ms)
HTTPI GET request to test-sportins.virtusystems.ru (excon)
SOAP request: https://test-sportins.virtusystems.ru/PO.Insurance/POInsuranceB2CService?wsdl
SOAPAction: "login", Content-Type: text/xml;charset=UTF-8, Content-Length: 364
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://service.b2c.web.lois.ru/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:login><login>sportcloud</login><password>sportcloud</password></tns:login></env:Body></env:Envelope>
HTTPI POST request to test-sportins.virtusystems.ru (excon)
SOAP response (status 200)
<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns3:loginResponse xmlns:ns2="http://entrance.service.b2c.lois.ru/" xmlns:ns3="http://service.b2c.web.lois.ru/"><ns2:sessionId>F9F3F266-4204-48E2-B494-51DAD3FC23C5</ns2:sessionId><ns2:ok>true</ns2:ok></ns3:loginResponse></S:Body></S:Envelope>
SOAP request: https://test-sportins.virtusystems.ru/PO.Insurance/POInsuranceB2CService?wsdl
SOAPAction: "getEntranceIDWithCallbackUrl", Content-Type: text/xml;charset=UTF-8, Content-Length: 490
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://service.b2c.web.lois.ru/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:getEntranceIDWithCallbackUrl><sessionId>F9F3F266-4204-48E2-B494-51DAD3FC23C5</sessionId><callbackUrl>http://sportcloud.diwide.ru/api/insurance_policies</callbackUrl></tns:getEntranceIDWithCallbackUrl></env:Body></env:Envelope>
HTTPI POST request to test-sportins.virtusystems.ru (excon)
SOAP response (status 200)
<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns3:getEntranceIDWithCallbackUrlResponse xmlns:ns2="http://entrance.service.b2c.lois.ru/" xmlns:ns3="http://service.b2c.web.lois.ru/"><ns2:entranceId>bfd42906-ba4f-4e71-8f79-6b96aded3fad</ns2:entranceId><ns2:ok>true</ns2:ok></ns3:getEntranceIDWithCallbackUrlResponse></S:Body></S:Envelope>
HTTPI GET request to test-sportins.virtusystems.ru (excon)
SOAP request: https://test-sportins.virtusystems.ru/PO.Insurance/POInsuranceService?wsdl
SOAPAction: "logIn", Content-Type: text/xml;charset=UTF-8, Content-Length: 366
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://service.insurance.lois.ru/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:logIn><login>sportcloud</login><password>sportcloud</password></tns:logIn></env:Body></env:Envelope>
HTTPI POST request to test-sportins.virtusystems.ru (excon)
SOAP response (status 200)
<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns3:logInResponse xmlns:ns2="http://dictionary.policy.ie.lois.ru/" xmlns:ns3="http://service.insurance.lois.ru/" xmlns:ns4="http://error.ie.lois.ru/" xmlns:ns5="http://policy.ie.lois.ru/" xmlns:ns6="http://dissolution.ie.lois.ru/"><accID>e104ba0d-246b-4420-96c6-fa8361cedf01</accID></ns3:logInResponse></S:Body></S:Envelope>
UserProfile Load (0.9ms) SELECT "user_profiles".* FROM "user_profiles" WHERE "user_profiles"."user_id" = $1 LIMIT $2 [["user_id", 41723], ["LIMIT", 1]]
SOAP request: https://test-sportins.virtusystems.ru/PO.Insurance/POInsuranceService?wsdl
SOAPAction: "importPolicyWOValidation", Content-Type: text/xml;charset=UTF-8, Content-Length: 1231
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://service.insurance.lois.ru/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:importPolicyWOValidation><accID>e104ba0d-246b-4420-96c6-fa8361cedf01</accID><policy><insCompanyName>ООО «ВИРТУ СИСТЕМС»</insCompanyName><product><name>Ренессанс. Страхование спортсменов. НС</name></product><insurant><type>ФЛ</type><physical><lastName>Парамонов</lastName><firstName>Дмитрий</firstName><middleName>Александрович</middleName><birthDate>1986-08-30</birthDate><email>admin@sportcloud.ru</email><phone></phone><sex>M</sex></physical></insurant><insuranceObjects><object><name>Обьект страхования Мой Шлем</name><parameters></parameters><riskInfo><risk><name>Госпитализация</name><insured>true</insured><insSum>100000</insSum><insSumCurrCode>RUR</insSumCurrCode><insPremCurrCode>RUR</insPremCurrCode></risk></riskInfo></object></insuranceObjects><parameters></parameters></policy></tns:importPolicyWOValidation></env:Body></env:Envelope>
HTTPI POST request to test-sportins.virtusystems.ru (excon)
SOAP response (status 200)
<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns3:importPolicyWOValidationResponse xmlns:ns2="http://dictionary.policy.ie.lois.ru/" xmlns:ns3="http://service.insurance.lois.ru/" xmlns:ns4="http://error.ie.lois.ru/" xmlns:ns5="http://policy.ie.lois.ru/" xmlns:ns6="http://dissolution.ie.lois.ru/"><policy><ns5:insCompanyName>ООО «ВИРТУ СИСТЕМС»</ns5:insCompanyName><ns5:product><ns5:name>Ренессанс. Страхование спортсменов. НС</ns5:name></ns5:product><ns5:state>Котировка</ns5:state><ns5:prolongation>false</ns5:prolongation><ns5:insurant><ns5:type>ФЛ</ns5:type><ns5:physical><ns5:internalID>1663</ns5:internalID><ns5:lastName>Парамонов</ns5:lastName><ns5:firstName>Дмитрий</ns5:firstName><ns5:middleName>Александрович</ns5:middleName><ns5:lastNameLat>Paramonov</ns5:lastNameLat><ns5:firstNameLat>Dmitry</ns5:firstNameLat><ns5:middleNameLat>Alexandrovich</ns5:middleNameLat><ns5:birthDate>1986-08-30T00:00:00</ns5:birthDate><ns5:email>admin@sportcloud.ru</ns5:email><ns5:phone></ns5:phone><ns5:sex>M</ns5:sex><ns5:passport><ns5:type>Паспорт гражданина РФ</ns5:type><ns5:series>4509</ns5:series><ns5:number>046572</ns5:number><ns5:dateOfIssue>2000-08-30T00:00:00</ns5:dateOfIssue></ns5:passport><ns5:document><ns5:type>Паспорт гражданина РФ</ns5:type><ns5:series>4509</ns5:series><ns5:number>046572</ns5:number><ns5:dateOfIssue>2000-08-30T00:00:00</ns5:dateOfIssue></ns5:document><ns5:documents><ns5:document><ns5:type>Паспорт гражданина РФ</ns5:type><ns5:series>4509</ns5:series><ns5:number>046572</ns5:number><ns5:dateOfIssue>2000-08-30T00:00:00</ns5:dateOfIssue></ns5:document></ns5:documents><ns5:isIP>false</ns5:isIP></ns5:physical></ns5:insurant><ns5:insuranceObjects><ns5:object><ns5:name>Обьект страхования Мой Шлем</ns5:name><ns5:parameters/><ns5:riskInfo><ns5:risk><ns5:name>Госпитализация</ns5:name><ns5:insured>true</ns5:insured><ns5:insSum>100000.0</ns5:insSum><ns5:insSumCurrCode>RUR</ns5:insSumCurrCode><ns5:insPremCurrCode>RUR</ns5:insPremCurrCode><ns5:fransiza>0.0</ns5:fransiza><ns5:koefficients/></ns5:risk></ns5:riskInfo></ns5:object></ns5:insuranceObjects><ns5:representative><ns5:lastName>sportcloud</ns5:lastName><ns5:procuracyNumber>1</ns5:procuracyNumber><ns5:procuracyDate>2017-09-06T13:11:51</ns5:procuracyDate></ns5:representative><ns5:currExchList/><ns5:ID>POLICY_542</ns5:ID><ns5:dealerConractInfo><ns5:type>АГЕНТСКИЙ_ДОГОВОР</ns5:type><ns5:agentConract><ns5:number>1</ns5:number><ns5:date>2017-09-01T12:00:00</ns5:date><ns5:departmentCode>1</ns5:departmentCode><ns5:salesChannel>Интернет-продажи</ns5:salesChannel><ns5:agent><ns5:type>ЮЛ</ns5:type><ns5:juridical><ns5:internalID>1263</ns5:internalID><ns5:fullName>sportcloud</ns5:fullName><ns5:shortName>sportcloud</ns5:shortName></ns5:juridical></ns5:agent></ns5:agentConract><ns5:dealer><ns5:type>ЮЛ</ns5:type><ns5:juridical><ns5:internalID>1263</ns5:internalID><ns5:fullName>sportcloud</ns5:fullName><ns5:shortName>sportcloud</ns5:shortName></ns5:juridical></ns5:dealer></ns5:dealerConractInfo><ns5:pointOfSale><ns5:name>sportcloud</ns5:name><ns5:address><ns5:country>Россия</ns5:country><ns5:countryCodeOKSM>643</ns5:countryCodeOKSM><ns5:region>Москва</ns5:region><ns5:locality>Москва</ns5:locality><ns5:localityCodeKLADR>7700000000000</ns5:localityCodeKLADR><ns5:addressText>Россия, Москва, Москва</ns5:addressText></ns5:address></ns5:pointOfSale><ns5:userInfo><ns5:lastName>sportcloud</ns5:lastName><ns5:name>sportcloud</ns5:name><ns5:userName>sportcloud</ns5:userName></ns5:userInfo><ns5:calcID>1017_000108</ns5:calcID><ns5:paymentsPlan/><ns5:clientWithoutLoss>false</ns5:clientWithoutLoss><ns5:discountUnderwriter>0.0</ns5:discountUnderwriter><ns5:foulOfInsurance>false</ns5:foulOfInsurance><ns5:internalID>542</ns5:internalID><ns5:pechatNaBlanke>true</ns5:pechatNaBlanke><ns5:skidkaAvVProc>false</ns5:skidkaAvVProc></policy><calcID>1017_000108</calcID></ns3:importPolicyWOValidationResponse></S:Body></S:Envelope>
SOAP request: https://test-sportins.virtusystems.ru/PO.Insurance/POInsuranceService?wsdl
SOAPAction: "getHashByPolicyCalcId", Content-Type: text/xml;charset=UTF-8, Content-Length: 423
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://service.insurance.lois.ru/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:getHashByPolicyCalcId><accID>e104ba0d-246b-4420-96c6-fa8361cedf01</accID><calc_id>1017_000108</calc_id></tns:getHashByPolicyCalcId></env:Body></env:Envelope>
HTTPI POST request to test-sportins.virtusystems.ru (excon)
SOAP response (status 200)
<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns3:getHashByPolicyCalcIdResponse xmlns:ns2="http://dictionary.policy.ie.lois.ru/" xmlns:ns3="http://service.insurance.lois.ru/" xmlns:ns4="http://error.ie.lois.ru/" xmlns:ns5="http://policy.ie.lois.ru/" xmlns:ns6="http://dissolution.ie.lois.ru/"><hashCode>53d99b0c-f639-4675-a087-810bc997f576</hashCode></ns3:getHashByPolicyCalcIdResponse></S:Body></S:Envelope>
Rendered pub/settings/insurances/new.html.haml (5688.0ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment