Skip to content
sdepold edited this page Sep 13, 2010 · 2 revisions

UserType (Status Code 200 – application/xml – UserType)

User records represent a single user of the site, who may or may not be a seller

XML Schema

Source:

plain parameters
parameter value description

id

integer

The user id

name

string

The username

restful-path

anyURI

The path to this user resource

city

string

The city the user lives in

is-seller

boolean

Fixed: true, false

true if user is a seller

transaction-sold-count

integer

How many items where sold by this user

bio

string

A short description about this user

sex

string

One of:

  • male
  • female
  • private

The users gender

male

if the user is male

female

if the user is female

private

if no information given or user hides this information

image

complexType (repeating)

A list of images for this user

  • XPath to value: images/image

image-40×40

anyURI

The URL to the image with the size 40×40 pixels

  • XPath to value: /images/image/image-40×40

image-80×80

anyURI

The URL to the image with the size 80×80 pixels

  • XPath to value: /images/image/image-80×80

image-170x

anyURI

The URL to the image with the size 170x pixels

  • XPath to value: /images/image/image-170x

Clone this wiki locally