This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.atc.communication; | |
import java.time.LocalDate; | |
public class ATCCompanySendWishes { | |
enum Looks { | |
AWFUL("не очень"), USUALL("как обычно"), EXCELLENT("отлично"); | |
private String name; | |
Looks(String name) { | |
this.name = name; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"knum": "33:05:080101:550", | |
"connum": "(У33:03:00 00 00:0016)", | |
"objtype": "Земельный участок", | |
"objstatus": "Учтенный", | |
"address": "обл. Владимирская, р-н Суздальский, с. Павловское, ул. Школьная, дом 1-2", | |
"registration_date":"1992-07-16", | |
"dateremove": "", | |
"category": "Земли населенных пунктов", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"PointOfSale":{"Location":{"CountryCode":{"value":"US"},"CityCode":{"value":"WAS"}},"RequestTime":{"value":"2015-10-14T00:00:00.000+0000","Zone":"EST"},"TouchPoint":{"Device":{"Position":{"Latitude":{"value":"38.89756"},"Longitude":{"value":"-77.03650"},"NAC":"8KD7V PGGM0"},"Code":"2","Definition":"Web Browser"},"Event":{"Code":"1","Definition":"Order or buy"}}},"Document":{"Name":"KRONOS NDC GATEWAY","ReferenceVersion":"1.0"},"Party":{"Sender":{"TravelAgencySender":{"Contact":[{"EmailContact":{"Address":{"value":"ndc@usdtravel.com"}}}],"PseudoCity":{"value":"A4A"},"IATA_Number":"98417900","AgencyID":{"value":"C9","Owner":"C9"},"AgentUser":{"AgentUserID":{"value":"ramesh@jrt.com"},"UserRole":"ADMIN","Name":"ksmith"}}}},"Query":{"Passengers":{"Passenger":[{"ObjectKey":"PAX1","PTC":{"value":"ADT","Quantity":1},"ResidenceCode":{"value":"US"},"Age":{"BirthDate":{"value":"1985-09-04T20:00:00.000+0000"}},"Name":{"Surname":{"value":"Patel"},"Given":[{"value":"Ramesh"}],"Middle":[{"value":"N"}]},"Contact":[{"Address |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Bean | |
public WebMvcConfigurerAdapter webMvcConfigurerAdapter() { | |
return new WebMvcConfigurerAdapter() { | |
@Override | |
public void extendMessageConverters(List<HttpMessageConverter<?>> converters) { | |
super.configureMessageConverters(converters); | |
converters.stream() | |
.filter(converter -> converter instanceof MappingJackson2HttpMessageConverter) | |
.map(converter -> (MappingJackson2HttpMessageConverter) converter) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"pointOfSale":{"location":{"countryCode":{"value":"RU"},"cityCode":{"value":"77"}},"requestTime":{"value":"2017-02-17T08:52:51.000+0000","zone":"MSK"},"touchPoint":{"device":{"code":"2","definition":"Web Browser","position":{"latitude":{"value":"38.89756"},"longitude":{"value":"-77.03650"},"nac":"8KD7V PGGM0"}},"event":{"code":"2","definition":"Document Issue"}}},"document":{"name":"Aeroflot NDC Gateway","referenceVersion":"0.1"},"party":{"sender":{"agentUserSender":{"contacts":[{"emailContact":{"address":{"value":"test-agency@aeroflot.com"}}}],"pseudoCity":{"value":"A4A"},"agentUserID":{"value":"ksmith","owner":"SU"},"userRole":"ADMIN","iatanumber":"98417900"}},"participants":{"name":"{http://www.iata.org/IATA/EDIST}Participants","declaredType":"org.iata.iata.edist.MsgPartiesType$Participants","scope":"org.iata.iata.edist.MsgPartiesType","value":{},"nil":false,"globalScope":false,"typeSubstituted":false},"recipient":{"name":"{http://www.iata.org/IATA/EDIST}Recipient","declaredType":"org.iata.iata.edist.MsgP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"document": { | |
"name": "AEROFLOT NDC GATEWAY", | |
"referenceVersion": "1.0" | |
}, | |
"party": { | |
"sender": { | |
"travelAgencySender": { | |
"contacts": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"pointOfSale": { | |
"location": { | |
"countryCode": { | |
"value": "RU" | |
}, | |
"cityCode": { | |
"value": "MOW" | |
} | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"pointOfSale": { | |
"location": { | |
"countryCode": { | |
"value": "RU" | |
}, | |
"cityCode": { | |
"value": "MOW" | |
} | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id":1037, | |
"name": "New questions", | |
"objectIds": [ | |
2,3 | |
], | |
"operationIds": [ | |
3,1 | |
], | |
"answers": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"pointOfSale":{"location":{"countryCode":{"value":"RU"}},"requestTime":{"value":"2017-02-17T08:52:51.000+0000","zone":"MSK"},"touchPoint":{"device":{"code":"2","definition":"Web Browser","position":{"latitude":{"value":"38.89756"},"longitude":{"value":"-77.03650"},"nac":"8KD7V PGGM0"}},"event":{"code":"2","definition":"Document Issue"}}},"document":{"name":"AEROFLOT NDC GATEWAY","referenceVersion":"0.1"},"party":{"sender":{"travelAgencySender":{"contacts":[{"emailContact":{"address":{"value":"test-agency@gmail.com"}}}],"pseudoCity":{"value":"A4A"},"agencyID":{"value":"C9","owner":"C9"},"agentUser":{"name":"ksmith","agentUserID":{"value":"ksmith@gmail.com"},"userRole":"ADMIN"},"iatanumber":"98417900"}}},"query":{"ticketDocQuantity":2,"ticketDocInfo":[{"travelerInfo":{"surname":{"value":"Macready"},"given":{"value":"Damon"},"ptc":"ADT","fqtv":[{"airlineID":{"value":"SU"},"account":{"number":{"value":"89043361"}},"programID":"Aeroflot Bonus"}],"birthDate":"1980-09-03T21:00:00.000+0000","infantOnLapInd":false,"e |