Please enable JavaScript.
Coggle requires JavaScript to display documents.
тестовый запрос - Coggle Diagram
тестовый запрос
Хаюшки-приветики. Это тестовый запрос. Даты в кавычках. Одинарных
$SYS.POST
content-type: application/x-www-form-urlencoded
QUESTION
email=ewa@vistana.com.ua
password=6e8ab15be2f6ec1f6b14e9fd450fe1b46bc9b079
ANSWER
%jsession=$.sessionId %Raw
%salePointId=$.user.salePoint.id %Raw
%Raw
%userId=$.user.id %Raw
%companyId=$.user.salePoint.company.id %Raw
%companyType=$.user.salePoint.company.type %Raw
https://web.ewa.ua/ewa/api/v9/user/login
%Raw
sale Point %salePointId
company type %companyType
company Id %companyId
Сессия %jsession
%data={"type":"epolicy", "salePoint":{"id":%salePointId,"company":{"type":"%companyType","id":%companyId}},"user":{"id":%userId},"tariff":{"type":"epolicy","id":40115},"date":"2021-03-30","dateFrom":"2021-04-01T00:00:00.000+0200","customer":{"code":"3161524337","nameLast":"Арацков","nameFirst":"Андрей","address":"Днепр","phone":"+380666301232","email":
"arac.koff@gmail.com
","birthDate":"1986-07-23","document":{"type":"PASSPORT","series":"АО","number":"167803","date":"2013-11-01","issuedBy":"Ленінський РВ у місті Дніпро"}},"insuranceObject":{"type":"auto","category":"B2","model":{"id":67,"autoMaker":{"id":65}},"modelText":"Volkswagen Passat","bodyNumber":"WVWZZZ3CZFE493065","stateNumber":"АА1234ОК","registrationPlace":{"id":14},"registrationType":"PERMANENT_WITHOUT_OTK","year":2015},"state":"DRAFT"}
1 more item...