My Service

<back to all web services

RequestLogs

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

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?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/RequestLogs HTTP/1.1 
Host: fontanas.net 
Content-Type: application/xml
Content-Length: length

<RequestLogs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <BeforeSecs>0</BeforeSecs>
  <AfterSecs>0</AfterSecs>
  <IpAddress>String</IpAddress>
  <ForwardedFor>String</ForwardedFor>
  <UserAuthId>String</UserAuthId>
  <SessionId>String</SessionId>
  <Referer>String</Referer>
  <PathInfo>String</PathInfo>
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>0</d2p1:long>
  </Ids>
  <BeforeId>0</BeforeId>
  <AfterId>0</AfterId>
  <HasResponse>false</HasResponse>
  <WithErrors>false</WithErrors>
  <Skip>0</Skip>
  <Take>0</Take>
  <EnableSessionTracking>false</EnableSessionTracking>
  <EnableResponseTracking>false</EnableResponseTracking>
  <EnableErrorTracking>false</EnableErrorTracking>
  <DurationLongerThan>PT0S</DurationLongerThan>
  <DurationLessThan>PT0S</DurationLessThan>
</RequestLogs>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<RequestLogsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Results>
    <RequestLogEntry>
      <AbsoluteUri>String</AbsoluteUri>
      <DateTime>0001-01-01T00:00:00</DateTime>
      <ErrorResponse />
      <FormData xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </FormData>
      <ForwardedFor>String</ForwardedFor>
      <Headers xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </Headers>
      <HttpMethod>String</HttpMethod>
      <Id>0</Id>
      <IpAddress>String</IpAddress>
      <Items xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </Items>
      <PathInfo>String</PathInfo>
      <Referer>String</Referer>
      <RequestBody>String</RequestBody>
      <RequestDto />
      <RequestDuration>PT0S</RequestDuration>
      <ResponseDto />
      <Session />
      <SessionId>String</SessionId>
      <UserAuthId>String</UserAuthId>
    </RequestLogEntry>
  </Results>
  <Usage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Usage>
  <ResponseStatus>
    <ErrorCode>String</ErrorCode>
    <Message>String</Message>
    <StackTrace>String</StackTrace>
    <Errors>
      <ResponseError>
        <ErrorCode>String</ErrorCode>
        <FieldName>String</FieldName>
        <Message>String</Message>
      </ResponseError>
    </Errors>
  </ResponseStatus>
</RequestLogsResponse>