-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrations.GetShipments() errors #31
Comments
I cannot replicate the error. When I use shippingRules: true, i do not get an error. |
I'm doing more tests, it seems to be related with the amount of shipments involved pTest= await Global.SendcloudClient.Integrations.GetShipments(366789, shippingRules: true, startDate: DateTime.Today.AddDays(0)); //39 elem ok What XML library are you using? Could you try invoking GetShipments with +100 shipments returned? Btw I'm using verbose: true when creating new SendCloudApi.Net.V2.SendCloudApi(...) |
It returns 50 per page, is the cursor thing working in this project v2? |
I only have the API integration. So I cannot test this with my own account. |
I don't understand, next/previous is part of the API endpoint I wrote my own API call and it's working:
|
Sorry to bother you again ;(
Shipment[] pTest= await SendcloudClient.Integrations.GetShipments(366789, orderNumber: "405-0794075-2815560");
pTest= await SendcloudClient.Integrations.GetShipments(366789, shippingRules: true);
First line works, but second doesn't. Using other filters like startDate also return the same error:
System.Runtime.Serialization.SerializationException
"Expected 'Element'.. 'Text' was found with name '',namespace ''. " (translated, it comes in my pc language)
Maybe they changed the returned element?
The text was updated successfully, but these errors were encountered: