StarterTemplate ASP.NET Host

<back to all web services

TwitterDirectMessages

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

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/TwitterDirectMessages HTTP/1.1 
Host: bootstrapapi.apphb.com 
Content-Type: application/xml
Content-Length: length

<TwitterDirectMessages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <MaxId>String</MaxId>
  <SinceId>String</SinceId>
  <Take>0</Take>
</TwitterDirectMessages>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<TwitterDirectMessagesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Results>
    <DirectMessage>
      <created_at>String</created_at>
      <id>0</id>
      <recipient>
        <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>
      </recipient>
      <recipient_id>0</recipient_id>
      <recipient_screen_name>String</recipient_screen_name>
      <sender>
        <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>
      </sender>
      <sender_id>0</sender_id>
      <sender_screen_name>String</sender_screen_name>
      <text>String</text>
    </DirectMessage>
  </Results>
</TwitterDirectMessagesResponse>