StarterTemplate ASP.NET Host

<back to all web services

Author

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

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

<Author xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Active>false</Active>
  <Birthday>0001-01-01T00:00:00</Birthday>
  <City>String</City>
  <Comments>String</Comments>
  <Earnings>0</Earnings>
  <Id>0</Id>
  <LastActivity>0001-01-01T00:00:00</LastActivity>
  <Name>String</Name>
  <Rate>0</Rate>
</Author>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AuthorResponse 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>
  <Results1>
    <Author>
      <Active>false</Active>
      <Birthday>0001-01-01T00:00:00</Birthday>
      <City>String</City>
      <Comments>String</Comments>
      <Earnings>0</Earnings>
      <Id>0</Id>
      <LastActivity>0001-01-01T00:00:00</LastActivity>
      <Name>String</Name>
      <Rate>0</Rate>
    </Author>
  </Results1>
  <Results2>
    <Author>
      <Active>false</Active>
      <Birthday>0001-01-01T00:00:00</Birthday>
      <City>String</City>
      <Comments>String</Comments>
      <Earnings>0</Earnings>
      <Id>0</Id>
      <LastActivity>0001-01-01T00:00:00</LastActivity>
      <Name>String</Name>
      <Rate>0</Rate>
    </Author>
  </Results2>
  <Results3>
    <Author>
      <Active>false</Active>
      <Birthday>0001-01-01T00:00:00</Birthday>
      <City>String</City>
      <Comments>String</Comments>
      <Earnings>0</Earnings>
      <Id>0</Id>
      <LastActivity>0001-01-01T00:00:00</LastActivity>
      <Name>String</Name>
      <Rate>0</Rate>
    </Author>
  </Results3>
  <Results4>
    <Author>
      <Active>false</Active>
      <Birthday>0001-01-01T00:00:00</Birthday>
      <City>String</City>
      <Comments>String</Comments>
      <Earnings>0</Earnings>
      <Id>0</Id>
      <LastActivity>0001-01-01T00:00:00</LastActivity>
      <Name>String</Name>
      <Rate>0</Rate>
    </Author>
  </Results4>
  <Results5>
    <Author>
      <Active>false</Active>
      <Birthday>0001-01-01T00:00:00</Birthday>
      <City>String</City>
      <Comments>String</Comments>
      <Earnings>0</Earnings>
      <Id>0</Id>
      <LastActivity>0001-01-01T00:00:00</LastActivity>
      <Name>String</Name>
      <Rate>0</Rate>
    </Author>
  </Results5>
  <Results6>
    <Author>
      <Active>false</Active>
      <Birthday>0001-01-01T00:00:00</Birthday>
      <City>String</City>
      <Comments>String</Comments>
      <Earnings>0</Earnings>
      <Id>0</Id>
      <LastActivity>0001-01-01T00:00:00</LastActivity>
      <Name>String</Name>
      <Rate>0</Rate>
    </Author>
  </Results6>
  <Results7>
    <Author>
      <Active>false</Active>
      <Birthday>0001-01-01T00:00:00</Birthday>
      <City>String</City>
      <Comments>String</Comments>
      <Earnings>0</Earnings>
      <Id>0</Id>
      <LastActivity>0001-01-01T00:00:00</LastActivity>
      <Name>String</Name>
      <Rate>0</Rate>
    </Author>
  </Results7>
  <Results8>
    <Author>
      <Active>false</Active>
      <Birthday>0001-01-01T00:00:00</Birthday>
      <City>String</City>
      <Comments>String</Comments>
      <Earnings>0</Earnings>
      <Id>0</Id>
      <LastActivity>0001-01-01T00:00:00</LastActivity>
      <Name>String</Name>
      <Rate>0</Rate>
    </Author>
  </Results8>
</AuthorResponse>