# Friday, 13 January 2017

We are currently experiencing adverse weather conditions in our local area due to overnight snowfall. We expect all outgoing mail to be delayed until local weather conditions improve.

Currently Royal Mail services in our area are affected by heavy snowfall. We have temporarily removed all tracked and signed services from the website until the local roads are accessible and Royal Mail are able to reinstate our postal collections. We hope to be back to normal shortly depending on the weather in the next few days.

posted on Friday, 13 January 2017 19:12:00 (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
# Wednesday, 14 December 2016

PC2Paper is closed for the UK Bank Holidays over the Christmas and New Year period.

All Mail received after our 3.30pm cut off time on Friday the 23rd of December will be processed on the next available working day Wednesday the 28th of December. Please note the earlier 1pm cut off time for all of our signed services.

All mail received after our 3.30pm cut off time on Friday the 30th of December will be processed on the next working day Tuesday the 3rd of January. Please note the earlier 1pm cut off time for all of our signed services.

posted on Wednesday, 14 December 2016 10:27:41 (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Below are the last recommended posting dates for UK Mail this Christmas. PC2Paper will continue to post mail after these dates but please be aware it might not arrive in time for Christmas delivery as the Royal Mail network is extremely busy over the Christmas period.

 

Latest recommended posting dates for 2016

 

Tuesday 20 December
2nd Class and Royal Mail Signed For®

 

Wednesday 21 December
1st Class and Royal Mail Signed For®

 

Thursday 22 December
Royal Mail Special Delivery Guaranteed®

posted on Wednesday, 14 December 2016 10:03:22 (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback

Post Office workers will start five days of strikes next week from Monday the 19th of December until Christmas Eve. The good new is that letters sent via the PC2Paper service will not be affected by these strikes so you can continue to send you mail as normal.

PC2Paper also offers the Signed For and Special Delivery services available from your Post Office counter so you can still use us as an alternative whilst the Post Office is not operating. We think you will find it so easy that you might just continue to use our service rather than waiting in the Post Office queue. Just remember we have 1pm cut-off for our signed services to ensure they are posted the same working day.

posted on Wednesday, 14 December 2016 09:59:00 (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
# Friday, 02 December 2016

The last recommended Christmas posting dates for international mail are as follows:

Latest recommended posting date

Destinations

Saturday 3 December

Africa, Middle East

Wednesday 7 December

Cyprus, Asia, Far East (including Japan) Eastern Europe (except Poland, Czech Republic and Slovakia) Turkey, Malta

Thursday 8 December

Caribbean, Central & South America

Saturday 10 December

Greece, Australia, New Zealand

Monday 12 December

Airmail to Static BFPOs

Wednesday 14 December

Czech Republic, Germany, Italy, Poland

Thursday 15 December

Canada, Finland, Sweden, USA

Friday 16 December

Austria, Denmark, Iceland, Netherlands, Norway, Portugal, Slovakia, Spain, Switzerland

Saturday 17 December

Belgium, France, Ireland, Luxembourg

 

Mail posted after these dates will still be processed but Christmas delivery cannot be guaranteed.

posted on Friday, 02 December 2016 14:46:26 (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
# Thursday, 24 November 2016

Please be aware that our USA printing station is currently closed for the Thanksgiving Holiday on the 24th and 25th of November. They will reopen as normal on the 28th of November. Any US based mail sent during this time will be sent to our printing station as normal for processing on Monday the 28th of November.

posted on Thursday, 24 November 2016 09:37:00 (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
# Tuesday, 25 October 2016

The Royal Mail tracking system is currently experiencing problems. Valid tracking numbers are showing the error "tracking number is invalid and not recognised". Royal Mail are aware of the issue and are working to resolve it. Please note there are no issues with tracked items being dispatched from PC2Paper, they are still being mailed as normal.

posted on Tuesday, 25 October 2016 11:08:27 (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback
# Wednesday, 24 August 2016

PC2Paper is closed for the Bank Holiday on Monday the 29th of August. There are also no Royal Mail deliveries or collections on this day. Any Mail sent after our 3.30pm cut-off time on Friday the 26th of August will be posted on the next available working day Tuesday the 30th of August. Please note our earlier cut-off time of 1pm for Signed services such as Special Delivery and Recorded Delivery.

posted on Wednesday, 24 August 2016 10:41:35 (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback
# Sunday, 31 July 2016

Below is an example of using our JSON API to send a letter.

Our JSON API has exactly the same fields as our SOAP API and uses the same functionality as our SOAP API.

In the example below we are sending a letter to one person with the body included as free text. You may also use HTML to format the body of your letter. The JSON below could quite easily be used straight from JavaScript or from nodejs, but could just as well be used from almost any coding language. The endpoint to post your JSON to is https://www.pc2paper.co.uk/lettercustomerapi.svc/json/SendSubmitLetterForPosting

{
    "letterForPosting":
    {
    "SourceClient" : "My App name 1",
    "Addresses" :[
        {"ReceiverName": "John Smith",
        "ReceiverAddressLine1" : "1 Acme Road",
        "ReceiverAddressLine2" : "My Street",
        "ReceiverAddressTownCityOrLine3" : "Town",
        "ReceiverAddressCountyStateOrLine4" : "County",
        "ReceiverAddressPostCode" : "Postcode"}
        ],
        "ReceiverCountryCode" :1,
        "Postage":31,
        "Paper":1,
        "Envelope":1,
        "Extras":0,
        "LetterBody" : "Dear Peter, <br> Please find my letter attached",
        "IncludeSenderAddressOnEnvelope" : true,
        "SenderAddress" : "22 Acme Acres\n Acme Town",
        "YourRef" : "MyRef001" 
        
    },
     "username" : "yourusername",
    "password" : "yourpassword"
}

In the above examples you will notice we use a ReceiverCountryCode you can lookup the code to use for the country you are sending to here. In the above example the country code 1 represents the UK.

For the postage options you can lookup the options you would like to use by using our postage calculator. The postage calculator will list the API options at the bottom of the page for you after you make your selection.  In the example above we have chosen Postage 31 (UK Second Class), Paper 1 (Black and White 80 gsm), Envelope 1 (Standard DL). If you would like the ability to lookup your own postage options, you can use our letter pricing API which you can find out more about here

If you'd like to include PDF's as attachment's to your letter, you can upload these and use the unique id's the website gives you to attach them to your letter.

You can upload PDF's one of two ways.

JSON PDF File Upload

https://pc2paperdevb.local/lettercustomerapi.svc/json/UploadDocument

With a JSON file upload you will need to convert what ever file you are uploading into an integer array. This can usually be done by converting your file into a byte array and then into an integer array

{
    "filename":"myfile.pdf",
    "username":"yourusername",
    "password":"yourpassword",
    "fileContent":[37,80,68,70,45,49,46,53,13,10,37...]
}

 

After successfully uploading your PDF file you should receive a response similar to the following.

{
  "d": {
    "__type": "UploadedFileResult:#PC2Paper.Entity.Public.Letters",
    "ErrorMessages": null,
    "FileCreatedGUID": "648b6725-a3c6-4396-b28a-33e86589aa4b",
    "Status": "OK"
  }
}

Store the FileCreatedGUID somewhere as you will need this to attach it to your letter. 

SOAP PDF File Upload

If you would prefer to upload your PDF file over SOAP instead of JSON you can use this endpoint.

https://www.pc2paper.co.uk/lettercustomerapi.svc?wsd

You can find a PHP example and C# example of how to use our SOAP API to upload a file.

Using an uploaded PDF file in your letter

After you have uploaded your PDF file using one of the two methods above you will be provided with a FileCreatedGUID for each file you upload. Construct the JSON for your letter as before but include an array of File GUIDs you would like to attach in the FileAttachementGUIDs field.

{
    "letterForPosting":
    {
    "SourceClient" : "My PC2Paper Client",
    "Addresses" :[
        {"ReceiverName": "John Smith",
        "ReceiverAddressLine1" : "1 Acme Road",
        "ReceiverAddressLine2" : "My Street",
        "ReceiverAddressTownCityOrLine3" : "Town",
        "ReceiverAddressCountyStateOrLine4" : "County",
        "ReceiverAddressPostCode" : "Postcode"}
        ],
        "ReceiverCountryCode" :1,
        "Postage":31,
        "Paper":1,
        "Envelope":11,
        "Extras":0,
        "LetterBody" : "Dear Peter, <br> Please find my letter attached",
        "FileAttachementGUIDs":["648b6725-a3c6-4396-b28a-33e86589aa4b"]
        
    },
     "username" : "your username",
    "password" : "yourpassword"
    
    
}

You should receive the following response after submitting a successful letter.

{
  "d": {
    "__type": "LetterForPostingResult:#PC2Paper.Entity.Public.Letters",
    "CostOfLetter": 2.02,
    "ErrorMessages": null,
    "FundsLeftInYourAccount": 160.54,
    "LetterId": "71566",
    "Status": "OK"
  }
}

Sending a letter to more than one person

If you would like to send the same letter to more than one person. Just add more people to the Addresses array.

 "Addresses" :[
        {"ReceiverName": "John Smith",
        "ReceiverAddressLine1" : "1 Acme Road",
        "ReceiverAddressLine2" : "My Street",
        "ReceiverAddressTownCityOrLine3" : "Town",
        "ReceiverAddressCountyStateOrLine4" : "County",
        "ReceiverAddressPostCode" : "Postcode"},
        
         {"ReceiverName": "Bob Smith",
        "ReceiverAddressLine1" : "The Gables",
        "ReceiverAddressLine2" : "Another Road",
        "ReceiverAddressTownCityOrLine3" : "Town",
        "ReceiverAddressCountyStateOrLine4" : "County",
        "ReceiverAddressPostCode" : "ZZ1 0ZZ"}
        ]
posted on Sunday, 31 July 2016 18:59:08 (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback
# Monday, 04 July 2016

Our USA based printing station is closed today for the 4th of July public holiday. We are continuing to send mail to the USA as normal for processing, however, customers should be aware no mail will enter the US postal system until our printing station reopens on the 5th of July.

posted on Monday, 04 July 2016 12:03:17 (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback