[Done] Slovenian Post (SID: si_post, si_post_en)

Запросы на добавление новых/исправление существующих сревисов
Requests for add new or update/fix existing service

Moderator: Moderators

User avatar
MetalFan
Administator
Posts: 9143
Joined: Fri Sep 14, 2012 9:50 am
Location: Moscow
Has thanked: 348 times
Been thanked: 943 times

Slovenian Post (SID: si_post, si_post_en)

Post by MetalFan »

changed the way they handle tracking: http://sledenje.posta.si/
Service: https://sledenje.posta.si/TrackWebService.svc (http://sledenje.posta.si/Dokumenti/Doku ... ervice.pdf)
 Hidden text. You are not a member of the groups to which this text is available
wbw, MetalFan
User avatar
MetalFan
Administator
Posts: 9143
Joined: Fri Sep 14, 2012 9:50 am
Location: Moscow
Has thanked: 348 times
Been thanked: 943 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by MetalFan »

I could not understand description provided %) I have asked them a help
wbw, MetalFan
Carko
Posts: 19
Joined: Tue Sep 03, 2013 1:45 am

Post of Slovenia new service

Post by Carko »

Hi,

Post of Slovenia has implemented a new service on http://sledenje.posta.si using CAPTCHA. Could you add it to TrackChecker? Thanks.
User avatar
guru
Moderator
Posts: 2848
Joined: Mon Dec 10, 2012 3:56 pm
Has thanked: 141 times
Been thanked: 182 times

Re: Post of Slovenia new service

Post by guru »

Carko, Please give working of the track number for testing.
MetalFan, спасибо за TrackChecker!
User avatar
MetalFan
Administator
Posts: 9143
Joined: Fri Sep 14, 2012 9:50 am
Location: Moscow
Has thanked: 348 times
Been thanked: 943 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by MetalFan »

I got response from Slovenian post employee:
Hello,

we inform you that we changed some things on our web side sledenje.posta.si because of trouble which we have because of uncontrolled calling our Track &Trace server.

The link which can be used for needed Track &Trace is:

http://sledenje.posta.si/Default.aspx?t ... 21SI&guid=*******

tn = TraceNumber oz. sprejemna številka (reception number)
guid = posebna številka, namenjena samo vam (special issue is intended only for you)

Such solution is not suitable for tracking of massive demand, so we restrict demand that you can´t repeat tracking in less than 3 seconds. If you done the sistem reports an error. For massive demand wich can be used by our contract clients is “Shipment Tracking” online service.

If you have any questions about tracking, please contact the sledenje.posiljk@posta.si .

Best regards,

Ivo RAUŠ
Področje razvoja in tehnologije storitev
Oddelek za razvoj in tehnologijo poštnih storitev
Pošta Slovenije, d.o.o., Slomškov trg 10, 2500 MARIBOR
telefon: (02) 449 2252, telefaks: (02) 449 2371
So you need to ask them to give you a unique ID... I will add support of manual input of captcha and this unique ID as separate servceis (si_captcha & si_uid).
wbw, MetalFan
Carko
Posts: 19
Joined: Tue Sep 03, 2013 1:45 am

Re: Problem with Slovenian post (SID: si, si_en)

Post by Carko »

That would be great - I asked them and they already gave me my own uid.

PS. the Mobile version of the tracking site does not ask for CAPTCHA, but it would probably be just a matter of time before they add it there too...
User avatar
MetalFan
Administator
Posts: 9143
Joined: Fri Sep 14, 2012 9:50 am
Location: Moscow
Has thanked: 348 times
Been thanked: 943 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by MetalFan »

Carko wrote: the Mobile version of the tracking site does not ask for CAPTCHA
Nice) could you please to give me a link to it?

yes, I did it! now service with SID:si works via mobile version... till they block it)

You can get prerelease update here and test it.
There are two services: si and si_guid, second is for track+guid format like: "RA123456789SI ABCDEFGH-1234"
wbw, MetalFan
Carko
Posts: 19
Joined: Tue Sep 03, 2013 1:45 am

Re: Problem with Slovenian post (SID: si, si_en)

Post by Carko »

Thanks.

The SID:si is working, however I cannot get the si_guid to work. Note that the guid is in the hexadecimal format (so ABCDEF1-1A2B is valid guid), is maybe that what's causing the problem?

Also, if I add multiples services, the track+guid format appears to break other services for that track. Is there a way around that?

Thanks again!
User avatar
MetalFan
Administator
Posts: 9143
Joined: Fri Sep 14, 2012 9:50 am
Location: Moscow
Has thanked: 348 times
Been thanked: 943 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by MetalFan »

Pls try this prerelease build with si_guid service.
What services are you added together with si_guid?
wbw, MetalFan
Carko
Posts: 19
Joined: Tue Sep 03, 2013 1:45 am

Re: Problem with Slovenian post (SID: si, si_en)

Post by Carko »

Sorry for the late reply.

Should the prerelease build in your last post also include the si_guid or am I supposed to test it with the previous services.dat file from this thread (there is no si_guid in that latest prerelease build)?

Here are two examples with my guid:

si_guid + sg_post:
 Hidden text. You are not a member of the groups to which this text is available
si_guid + china:
 Hidden text. You are not a member of the groups to which this text is available
User avatar
MetalFan
Administator
Posts: 9143
Joined: Fri Sep 14, 2012 9:50 am
Location: Moscow
Has thanked: 348 times
Been thanked: 943 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by MetalFan »

Carko wrote:Should the prerelease build in your last post also include the si_guid or am I supposed to test it with the previous services.dat file from this thread
I don't remember, maybe test build don't include latest services.dat, if you don't see si_guid service in list, you need to use new services.dat file)

sg_post and china services can not recognize guid appendix to track and didn't check such track...
you can add normal track via ";" like this: "RA123456789CN ABCDEFGH-1234;RA123456789CN"
it means that text field contents two separate tracking numbers... and app will split and check it separatly.

Another solution... is in adding special parsing mask to china & sg_post (and maybe other post services) services "\p{L}{2}\d{9}\p{L}{2}"... App will try to detect UPU tracking number from complex track string for si_guid...
But... it is not иуые solution... for best solution I need to think hard)
wbw, MetalFan
demonchen
Posts: 2
Joined: Thu May 01, 2014 1:54 pm
Has thanked: 2 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by demonchen »

ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by ichor »

 Hidden text. You are not a member of the groups to which this text is available
Carko
Posts: 19
Joined: Tue Sep 03, 2013 1:45 am

Re: Problem with Slovenian post (SID: si, si_en)

Post by Carko »

Hello,

apparently the mobile version (used by the "si" service) now also uses the CAPTCHA so it does not work anymore.

Also I am somehow unable to use the si_guid service - when adding the tracking number with the guid, nothing happens when checking the track.

Example:
 Hidden text. You are not in the default group to which this text is available
ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by ichor »

Si требует трех запросов для получения сведений о посылках. Такого пока не умеем.

Si_Guid is working...
You do not have the required permissions to view the files attached to this post.
Carko
Posts: 19
Joined: Tue Sep 03, 2013 1:45 am

Re: Problem with Slovenian post (SID: si, si_en)

Post by Carko »

Interesting, I'm using Windows client and I am unable to get any information from "si_guid" with the latest app (v1.0.13 (b455)) and services (sv20160819).
 Hidden text. You are not in the default group to which this text is available
Is it possible because of the mask?
ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by ichor »

Carko
Posts: 19
Joined: Tue Sep 03, 2013 1:45 am

Re: Problem with Slovenian post (SID: si, si_en)

Post by Carko »

Not working either, unfortunately. Nothing happens for si_guid tracks when I press F5 (or click the Check button).
ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by ichor »

Was a mistake in track mask. Fixed it!
You do not have the required permissions to view the files attached to this post.
Carko
Posts: 19
Joined: Tue Sep 03, 2013 1:45 am

Re: Problem with Slovenian post (SID: si, si_en)

Post by Carko »

Thanks!

I fixed the track mask some more (tracking numbers can also end with NL, CN, ...) and fixed the regex to match some additional tracks, for example:
You do not have the required permissions to view the files attached to this post.
User avatar
MetalFan
Administator
Posts: 9143
Joined: Fri Sep 14, 2012 9:50 am
Location: Moscow
Has thanked: 348 times
Been thanked: 943 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by MetalFan »

wbw, MetalFan
ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by ichor »

Carko, NL is only for Netherlands post, CN - for china, not for Slovenian post. Slovenian post should have in mask ONLY "SI"!
Carko
Posts: 19
Joined: Tue Sep 03, 2013 1:45 am

Re: Problem with Slovenian post (SID: si, si_en)

Post by Carko »

Of course, but we want to track incoming shipments too! :)

If I get a shipment from China, it ends with CN, but I still want to track the delivery via Slovenian post (as it is more detailed) ...
ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by ichor »

So you should just select User country as Slovenia in App settings and Slovenian post will add to all you tracks by default.

If case of your mask every service should has NL and CN and so on in mask. And in that case there are no autodetect of services at all.
User avatar
MetalFan
Administator
Posts: 9143
Joined: Fri Sep 14, 2012 9:50 am
Location: Moscow
Has thanked: 348 times
Been thanked: 943 times

Re: Problem with Slovenian post (SID: si, si_en)

Post by MetalFan »

Unfortunately they placed Captcha image on the main html page.... TrackChecker parser engine doesn't support this type of captcha images yet(
wbw, MetalFan