tag:blogger.com,1999:blog-3993498847203183398.post1786124513940060566..comments2024-03-29T11:00:39.953+00:00Comments on RevK<sup>®</sup>'s ramblings: Royal Mail Shipping API - finally workingRevKhttp://www.blogger.com/profile/12369263214193333422noreply@blogger.comBlogger40125tag:blogger.com,1999:blog-3993498847203183398.post-20122299419961701402017-04-19T10:44:38.174+01:002017-04-19T10:44:38.174+01:00I struggled with this recently, and I wanted to do...I struggled with this recently, and I wanted to do it within the SOAP structure .net uses. So I wrote down all my steps :) Including a fix for a new issue that just appeared today.<br /><br />https://medium.com/@tonycheetham/royal-mail-soap-api-v2-interface-in-c-98081cf8ac4eUnknownhttps://www.blogger.com/profile/04610909240975365314noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-40548391547744352792017-04-18T14:25:59.166+01:002017-04-18T14:25:59.166+01:00Hi Revk
Sorry to trouble you. Could you please ki...Hi Revk<br /><br />Sorry to trouble you. Could you please kindly email me the git for the code to anis at afuaa dot co dot uk. <br /><br />Much appreciated and thank you for sharing. <br /><br />Anis<br />Anishttps://www.blogger.com/profile/10843755173355230993noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-3275341625910679832017-04-18T14:23:04.415+01:002017-04-18T14:23:04.415+01:00HI RevK
hope you can help, do you have a git avai...HI RevK<br /><br />hope you can help, do you have a git available for your code? If you could please kindly email it if one available to anis(at)afuaa(dot)co(dot)uk... Thank youAnishttps://www.blogger.com/profile/10843755173355230993noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-17148076045362717412016-10-04T00:24:04.109+01:002016-10-04T00:24:04.109+01:00I just solved the unauthorized issue. You would ne...I just solved the unauthorized issue. You would need include X-IBM-Client-Id and X-IBM-Client-Secret in the request header. I used the method in this link solved the problem: http://stackoverflow.com/questions/38896117/royal-mail-shipping-api-v2-soap-authentication-c-sharpAnonymoushttps://www.blogger.com/profile/07521825088524451878noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-39244020708413684212016-08-11T13:19:11.778+01:002016-08-11T13:19:11.778+01:00Full C# Royal Mail Shipping v2 solution available ...Full C# Royal Mail Shipping v2 solution available here: http://stackoverflow.com/questions/38896117/royal-mail-shipping-api-v2-soap-authentication-c-sharpAnonymoushttps://www.blogger.com/profile/17634775745834545737noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-62349141854305400752016-07-28T15:52:07.093+01:002016-07-28T15:52:07.093+01:00Did you ever resolve this issue Roger?
i'm hav...Did you ever resolve this issue Roger?<br />i'm having the same issue at the moment and would be grateful for any help you can provide if you have already solved itAnonymoushttps://www.blogger.com/profile/11102391726765208956noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-57981744250322172952016-06-30T23:36:45.328+01:002016-06-30T23:36:45.328+01:00Hi RevK,
I'd be grateful for the code as well...Hi RevK,<br /><br />I'd be grateful for the code as well at scott at canuckconsulting dot com scott@canuckconsulting.com. Having an absolute nightmare getting this working!<br /><br />Thanks for taking the time to post about it.<br /><br />Scottscotthttps://www.blogger.com/profile/09114526518833328264noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-76921590920243698972016-06-16T11:13:20.484+01:002016-06-16T11:13:20.484+01:00Dave, Thank you for your insights which have helpe...Dave, Thank you for your insights which have helped. Doing this API is VERY PAINFUL, RM do not make it easy, as of June 2016 there is STILL things not in the Spec.Anonymoushttps://www.blogger.com/profile/10489794595591505839noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-28598669813157795652016-06-16T11:11:38.433+01:002016-06-16T11:11:38.433+01:00Dave, Thank you for your insights which have helpe...Dave, Thank you for your insights which have helped. Doing this API is VERY PAINFUL, RM do not make it easy, as of June 2016 there is STILL things not in the Spec.Anonymoushttps://www.blogger.com/profile/10489794595591505839noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-34138121002537836082016-05-23T13:50:23.007+01:002016-05-23T13:50:23.007+01:00That would be great thanks, if you could send it t...That would be great thanks, if you could send it to ewan at relchron dot com that would be much appreciated. The Royal Mail are a law unto themselves ;)Ewanhttps://www.blogger.com/profile/15387573717841516293noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-27973015573459681142016-05-18T10:47:34.444+01:002016-05-18T10:47:34.444+01:00Hi - can you supply a link please. I am really fin...Hi - can you supply a link please. I am really finding this difficult. Anonymoushttps://www.blogger.com/profile/03265356164826474966noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-78042120467363014472016-05-18T10:06:57.296+01:002016-05-18T10:06:57.296+01:00I can email it if you need - though they are talki...I can email it if you need - though they are talking of changing the API for some reason.RevKhttps://www.blogger.com/profile/12369263214193333422noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-52376866590974390582016-05-18T10:04:41.567+01:002016-05-18T10:04:41.567+01:00Hi RevK - do you have a git available of your code...Hi RevK - do you have a git available of your code? or details to contact you on IRC? We are setting up our store back end and require the API for our team to use.Anonymoushttps://www.blogger.com/profile/03265356164826474966noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-4429431121171545702016-05-12T07:32:41.639+01:002016-05-12T07:32:41.639+01:00This comment has been removed by the author.newpinhttps://www.blogger.com/profile/11808553418138907888noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-166664594534591202016-05-12T07:31:49.116+01:002016-05-12T07:31:49.116+01:00Hi
I have got to the stage of the dreaded namespac...Hi<br />I have got to the stage of the dreaded namespaces using VB.net, I have created the 3 classes but now seem to be stuck again, where is the BeforeSendRequest located that you mentioned above? maybe this will get me moving on again :)newpinhttps://www.blogger.com/profile/11808553418138907888noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-89649280194392911502016-04-26T11:11:09.147+01:002016-04-26T11:11:09.147+01:00Hi Dave,
Looks like you have not got the code to g...Hi Dave,<br />Looks like you have not got the code to github yet. Did you have problems with it? Does anyone know anywhere where there is some vb.net or c# example code that I could start with?<br />CheersAntonyhttps://www.blogger.com/profile/01206884759439355164noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-3680249582216434972016-04-17T11:03:14.154+01:002016-04-17T11:03:14.154+01:00Hi Dave, i have wasted many hours trying to make a...Hi Dave, i have wasted many hours trying to make a call to royal mail using the shipping API without success, i would greatly appreciate any VB code you can share to help me proceed.<br />CheersAnonymoushttps://www.blogger.com/profile/01170479194168410634noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-61175237256084919532016-04-17T10:55:27.168+01:002016-04-17T10:55:27.168+01:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/01170479194168410634noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-13911638143496583032016-04-15T15:10:26.248+01:002016-04-15T15:10:26.248+01:00Wow, would even do the bloomin' Christmas card...Wow, would even do the bloomin' Christmas cards with this. Excellent!Unknownhttps://www.blogger.com/profile/11901441429207892990noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-68204094755109329942016-04-15T15:09:42.819+01:002016-04-15T15:09:42.819+01:00Awesome! They should make that more obvious on the...Awesome! They should make that more obvious on their website! Franking rates without the need for a franking machine, contract, headache!<br /><br />Let the integration commence!Unknownhttps://www.blogger.com/profile/11901441429207892990noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-6566414366131816172016-04-15T15:00:55.097+01:002016-04-15T15:00:55.097+01:00No, does letters at franking rates as well!No, does letters at franking rates as well!RevKhttps://www.blogger.com/profile/12369263214193333422noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-87150712036337160312016-04-15T14:20:09.491+01:002016-04-15T14:20:09.491+01:00It looks like this API is for parcels only - did y...It looks like this API is for parcels only - did you ever come across an API for standard letters (1st / 2nd class)?<br /><br />So for all I've found is their online web print service (https://www.royalmail.com/discounts-payment/online-postage/home) which has no API. Really want to print labels and postage directly if possible.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-71379451483305450502016-04-07T10:01:07.795+01:002016-04-07T10:01:07.795+01:00Hi, as someone getting nowhere fast with the API w...Hi, as someone getting nowhere fast with the API would you be able post the VB.net code? It would be much appreciated, I'm starting to dream of E0007 Authorisation Failure!!Frustratedhttps://www.blogger.com/profile/09187159009657541279noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-86161098192502289412016-04-07T09:57:33.518+01:002016-04-07T09:57:33.518+01:00Hi Dave, as another frustrated customer of RM (the...Hi Dave, as another frustrated customer of RM (the API documentation is a joke), if you could post the VB code it would me much appreciated. I'm starting to dream of E0007 Authorisation failure!Frustratedhttps://www.blogger.com/profile/09187159009657541279noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-44815390102280827322016-03-20T23:33:35.135+00:002016-03-20T23:33:35.135+00:00Good articles. Struggled with this and C# for days...Good articles. Struggled with this and C# for days back in July. I posted some of my solution on SO a few months back, which might be of help to people reading this blog.<br /><br />The namespace issue was the biggest problem for me which was solved using the following: http://stackoverflow.com/questions/31595770/c-sharp-wcf-namespaces-move-to-header-use-ns-prefix/31597758#31597758<br /><br />I then posted some C# code in response to someone else struggling with this which should be enough to point anyone in the right direction: http://stackoverflow.com/questions/34508811/consume-wcf-royal-mail-api-in-c-sharp-console-applicationjustkampershttps://www.blogger.com/profile/16071214857806576649noreply@blogger.com