StarterTemplate ASP.NET Host

<back to all web services

TwitterUsers

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

HTTP + SOAP12

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

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

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

<TwitterUsers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <ScreenNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </ScreenNames>
  <UserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </UserIds>
</TwitterUsers>

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

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

<TwitterUsersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Results>
    <TwitterUser>
      <contributors_enabled>false</contributors_enabled>
      <created_at>String</created_at>
      <description>String</description>
      <favourites_count>0</favourites_count>
      <follow_request_sent>false</follow_request_sent>
      <followers_count>0</followers_count>
      <following>false</following>
      <friends_count>0</friends_count>
      <geo_enabled>false</geo_enabled>
      <id>String</id>
      <lang>String</lang>
      <location>String</location>
      <name>String</name>
      <notifications>false</notifications>
      <profile_background_color>String</profile_background_color>
      <profile_background_image_url>String</profile_background_image_url>
      <profile_background_tile>String</profile_background_tile>
      <profile_image_url>String</profile_image_url>
      <profile_link_color>String</profile_link_color>
      <profile_sidebar_border_color>String</profile_sidebar_border_color>
      <profile_sidebar_fill_color>String</profile_sidebar_fill_color>
      <profile_text_color>String</profile_text_color>
      <profile_use_background_image>String</profile_use_background_image>
      <protected>false</protected>
      <screen_name>String</screen_name>
      <status>
        <coordinates>
          <coordinates xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:double>0</d6p1:double>
          </coordinates>
          <type>String</type>
        </coordinates>
        <created_at>String</created_at>
        <entities>
          <hashtags>
            <HashTagEntity>
              <indicies xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:int>0</d8p1:int>
              </indicies>
              <text>String</text>
            </HashTagEntity>
          </hashtags>
          <media>
            <MediaEntity>
              <display_url>String</display_url>
              <expanded_url>String</expanded_url>
              <indices xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:int>0</d8p1:int>
              </indices>
              <media_url>String</media_url>
              <media_url_https>String</media_url_https>
              <sizes xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:KeyValueOfstringSizeEntityEdXdwojR>
                  <d8p1:Key>String</d8p1:Key>
                  <d8p1:Value>
                    <h>0</h>
                    <resize>String</resize>
                    <w>0</w>
                  </d8p1:Value>
                </d8p1:KeyValueOfstringSizeEntityEdXdwojR>
              </sizes>
              <type>String</type>
              <url>String</url>
            </MediaEntity>
          </media>
          <urls>
            <UrlEntity>
              <display_url>String</display_url>
              <expanded_url>String</expanded_url>
              <indices xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:int>0</d8p1:int>
              </indices>
              <url>String</url>
            </UrlEntity>
          </urls>
          <user_mentions>
            <UserMentionEntity>
              <id>0</id>
              <id_str>String</id_str>
              <indices xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:int>0</d8p1:int>
              </indices>
              <name>String</name>
              <screen_name>String</screen_name>
            </UserMentionEntity>
          </user_mentions>
        </entities>
        <favorited>false</favorited>
        <geo>
          <coordinates xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:double>0</d6p1:double>
          </coordinates>
          <type>String</type>
        </geo>
        <id>0</id>
        <in_reply_to_screen_name>String</in_reply_to_screen_name>
        <in_reply_to_status_id>0</in_reply_to_status_id>
        <in_reply_to_user_id>0</in_reply_to_user_id>
        <retweet_count>String</retweet_count>
        <retweeted>false</retweeted>
        <source>String</source>
        <text>String</text>
        <truncated>false</truncated>
        <user>
          <contributors_enabled>false</contributors_enabled>
          <created_at>String</created_at>
          <description>String</description>
          <favourites_count>0</favourites_count>
          <followers_count>0</followers_count>
          <friends_count>0</friends_count>
          <geo_enabled>false</geo_enabled>
          <id>String</id>
          <lang>String</lang>
          <location>String</location>
          <name>String</name>
          <notifications>false</notifications>
          <profile_background_color>String</profile_background_color>
          <profile_background_image_url>String</profile_background_image_url>
          <profile_background_tile>String</profile_background_tile>
          <profile_image_url>String</profile_image_url>
          <profile_link_color>String</profile_link_color>
          <profile_sidebar_border_color>String</profile_sidebar_border_color>
          <profile_sidebar_fill_color>String</profile_sidebar_fill_color>
          <profile_text_color>String</profile_text_color>
          <profile_use_background_image>String</profile_use_background_image>
          <protected>false</protected>
          <screen_name>String</screen_name>
          <statuses_count>0</statuses_count>
          <time_zone>String</time_zone>
          <url>String</url>
          <utc_offset>String</utc_offset>
          <verified>false</verified>
        </user>
      </status>
      <statuses_count>0</statuses_count>
      <time_zone>String</time_zone>
      <url>String</url>
      <utc_offset>String</utc_offset>
      <verified>false</verified>
    </TwitterUser>
  </Results>
</TwitterUsersResponse>

    </soap12:Body>
</soap12:Envelope>