Skip to content

Instantly share code, notes, and snippets.

@s3u
Created February 22, 2012 20:20
Show Gist options
  • Select an option

  • Save s3u/1886983 to your computer and use it in GitHub Desktop.

Select an option

Save s3u/1886983 to your computer and use it in GitHub Desktop.
Making Peace - table.ql
create table ebay.trading.placeoffer
on insert post to "https://api.ebay.com/ws/api.dll"
using headers "Content-Type" = "application/xml; charset=UTF-8",
"X-EBAY-API-DEV-NAME" = "your developer ID",
"X-EBAY-API-APP-NAME" = "your app name",
"X-EBAY-API-CERT-NAME" = "your cert name",
"X-EBAY-SIDEBAR-VERSION" = "747",
"X-EBAY-API-CALL-NAME" = "PlaceOffer",
"X-EBAY-API-SITEID" = "{siteId}",
"X-EBAY-API-COMPATIBILITY-LEVEL" = "747",
"X-EBAY-API-IAF-TOKEN" = "{Authorization}"
using defaults siteId = "0"
using bodyTemplate "placeoffer.xml.mu" type "application/xml"
resultset 'PlaceOfferResponse';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment