|
While XML itself is not specifically typed, the API does expect certain formats for it's inputs. The page below contains a brief description for each of the 'types' that the API recognizes, as well as some example values for some of the enumerated types.booleanTrue or false. Accepts many different boolean values:
| value | description |
| 1, t, true | true |
| 0, f, false | false |
currencyAn eBay currency ID. Used in the Currency tag of the GetResearchResults call. The most popular valid values are as follows:
| value | description |
| 1 | U.S. Dollar |
| 2 | Canadian Dollar |
| 3 | Pound Sterling |
| 5 | Australian Dollar |
| 7 | Euro |
| 8 | French Franc |
dateExpected format: yyyy-mm-dd. date rangeA string value describing a range of dates. Valid values are as follows:
| value | description |
| day | A single day |
| week | Seven days starting on the most recent Sunday |
| month | An entire month |
| sevendays | Seven days. Can roll over multiple weeks |
| thirtydays | Thirty days. Can roll over multiple months. |
day of weekA number between 0 and 6, or the words 'sunday' through 'saturday' floatA decimal number, with up to 14 digits of precision. hourA number between 0 and 23, based on a 24 hour clock. integerA whole number between -2147483647 and 2147483648. internetsA series of tubes. site idAn eBay site ID. Used in the SiteID tag of GetResearchResult as well as returned in the Item tags of that call. Valid values are as follows:
| value | description |
| 0 | United States (.com) |
| 2 | Canada (.ca) |
| 3 | United Kingdom (.co.uk) |
| 15 | Australia (.com.au) |
| 71 | France (.fr) |
| 77 | Germany (.de) |
stringA series of alphanumeric characters and/or punctuation. timeExpected format: hh:mm:ss. timestampThe date and time. Expected format: yyyy-mm-dd hh:mm:ss.
| | |