StarterTemplate ASP.NET Host

<back to all web services

UserAuths

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: bootstrapapi.apphb.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: UserAuths

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<UserAuths xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </Ids>
</UserAuths>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<UserAuthsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <OAuthProviders>
    <UserOAuthProvider>
      <AccessToken>String</AccessToken>
      <AccessTokenSecret>String</AccessTokenSecret>
      <BirthDate>0001-01-01T00:00:00</BirthDate>
      <BirthDateRaw>String</BirthDateRaw>
      <Country>String</Country>
      <CreatedDate>0001-01-01T00:00:00</CreatedDate>
      <Culture>String</Culture>
      <DisplayName>String</DisplayName>
      <Email>String</Email>
      <FirstName>String</FirstName>
      <FullName>String</FullName>
      <Gender>String</Gender>
      <Id>0</Id>
      <Items xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </Items>
      <Language>String</Language>
      <LastName>String</LastName>
      <MailAddress>String</MailAddress>
      <Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </Meta>
      <ModifiedDate>0001-01-01T00:00:00</ModifiedDate>
      <Nickname>String</Nickname>
      <PostalCode>String</PostalCode>
      <Provider>String</Provider>
      <RefId>0</RefId>
      <RefIdStr>String</RefIdStr>
      <RefreshToken>String</RefreshToken>
      <RefreshTokenExpiry>0001-01-01T00:00:00</RefreshTokenExpiry>
      <RequestToken>String</RequestToken>
      <RequestTokenSecret>String</RequestTokenSecret>
      <TimeZone>String</TimeZone>
      <UserAuthId>0</UserAuthId>
      <UserId>String</UserId>
      <UserName>String</UserName>
    </UserOAuthProvider>
  </OAuthProviders>
  <UserAuths>
    <UserAuth>
      <BirthDate>0001-01-01T00:00:00</BirthDate>
      <BirthDateRaw>String</BirthDateRaw>
      <Country>String</Country>
      <CreatedDate>0001-01-01T00:00:00</CreatedDate>
      <Culture>String</Culture>
      <DigestHA1Hash>String</DigestHA1Hash>
      <DisplayName>String</DisplayName>
      <Email>String</Email>
      <FirstName>String</FirstName>
      <FullName>String</FullName>
      <Gender>String</Gender>
      <Id>0</Id>
      <Language>String</Language>
      <LastName>String</LastName>
      <MailAddress>String</MailAddress>
      <Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </Meta>
      <ModifiedDate>0001-01-01T00:00:00</ModifiedDate>
      <Nickname>String</Nickname>
      <PasswordHash>String</PasswordHash>
      <Permissions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Permissions>
      <PostalCode>String</PostalCode>
      <PrimaryEmail>String</PrimaryEmail>
      <RefId>0</RefId>
      <RefIdStr>String</RefIdStr>
      <Roles xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Roles>
      <Salt>String</Salt>
      <TimeZone>String</TimeZone>
      <UserName>String</UserName>
    </UserAuth>
  </UserAuths>
  <UserSession xmlns:d2p1="http://schemas.datacontract.org/2004/07/SocialBootstrapApi.Models">
    <ReferrerUrl>String</ReferrerUrl>
    <Id>String</Id>
    <UserAuthId>String</UserAuthId>
    <UserAuthName>String</UserAuthName>
    <UserName>String</UserName>
    <TwitterUserId>String</TwitterUserId>
    <TwitterScreenName>String</TwitterScreenName>
    <FacebookUserId>String</FacebookUserId>
    <FacebookUserName>String</FacebookUserName>
    <FirstName>String</FirstName>
    <LastName>String</LastName>
    <DisplayName>String</DisplayName>
    <Email>String</Email>
    <PrimaryEmail>String</PrimaryEmail>
    <BirthDate>0001-01-01T00:00:00</BirthDate>
    <BirthDateRaw>String</BirthDateRaw>
    <Country>String</Country>
    <Culture>String</Culture>
    <FullName>String</FullName>
    <Gender>String</Gender>
    <Language>String</Language>
    <MailAddress>String</MailAddress>
    <Nickname>String</Nickname>
    <PostalCode>String</PostalCode>
    <TimeZone>String</TimeZone>
    <RequestTokenSecret>String</RequestTokenSecret>
    <CreatedAt>0001-01-01T00:00:00</CreatedAt>
    <LastModified>0001-01-01T00:00:00</LastModified>
    <ProviderOAuthAccess xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:anyType i:nil="true" />
    </ProviderOAuthAccess>
    <Roles xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Roles>
    <Permissions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Permissions>
    <IsAuthenticated>false</IsAuthenticated>
    <Sequence>String</Sequence>
    <d2p1:CustomId>String</d2p1:CustomId>
  </UserSession>
  <Users xmlns:d2p1="http://schemas.datacontract.org/2004/07/SocialBootstrapApi.Models">
    <d2p1:User>
      <d2p1:DisplayName>String</d2p1:DisplayName>
      <d2p1:Email>String</d2p1:Email>
      <d2p1:FacebookEmail>String</d2p1:FacebookEmail>
      <d2p1:FacebookFirstName>String</d2p1:FacebookFirstName>
      <d2p1:FacebookLastName>String</d2p1:FacebookLastName>
      <d2p1:FacebookName>String</d2p1:FacebookName>
      <d2p1:FacebookUserId>String</d2p1:FacebookUserId>
      <d2p1:FacebookUserName>String</d2p1:FacebookUserName>
      <d2p1:GoogleEmail>String</d2p1:GoogleEmail>
      <d2p1:GoogleFullName>String</d2p1:GoogleFullName>
      <d2p1:GoogleUserId>String</d2p1:GoogleUserId>
      <d2p1:GravatarImageUrl64>String</d2p1:GravatarImageUrl64>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:TwitterName>String</d2p1:TwitterName>
      <d2p1:TwitterScreenName>String</d2p1:TwitterScreenName>
      <d2p1:TwitterUserId>String</d2p1:TwitterUserId>
      <d2p1:UserName>String</d2p1:UserName>
      <d2p1:YahooEmail>String</d2p1:YahooEmail>
      <d2p1:YahooFullName>String</d2p1:YahooFullName>
      <d2p1:YahooUserId>String</d2p1:YahooUserId>
    </d2p1:User>
  </Users>
</UserAuthsResponse>

    </soap:Body>
</soap:Envelope>