question

vsports-cricket avatar image
0 Likes"
vsports-cricket asked ·

API not receiving correct data

Hi i am trying to get the "Payment Policy" list and the "Postage Policy" list, so i can then select an option when a call "AddFixedPriceItem", the code below is from your API documentation and the objects are present in the response, but the data is empty, can you please advise how i can get this information. DetailNameCodeTypeCollection type = new DetailNameCodeTypeCollection(); type.Add(DetailNameCodeType.PaymentOptionDetails); type.Add(DetailNameCodeType.ShippingServiceDetails); GeteBayDetailsCall apiCall = new GeteBayDetailsCall(GetApiContext()); apiCall.Site = GetApiContext().Site; apiCall.DetailLevelList.Add(DetailLevelCodeType.ReturnAll); apiCall.GeteBayDetails(type);
addfixedpriceitemgetebaydetails
· 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi, Can you tell me the SiteID that you are looking for? Is it UK? It would also be great if you can paste - Request xml - The Header information( please dont paste APPID or tokens as they are sensitive information) We can take a look and let you know what might be the issue. Cheers!!!
0 Likes 0 · ·

1 Answer

· Write an Answer
vsports-cricket avatar image
0 Likes"
vsports-cricket answered ·
Hi yes its UK here is the XML data post and response as requested... ****** ReturnAll 555e42e0-6267-4c56-96d7-c0acacb54f3e 921 PaymentOptionDetails ShippingServiceDetails 2016-02-01T01:49:34.170Z Success 555e42e0-6267-4c56-96d7-c0acacb54f3e 949 E949_INTL_API6_17771433_R1 MOCC Postal order/Banker's cheque 5 2012-04-03T19:57:59.000Z PersonalCheck Personal cheque 5 2012-04-03T19:57:59.000Z PaymentSeeDescription Other - See item description 5 2012-04-03T19:57:59.000Z PayPal PayPal 5 2012-04-03T19:57:59.000Z CCAccepted Credit card accepted 5 2012-04-03T19:57:59.000Z CashOnPickup Payment on collection accepted 5 2012-04-03T19:57:59.000Z RM Return Service UK_RMReturnService 342 1 1 false 238 2016-01-25T08:17:46.000Z NONE PF Return Service UK_PFReturnService 343 1 1 false 238 2016-01-25T08:17:46.000Z NONE International Priority Shipping true InternationalPriorityShippingUK 50300 8 6 Flat Calculated Letter LargeEnvelope PackageThickEnvelope USPSLargePack false Letter LargeEnvelope PackageThickEnvelope USPSLargePack 238 2016-01-25T08:17:46.000Z EXPEDITED Collect+ Economy Tracked UK_CollectPlusTrakedDeliveryToDoor 330 5 3 Flat true 238 2016-01-25T08:17:46.000Z ECONOMY Royal Mail 1st Class true UK_RoyalMailFirstClassStandard 301 1 1 Flat true 238 2016-01-25T08:17:46.000Z STANDARD Royal Mail International Standard (Small Packets) true UK_RoyalMailAirmailInternational 50302 Flat true 238 2016-01-25T08:17:46.000Z NONE Hermes Tracked UK_myHermesDoorToDoorService 322 5 3 Flat true 238 2016-01-25T08:17:46.000Z ECONOMY Royal Mail 1st Class Standard Medium Parcel UK_RoyalMailFirstClassStandardMediumParcel 332 2 1 Flat false 238 2016-01-25T08:17:46.000Z STANDARD 72 Hour Collect+ Store To Home UK_CollectPlus72HoursStoreToHome 334 30 1 Flat false 238 2016-01-25T08:17:46.000Z STANDARD 72 Hour Out of Gauge Collect+ Store to Home UK_CollectPlus72HoursOutOfGaugeStoreToHome 335 30 1 Flat false 238 2016-01-25T08:17:46.000Z STANDARD Click & Collect PickUpDropOff 370 30 1 Flat false 238 2016-01-25T08:17:46.000Z PUDO_IN_STORE_PICKUP Royal Mail 2nd Class UK_RoyalMailSecondClassStandard 302 3 2 Flat true 238 2016-01-25T08:17:46.000Z ECONOMY Royal Mail International Tracked true UK_RoyalMailAirsureInternational 50303 Flat true 238 2016-01-25T08:17:46.000Z NONE Royal Mail 2nd Class Standard Medium Parcel UK_RoyalMailSecondClassStandardMediumParcel 340 3 2 Flat false 238 2016-01-25T08:17:46.000Z ECONOMY Royal Mail 1st Class Signed For true UK_RoyalMailFirstClassRecorded 303 1 1 Flat true 238 2016-01-25T08:17:46.000Z STANDARD Royal Mail International Economy true UK_RoyalMailSurfaceMailInternational 50304 Flat true 238 2016-01-25T08:17:46.000Z NONE Royal Mail 1st Class Recorded Medium Parcel UK_RoyalMailFirstClassRecordedMediumParcel 333 2 1 Flat false 238 2016-01-25T08:17:46.000Z STANDARD Royal Mail 2nd Class Signed For UK_RoyalMailSecondClassRecorded 304 3 2 Flat true 238 2016-01-25T08:17:46.000Z ECONOMY Royal Mail International Signed true UK_RoyalMailInternationalSignedFor 50305 Flat true 238 2016-01-25T08:17:46.000Z NONE Royal Mail Signed For 2nd Class Medium Parcel UK_RoyalMailSecondClassRecordedMediumParcel 341 3 2 Flat false 238 2016-01-25T08:17:46.000Z ECONOMY Royal Mail Special Delivery true UK_RoyalMailSpecialDelivery 305 1 1 Flat false 238 2016-01-25T08:17:46.000Z ONE_DAY Royal Mail HM Forces Mail true UK_RoyalMailHMForcesMailInternational 50306 Flat true 238 2016-01-25T08:17:46.000Z NONE Royal Mail Tracke...e> 50313 Flat false 238 2016-01-25T08:17:46.000Z STANDARD Expedited Int'l Flat Rate Postage true UK_ExpeditedInternationalFlatRatePostage 50314 Flat false 238 2016-01-25T08:17:46.000Z EXPEDITED Other Int'l Postage (see description) true UK_OtherInternationalPostage 50315 Flat false 238 2016-01-25T08:17:46.000Z OTHER Promotional Postage Service PromotionalShippingMethod 399 Flat Calculated false 238 2016-01-25T08:17:46.000Z PROMOTIONAL Promotional Postage Service true PromotionalShippingMethod 50399 Flat Calculated false 238 2016-01-25T08:17:46.000Z PROMOTIONAL Freight Courier 316 Freight true 238 2016-01-25T08:17:46.000Z NONE Free In-store pickup UK_bopis 72651 Calculated Letter LargeEnvelope PackageThickEnvelope false Letter LargeEnvelope PackageThickEnvelope 238 2016-01-25T08:17:46.000Z IN_STORE_PICKUP On Demand Delivery, powered by Shutl UK_eBayNowImmediateDelivery 72606 1 1 Calculated Letter LargeEnvelope PackageThickEnvelope false Letter LargeEnvelope PackageThickEnvelope 238 2016-01-25T08:17:46.000Z SAME_DAY On Demand Delivery, powered by Shutl UK_eBayNowSameDayDelivery 72607 1 1 Calculated Letter LargeEnvelope PackageThickEnvelope false Letter LargeEnvelope PackageThickEnvelope 238 2016-01-25T08:17:46.000Z SAME_DAY On Demand Delivery, powered by Shutl UK_eBayNowNextDayDelivery 72608 2 2 Calculated Letter LargeEnvelope PackageThickEnvelope false Letter LargeEnvelope PackageThickEnvelope 238 2016-01-25T08:17:46.000Z ONE_DAY Promotional Economy Postage PromotionalEconomyShipping 72665 14 7 Flat Calculated false 238 2016-01-25T08:17:46.000Z PROMOTIONAL_ECONOMY Promotional Standard Postage PromotionalStandardShipping 72666 7 3 Flat Calculated false 238 2016-01-25T08:17:46.000Z PROMOTIONAL_STANDARD Promotional Expedited Postage PromotionalExpeditedShipping 72667 3 1 Flat Calculated false 238 2016-01-25T08:17:46.000Z PROMOTIONAL_EXPEDITED Promotional Two Day Postage PromotionalTwoDayShipping 72668 2 1 Flat Calculated false 238 2016-01-25T08:17:46.000Z PROMOTIONAL_TWO_DAY Promotional Overnight Postage PromotionalOvernightShipping 72669 1 1 Flat Calculated false 238 2016-01-25T08:17:46.000Z PROMOTIONAL_OVERNIGHT Promotional Postage (varies) PromotionalShippingVaries 72670 Flat Calculated false 238 2016-01-25T08:17:46.000Z PROMOTIONAL_VARIES RU Tracked Packet from China true UK_RUTrackedFromChina 72552 15 7 Flat true 238 2016-01-25T08:17:46.000Z NONE Economy Shipping from China/Hong Kong/Taiwan to worldwide UK_EconomyShippingFromGC 50323 35 11 Flat true 238 2016-01-25T08:17:46.000Z OTHER Economy Shipping from China/Hong Kong/Taiwan to worldwide (11 to 35 business days) true UK_IntlEconomyShippingFromGC 50326 35 11 Flat true 238 2016-01-25T08:17:46.000Z ECONOMY Standard Shipping from China/Hong Kong/Taiwan to worldwide UK_StandardShippingFromGC 50324 19 7 Flat true 238 2016-01-25T08:17:46.000Z OTHER Standard Shipping from China/Hong Kong/Taiwan to worldwide (7 to 19 business days) true UK_IntlStandardShippingFromGC 50327 19 7 Flat true 238 2016-01-25T08:17:46.000Z STANDARD Expedited Shipping from China/Hong Kong/Taiwan to worldwide UK_ExpeditedShippingFromGC 50325 7 2 Flat true 238 2016-01-25T08:17:46.000Z OTHER Expedited Shipping from China/Hong Kong/Taiwan to worldwide (2 to 7 business days) true UK_IntlExpeditedShippingFromGC 50328 7 2 Flat true 238 2016-01-25T08:17:46.000Z EXPEDITED 2016-01-25T08:17:46.000Z
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.