USPS don't get all shipping options from reponse - usps

I am having a problem with USPS api. I contacted their support, but I got very disappointed response, they just said they do not provide technical support and send me the link to documentation. So the problem is that I don't get all methods back in their xml response.
Missing methods:
-Priority Mail Regional Rate
-Global Express Guaranteed
-Priority Mail Express International Flat Rate
-Priority Mail International Flat Rate
This is the request (change MY_USER_NAME):
http://production.shippingapis.com/ShippingAPI.dll?API=RateV4&XML=%3C?xml%20version=%221.0%22%20encoding=%22UTF-8%22?%3E%3CRateV4Request%20USERID=%22MY_USER_NAME%22%3E%3CRevision%3E2%3C/Revision%3E%3CPackage%20ID=%220%22%3E%3CService%3EALL%3C/Service%3E%3CZipOrigination%3E19139%3C/ZipOrigination%3E%3CZipDestination%3E10003%3C/ZipDestination%3E%3CPounds%3E1%3C/Pounds%3E%3COunces%3E0%3C/Ounces%3E%3CContainer%3EVARIABLE%3C/Container%3E%3CSize%3EREGULAR%3C/Size%3E%3CMachinable%3Etrue%3C/Machinable%3E%3C/Package%3E%3C/RateV4Request%3E
Has anybody idea what is wrong, why I get just some methods back?

Related

IBM Watson Visual Recognition: Received invalid status in 403 in getAllCollections response for guid (...) at endpoint (...)

I am using IBM Watson Visual Recognition for a custom model. I have uploaded my dataset as .zip files, which is fine so far. However, I cannot train the model. When I go on my Watson services, it says:
Error fetching custom collections: Error in Watson Visual Recognition service: Recieved invalid status 403 in getAllCollections response for guid crn:v1:bluemix:public:watson-vision-combined:us-south:a/649b0335a5a44f6d80d1fd6909e466f9:8a71daa3-b0be-42ac-bb72-1473de835c19:: at endpoint https://gateway.watsonplatform.net/visual-recognition/api/
When I try to train the model, it says:
"Error in Watson Visual Recognition service: Request Entity Too Large"
To the best of my knowledge, I have checked Google and StackOverflow for solutions, but didn't find any. I am using the Lite version. I only have one project, and one Visual Recognition instance. Please note that it worked for a different Visual Recognition model before, but later I could not use or access that model. So I deleted the older, trained model and tried to create a new one with the above mentioned error.
Does anyone know a solution?
Thanks for your interest in Visual Recognition.
HTTP 403 is a standard HTTP status code communicated to clients by an HTTP server to indicate that access to the requested (valid) URL by the client is Forbidden for some reason. It indicates some problem with your account access.
The "Request Entity Too Large" is a bit misleading, it happens sometimes when the error should be a 403 on POST requests, like training.
As a lite plan user, you may have used up your free credits for the month, for example.
You should double check that you are providing the correct credentials, and check the usage dashboard of your IBM Cloud account, which is described here: https://cloud.ibm.com/docs/billing-usage?topic=billing-usage-viewingusage
If this does not resolve your problem, you can open a support request here https://www.ibm.com/cloud/support

USPS Rate API Standard Post get Expected Delivery Date

I searched to see how i can get the expected delivery date for USPS Standard Post.
I have it when i use <ShipDate...> tag, for all other services i receive <CommitmentDate> tag, but for Standard post this tag is missing. Their documentation doesn't tell anything about how to get this date using Rate API. Is it possible, or i have to make another request to different API to get this date?
On their online calculator they return Expected Delivery Day for Standard post service, so there is a way to get it, but how?
Thanks.
You need to access the "Domestic Mail Services Standards" API.
Specifically, you need to send a "StandardBRequest" web services request for the origin and destination zip codes, and will receive the number of in-transit days as a response.

How to request read receipt with Google App Engine

I have a GAE application which sends out email to my domain users in a Google Apps for Business environment. I am using JavaMail as described in this article. Unfortunately I can't seem to find a way to ask for a read receipt. I looked at Message methods but nothing seems to suggest that it is possible. Thanks a lot.
If you're interested in knowing if a mail bounced, then use bounce notification https://developers.google.com/appengine/docs/java/mail/bounce
For read receipts:
As far as I'm aware, you need to roll your own read receipt functionality. For example: Include an image(with a unique url) in the mail you send out. When the recipient opens the mail, the image is retrieved and you can determine whether the mail has been read. This has it's downsides; if they don't have images enabled, then you won't receive the notification.
You need to set the appropriate headers on your message, as described in Message Disposition Notification - RFC 3798. Not all mailers will honor MDNs, so you might find the tracking pixel useful as well. But then some mailers won't display remote images, so in the end there's no guaranteed way of getting notified when a message is read.

sms gateway so I can send a text to a server and get back a response?

I am wanting to setup a service that allows people to send a text to my server and have the server return results of their questions.
Let's say they send a text to my server saying "movies"
and it returns the results
"Boondock Saints"
"Avatar"
"Star Trek - Spock got lost again"
what is this called?
how much would something like this cost?
would you be able to point me to a company that already offers this service?
When you google "inbound sms gateway" or "virtual sms" a large number of companies offering such SMS numbers will show up, all of them quite expensive, about 100 EUR/month.
For example a few random ones:
http://www.mysmsaddress.com/
http://www.mobifi.com/
https://www.2-waysms.com/
http://www.lleida.net/en/
See also Can anyone recommend any good UK based SMS gateways for sending and receiving SMS using C#?

Sending an SMS through SQL Server 2008

Is there any way to send an SMS through SQL Server 2008?
One possible option is to use an SMS gateway like the Clickatell API.
The Clickatell API offers a choice of connection options, including an SMTP method which you can use by sending a plain-text email from SQL Server to sms#messaging.clickatell.com, with the following body:
user: your_api_username
password: your_api_password
api_id: your_api_id
to: sms_number
text: sms_body
To send e-mails from SQL Server 2008, you might want to check out the following article:
Configure Database Mail – Send Email From SQL Database.
Another option is to write a CLR stored procedure that communicates with the SMS gateway through any protocol supported by the gateway.
Each phone carrier have email addresses that will forward to the sms/text of their subscribers and you just have send an email to these addresses and recipient will receive the messages thru sms.
example. 8009994141#phonecarrier.com
This is a link to a page to most of the carriers email to text format. Please note that this might contain not the latest information.
The best way is to call the technical support for your carrier get the information and test the feature by emailing and see if you get an sms message/
Yes, although not natively. You will have to use an SMS gateway service and do some programming around it. These come in several formats, occasionally free, but normally with some form of per message charge.
Standard gateways will accept message requests via email, a web post, or a full web service. Depending on the gateway service it may offer one, some, or all of these options.
Back in the "olden days" when I mobile SMS started to take off, in the UK at least, it was also possible to use a dial up modem to dial a network specific number and enter the SMS message. If this is still available in the area that you are looking for then the advantage of this is no account setup as it's charged to your phone bill.
I found an article which uses c# application with a SQL Server Backend to send SMS emails. Not exactly what your after but may give you another option.
SMS messages from SQL
How about an option that lets you do this in one line of code.
twiSQL - allows you to send text messages and make phone calls from SQL server
austinHenderson.com - author site
No, that is not a feature of SQL Server.
A simple way would be to write a CLR procedure that sends the sms via http to a SMS gateway of your choice
Just to add to nornal's answer since the link he spoke about seemes to have expired:
Alltel PhoneNumber#message.alltel.com
AT&T PhoneNumber#txt.att.net
Sprint PhoneNumber#messaging.sprintpcs.com
T-Mobile PhoneNumber#tmomail.net
US Cellular PhoneNumber#email.uscc.net
Verizon PhoneNumber#vtext.com
Virgin Mobile PhoneNumber#vmobl.com
So Ex: 3334441234#txt.att.net.
You use the above according to the provider.

Resources