StarterTemplate ASP.NET Host

<back to all web services

UserProfile

The following routes are available for this service:
All Verbs/profile

To override the Content-type in your clients HTTP Accept Header, append ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/UserProfile HTTP/1.1 
Host: bootstrapapi.apphb.com 
Content-Type: application/xml
Content-Length: length

<UserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <DisplayName>String</DisplayName>
  <Email>String</Email>
  <FacebookEmail>String</FacebookEmail>
  <FacebookFirstName>String</FacebookFirstName>
  <FacebookLastName>String</FacebookLastName>
  <FacebookName>String</FacebookName>
  <FacebookUserId>String</FacebookUserId>
  <FacebookUserName>String</FacebookUserName>
  <GoogleEmail>String</GoogleEmail>
  <GoogleFullName>String</GoogleFullName>
  <GoogleUserId>String</GoogleUserId>
  <GravatarImageUrl64>String</GravatarImageUrl64>
  <Id>0</Id>
  <TwitterName>String</TwitterName>
  <TwitterScreenName>String</TwitterScreenName>
  <TwitterUserId>String</TwitterUserId>
  <UserName>String</UserName>
  <YahooEmail>String</YahooEmail>
  <YahooFullName>String</YahooFullName>
  <YahooUserId>String</YahooUserId>
</UserProfile>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UserProfileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <ResponseStatus>
    <ErrorCode>String</ErrorCode>
    <Message>String</Message>
    <StackTrace>String</StackTrace>
    <Errors>
      <ResponseError>
        <ErrorCode>String</ErrorCode>
        <FieldName>String</FieldName>
        <Message>String</Message>
      </ResponseError>
    </Errors>
  </ResponseStatus>
  <Result>
    <DisplayName>String</DisplayName>
    <Email>String</Email>
    <FacebookEmail>String</FacebookEmail>
    <FacebookFirstName>String</FacebookFirstName>
    <FacebookLastName>String</FacebookLastName>
    <FacebookName>String</FacebookName>
    <FacebookUserId>String</FacebookUserId>
    <FacebookUserName>String</FacebookUserName>
    <GoogleEmail>String</GoogleEmail>
    <GoogleFullName>String</GoogleFullName>
    <GoogleUserId>String</GoogleUserId>
    <GravatarImageUrl64>String</GravatarImageUrl64>
    <Id>0</Id>
    <TwitterName>String</TwitterName>
    <TwitterScreenName>String</TwitterScreenName>
    <TwitterUserId>String</TwitterUserId>
    <UserName>String</UserName>
    <YahooEmail>String</YahooEmail>
    <YahooFullName>String</YahooFullName>
    <YahooUserId>String</YahooUserId>
  </Result>
</UserProfileResponse>