Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Delphi Rest API e-Visitor

[es] :: Pascal / Delphi / Kylix :: Delphi Rest API e-Visitor

Strane: 1 2

[ Pregleda: 6042 | Odgovora: 23 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

marekius
slobodan igrač
Zagreb, Hrvatska

Član broj: 333405
Poruke: 2
*.static.amis.hr.



Profil

icon Re: Delphi Rest API e-Visitor04.05.2016. u 13:07 - pre 96 meseci
http://static.elitesecurity.org/angry.gif
Imam problem sa prijavom gosta u evisitor ali ne znam gdje griješim ima li tko ideju ili primjer sve primam http://static.elitesecurity.org/smile4.gif

vIDHTTP.Post(vURI+'/Rest/Htz/CheckInTourist/',TStringStream.Create(
' {'+
'"Facility":"0000033",' +
'"StayFrom":"20160504",'+
'"TimeStayFrom":"12:44",'+
'"ForeseenStayUntil":"20160811",'+
'"TimeEstimatedStayUntil":"11:32",'+
'"DocumentType":"008",'+
'"DocumentNumber":"nn1",'+
'"TouristName":"Jurica",'+
'"TouristMiddleName":"Jura",'+
'"TouristSurname":"Ribar",'+
'"Gender":"ženski",'+
'"CountryOfBirth":"RUS",'+
'"CityOfBirth":"Moskva",'+
'"Citizenship":"RUS",'+
'"VisaValidityDate":"20160309",' +
'"VisaType":"Putna viza",' +
'"VisaNumber":"0001",' +
'"CountryOfResidence":"RUS",' +
'"CityOfResidence":"Moskva",' +
'"ResidenceAddress":"aa1",' +
'"PassageDate":"20160309",' +
'"BorderCrossing":"053",' +
'"TTPaymentCategory":"12",' +
'"ArrivalOrganisation":"I",' +
'"OfferedServiceType":"nočenje",' +
'"DateOfBirth":"20150309"' +
'}'

));
 
Odgovor na temu

captPicard
programer
more i planine

Član broj: 216084
Poruke: 1119



+19 Profil

icon Re: Delphi Rest API e-Visitor04.05.2016. u 15:55 - pre 96 meseci
Za početak, koju grešku ti daje?
F
 
Odgovor na temu

marekius
slobodan igrač
Zagreb, Hrvatska

Član broj: 333405
Poruke: 2
*.static.amis.hr.



Profil

icon Re: Delphi Rest API e-Visitor05.05.2016. u 08:13 - pre 96 meseci
skužio sam da je problem u ŠĐŽČĆšđžčć ali sad je pitanje kak postavit pravu kodnu stranicu u INDY
 
Odgovor na temu

captPicard
programer
more i planine

Član broj: 216084
Poruke: 1119



+19 Profil

icon Re: Delphi Rest API e-Visitor05.05.2016. u 09:08 - pre 96 meseci
Prije nego posaljes string iskoristi funkciju UTF8Encode i to je to.
F
 
Odgovor na temu

[es] :: Pascal / Delphi / Kylix :: Delphi Rest API e-Visitor

Strane: 1 2

[ Pregleda: 6042 | Odgovora: 23 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.