Giter VIP home page Giter VIP logo

Comments (12)

PaulVanDeKamer avatar PaulVanDeKamer commented on July 26, 2024 1

More info can be found here: https://developer.postnl.nl/apis/new-api-platform?trc=k-em_f-f_d-20170824_c-10_m-Nieuw%20API%20platform%20groep2%20NL%20ENG_l-hier

from postnl.

Niels10 avatar Niels10 commented on July 26, 2024 1

@slokhorst. The new APIs can have both SOAP and REST (at the same endpoint). So it can be that JSON will return by using the interface. For SOAP, the API accepts POST requests by using the Content-Type header text / xml. The SOAP message can then be sent in the body of the request.

from postnl.

slokhorst avatar slokhorst commented on July 26, 2024

Hm, interesting. It looks like they are changing everything from SOAP to REST.

PostNL has launched a new API platform Since 24 August 2017. The formal webservices have been migrated to this platform, so that we can keep providing good service. It is recommended to use the above endpoints.

Anyone knows more about this?

from postnl.

PaulVanDeKamer avatar PaulVanDeKamer commented on July 26, 2024

Hi all,
Are the new enpoints already implemented?

from postnl.

slokhorst avatar slokhorst commented on July 26, 2024

@PaulVanDeKamer no. I'm not even sure if it's possible to use the new version via the SOAP interface. All endpoints listed seem to return JSON stuff.

from postnl.

ameenross avatar ameenross commented on July 26, 2024

Also, apparently they're using OAuth2? I guess this library is becoming more or less obsolete, or a complete rewrite is required.

from postnl.

PaulVanDeKamer avatar PaulVanDeKamer commented on July 26, 2024

The sundown of the old API is on 15 oktober and they strongly advice to migrate to the new api before this date. Was told by a employe that the only thing changed is the authentication part.

from postnl.

ameenross avatar ameenross commented on July 26, 2024

So it's not really OAuth2, just simple token auth? It's strange that they would return an errorcode with oauth in it then... steps.oauth.v2.FailedToResolveAPIKey

This is kind of worrying though. Especially the fact that there doesn't seem to be any actual technical documentation about this yet. Apart from that announcement (which does not appear to be linked from anywhere) there's nothing. I'm currently awaiting information from a PostNL account manager.

from postnl.

PaulVanDeKamer avatar PaulVanDeKamer commented on July 26, 2024

To get a AUTH Key you have to email with "CIT servicedesk"
-< Neem contact op met de CIT Servicedesk (zie contactgegevens onderaan dit bericht) voor toegang tot de API Manager portal om de API keys op te halen en te beheren. Voor de aanvraag zijn naam en e-mailadres nodig. >-
-< [email protected] >- They are revering to https://developer.postnl.nl/
I just got an email back and have access to our apimanager.

from postnl.

matthijs-neijenhuijs avatar matthijs-neijenhuijs commented on July 26, 2024

The available option for the cutt of times is really great.

from postnl.

PaulVanDeKamer avatar PaulVanDeKamer commented on July 26, 2024

Hi All,
Any news on the new API? Is this lib going to support the new version?

from postnl.

slokhorst avatar slokhorst commented on July 26, 2024

I don't really know what we should do here.. The "New API platform" page is very vague and doesn't give any technical details.
The only concrete instruction there is the following, but that wouldn't require any changes to this library, I guess?

You can also fill in the API key in the former password field and send the same CIF requests as you did before.

The rest of the SOAP documentation and examples are a big mess. In some of them they have half-removed the wsse:Security header and left some misformatted, broken XML, in others, they have just left the old one containing wsse:Username and wsse:Password. There is no "API key" to be found anywhere in those example requests.

Furthermore I still haven't received any email or other notice from PostNL. It would be truly ridiculous if they shut down the old method in less than a month.

from postnl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.