lundi 19 septembre 2016

UPS Time in Transit API getting the data in asp.net

Good Morning all,

I did quite a bit of research on this and am very much stuck.

I need to retrieve all of the elements found in UPS code sample that are located in the tntResponse.Item.ServiceSumarry.ServiceSumarryType...

However when I attempt to do a foreach on this object the Item element does not allow me to go reach into it and says object does not contain definition for ServiceSumarry...

I guess my question is how do you retrieve this data if you can't get to it. Their example doesn't do this at all it just displays

Console.WriteLine("Response code: " + tntResponse.Response.ResponseStatus.Code);
            Console.WriteLine("Response description: " + tntResponse.Response.ResponseStatus.Description);

Basically says 1 and successful!!!

Any help would be greatly appreciated. Surprisingly there isn't much on the internet on this API service...




Aucun commentaire:

Enregistrer un commentaire