cancel
Showing results for 
Search instead for 
Did you mean: 

using soapui to get data from ebay api's for an integration

10-20-2018 3:25 AM
865 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

Hi there I usually work with SAP but have been given the task of getting sales orders out of ebay via one of their api's. I've got a ebay dev account, given my dev account access to the 3rd partys data and now wish to use an api to 1) generate the wsdl i can use to make the request from my middleware(sap pi) and once ive made the wsdl, trigger it pulling back sales data that i can map to a sales document in SAP erp.. I seem to be failing on the basic api of getEbayOfficial time as i'm a bit of a beginner when it comes to teh soap or rest parameters.

Does anybody have any good material or guides or willing to spare some time? Thanks

0 Likes

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

I've managed to get this sorted:

It took a lot of testing with certain criteria posting and not posting to get any results in soapui.

The fields i used to get a bunch of orders using GetOrders was:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:ebay:apis:eBLBaseComponents">
<soapenv:Header>
<urn:RequesterCredentials>
<!--Optional:-->
<urn:eBayAuthToken> and AuthNAuth token </urn:eBayAuthToken>

<urn:Credentials>
<!--Optional:-->
<urn:AppId>your app id</urn:AppId>
<!--Optional:-->
<urn:DevId>9your dev id</urn:DevId>
<!--Optional:-->
<urn:AuthCert>your auth cert</urn:AuthCert>
<!--You may enter ANY elements at this point-->
</urn:Credentials>
<!--You may enter ANY elements at this point-->
</urn:RequesterCredentials>
</soapenv:Header>soapenv:Header>
<soapenv:Body>
<urn:GetOrdersRequest>
<!--Optional:-->
<urn:Version>1081</urn:Version>
<!--Optional:-->
<urn:CreateTimeFrom>2018-11-11T00:00:01.000Z</urn:CreateTimeFrom>
<!--Optional:-->
<urn:CreateTimeTo>2018-11-11T00:07:30.000Z</urn:CreateTimeTo>
<!--Optional:-->
<urn:OrderRole>Seller</urn:OrderRole>
<!--Optional:-->
<urn:OrderStatus>Completed</urn:OrderStatus>
<!--Optional:-->
<urn:IncludeFinalValueFee>True</urn:IncludeFinalValueFee>

</urn:GetOrdersRequest>
</soapenv:Body>
</soapenv:Envelope>

Muniyappan
Active Contributor
0 Likes

Could you please share us what you have got so far? Can you share the api links if it is open service.

where exactly you got stuck?